Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 1681
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-2d44330438e959758adf2d5a129bd46cb2044100c92fb022a3f75ee61369c555.yml
openapi_spec_hash: 8af62da36b36de1a4c92af3064b0be6d
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-dd364036549a1c758a9eb75f30d2732cdeeb5baf6c1b893fff690c22a0d069b2.yml
openapi_spec_hash: 14a1e49ec7f9ac42e0fa0fb30b25058c
config_hash: 5f546b68dc187cd0f2fea2d9ae061b3b
32 changes: 16 additions & 16 deletions src/cloudflare/resources/dns_firewall/dns_firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def create(
Create a DNS Firewall cluster

Args:
account_id: Identifier
account_id: Identifier.

name: DNS Firewall cluster name

Expand Down Expand Up @@ -188,7 +188,7 @@ def list(
List DNS Firewall clusters for an account

Args:
account_id: Identifier
account_id: Identifier.

page: Page number of paginated results

Expand Down Expand Up @@ -239,9 +239,9 @@ def delete(
Delete a DNS Firewall cluster

Args:
account_id: Identifier
account_id: Identifier.

dns_firewall_id: Identifier
dns_firewall_id: Identifier.

extra_headers: Send extra headers

Expand Down Expand Up @@ -293,9 +293,9 @@ def edit(
Modify the configuration of a DNS Firewall cluster

Args:
account_id: Identifier
account_id: Identifier.

dns_firewall_id: Identifier
dns_firewall_id: Identifier.

attack_mitigation: Attack mitigation settings

Expand Down Expand Up @@ -377,9 +377,9 @@ def get(
Show a single DNS Firewall cluster for an account

Args:
account_id: Identifier
account_id: Identifier.

dns_firewall_id: Identifier
dns_firewall_id: Identifier.

extra_headers: Send extra headers

Expand Down Expand Up @@ -459,7 +459,7 @@ async def create(
Create a DNS Firewall cluster

Args:
account_id: Identifier
account_id: Identifier.

name: DNS Firewall cluster name

Expand Down Expand Up @@ -540,7 +540,7 @@ def list(
List DNS Firewall clusters for an account

Args:
account_id: Identifier
account_id: Identifier.

page: Page number of paginated results

Expand Down Expand Up @@ -591,9 +591,9 @@ async def delete(
Delete a DNS Firewall cluster

Args:
account_id: Identifier
account_id: Identifier.

dns_firewall_id: Identifier
dns_firewall_id: Identifier.

extra_headers: Send extra headers

Expand Down Expand Up @@ -645,9 +645,9 @@ async def edit(
Modify the configuration of a DNS Firewall cluster

Args:
account_id: Identifier
account_id: Identifier.

dns_firewall_id: Identifier
dns_firewall_id: Identifier.

attack_mitigation: Attack mitigation settings

Expand Down Expand Up @@ -729,9 +729,9 @@ async def get(
Show a single DNS Firewall cluster for an account

Args:
account_id: Identifier
account_id: Identifier.

dns_firewall_id: Identifier
dns_firewall_id: Identifier.

extra_headers: Send extra headers

Expand Down
16 changes: 8 additions & 8 deletions src/cloudflare/resources/dns_firewall/reverse_dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ def edit(
Update reverse DNS configuration (PTR records) for a DNS Firewall cluster

Args:
account_id: Identifier
account_id: Identifier.

dns_firewall_id: Identifier
dns_firewall_id: Identifier.

ptr: Map of cluster IP addresses to PTR record contents

Expand Down Expand Up @@ -112,9 +112,9 @@ def get(
Show reverse DNS configuration (PTR records) for a DNS Firewall cluster

Args:
account_id: Identifier
account_id: Identifier.

dns_firewall_id: Identifier
dns_firewall_id: Identifier.

extra_headers: Send extra headers

Expand Down Expand Up @@ -178,9 +178,9 @@ async def edit(
Update reverse DNS configuration (PTR records) for a DNS Firewall cluster

Args:
account_id: Identifier
account_id: Identifier.

dns_firewall_id: Identifier
dns_firewall_id: Identifier.

ptr: Map of cluster IP addresses to PTR record contents

Expand Down Expand Up @@ -225,9 +225,9 @@ async def get(
Show reverse DNS configuration (PTR records) for a DNS Firewall cluster

Args:
account_id: Identifier
account_id: Identifier.

dns_firewall_id: Identifier
dns_firewall_id: Identifier.

extra_headers: Send extra headers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class DNSFirewallCreateParams(TypedDict, total=False):
account_id: Required[str]
"""Identifier"""
"""Identifier."""

name: Required[str]
"""DNS Firewall cluster name"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class DNSFirewallCreateResponse(BaseModel):
id: str
"""Identifier"""
"""Identifier."""

deprecate_any_requests: bool
"""Whether to refuse to answer queries for the ANY type"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

class DNSFirewallDeleteResponse(BaseModel):
id: Optional[str] = None
"""Identifier"""
"""Identifier."""
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class DNSFirewallEditParams(TypedDict, total=False):
account_id: Required[str]
"""Identifier"""
"""Identifier."""

attack_mitigation: Optional[AttackMitigationParam]
"""Attack mitigation settings"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class DNSFirewallEditResponse(BaseModel):
id: str
"""Identifier"""
"""Identifier."""

deprecate_any_requests: bool
"""Whether to refuse to answer queries for the ANY type"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class DNSFirewallGetResponse(BaseModel):
id: str
"""Identifier"""
"""Identifier."""

deprecate_any_requests: bool
"""Whether to refuse to answer queries for the ANY type"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class DNSFirewallListParams(TypedDict, total=False):
account_id: Required[str]
"""Identifier"""
"""Identifier."""

page: float
"""Page number of paginated results"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class DNSFirewallListResponse(BaseModel):
id: str
"""Identifier"""
"""Identifier."""

deprecate_any_requests: bool
"""Whether to refuse to answer queries for the ANY type"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class ReverseDNSEditParams(TypedDict, total=False):
account_id: Required[str]
"""Identifier"""
"""Identifier."""

ptr: Dict[str, str]
"""Map of cluster IP addresses to PTR record contents"""