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
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1330
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-70f0b4bbda858076082368730089673fe098f5a34713197ca0b25a04ab846ea5.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-0949687e9f167929aa470c71c09836722bf79d028e33182e44544328c534515b.yml
100 changes: 50 additions & 50 deletions src/cloudflare/resources/dns/firewall/firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,35 +89,35 @@ def create(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[FirewallCreateResponse]:
"""
Create a configured DNS Firewall Cluster.
Create a DNS Firewall cluster

Args:
account_id: Identifier

name: DNS Firewall Cluster Name.
name: DNS Firewall cluster name

attack_mitigation: Attack mitigation settings.
attack_mitigation: Attack mitigation settings

deprecate_any_requests: Deprecate the response to ANY requests.
deprecate_any_requests: Whether to refuse to answer queries for the ANY type

ecs_fallback: Forward client IP (resolver) subnet if no EDNS Client Subnet is sent.
ecs_fallback: Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent

maximum_cache_ttl: Maximum DNS cache TTL. This setting sets an upper bound on DNS TTLs for purposes
maximum_cache_ttl: Maximum DNS cache TTL This setting sets an upper bound on DNS TTLs for purposes
of caching between DNS Firewall and the upstream servers. Higher TTLs will be
decreased to the maximum defined here for caching purposes.

minimum_cache_ttl: Minimum DNS cache TTL. This setting sets a lower bound on DNS TTLs for purposes
minimum_cache_ttl: Minimum DNS cache TTL This setting sets a lower bound on DNS TTLs for purposes
of caching between DNS Firewall and the upstream servers. Lower TTLs will be
increased to the minimum defined here for caching purposes.

negative_cache_ttl: Negative DNS cache TTL. This setting controls how long DNS Firewall should cache
negative_cache_ttl: Negative DNS cache TTL This setting controls how long DNS Firewall should cache
negative responses (e.g., NXDOMAIN) from the upstream servers.

ratelimit: Ratelimit in queries per second per datacenter (applies to DNS queries sent to
the upstream nameservers configured on the cluster).
the upstream nameservers configured on the cluster)

retries: Number of retries for fetching DNS responses from upstream nameservers (not
counting the initial attempt).
counting the initial attempt)

extra_headers: Send extra headers

Expand Down Expand Up @@ -170,14 +170,14 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> SyncV4PagePaginationArray[FirewallListResponse]:
"""
List configured DNS Firewall clusters for an account.
List DNS Firewall clusters for an account

Args:
account_id: Identifier

page: Page number of paginated results.
page: Page number of paginated results

per_page: Number of clusters per page.
per_page: Number of clusters per page

extra_headers: Send extra headers

Expand Down Expand Up @@ -221,7 +221,7 @@ def delete(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[FirewallDeleteResponse]:
"""
Delete a configured DNS Firewall Cluster.
Delete a DNS Firewall cluster

Args:
account_id: Identifier
Expand Down Expand Up @@ -275,37 +275,37 @@ def edit(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[FirewallEditResponse]:
"""
Modify a DNS Firewall Cluster configuration.
Modify the configuration of a DNS Firewall cluster

Args:
account_id: Identifier

dns_firewall_id: Identifier

attack_mitigation: Attack mitigation settings.
attack_mitigation: Attack mitigation settings

deprecate_any_requests: Deprecate the response to ANY requests.
deprecate_any_requests: Whether to refuse to answer queries for the ANY type

ecs_fallback: Forward client IP (resolver) subnet if no EDNS Client Subnet is sent.
ecs_fallback: Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent

maximum_cache_ttl: Maximum DNS cache TTL. This setting sets an upper bound on DNS TTLs for purposes
maximum_cache_ttl: Maximum DNS cache TTL This setting sets an upper bound on DNS TTLs for purposes
of caching between DNS Firewall and the upstream servers. Higher TTLs will be
decreased to the maximum defined here for caching purposes.

minimum_cache_ttl: Minimum DNS cache TTL. This setting sets a lower bound on DNS TTLs for purposes
minimum_cache_ttl: Minimum DNS cache TTL This setting sets a lower bound on DNS TTLs for purposes
of caching between DNS Firewall and the upstream servers. Lower TTLs will be
increased to the minimum defined here for caching purposes.

name: DNS Firewall Cluster Name.
name: DNS Firewall cluster name

negative_cache_ttl: Negative DNS cache TTL. This setting controls how long DNS Firewall should cache
negative_cache_ttl: Negative DNS cache TTL This setting controls how long DNS Firewall should cache
negative responses (e.g., NXDOMAIN) from the upstream servers.

ratelimit: Ratelimit in queries per second per datacenter (applies to DNS queries sent to
the upstream nameservers configured on the cluster).
the upstream nameservers configured on the cluster)

retries: Number of retries for fetching DNS responses from upstream nameservers (not
counting the initial attempt).
counting the initial attempt)

extra_headers: Send extra headers

Expand Down Expand Up @@ -359,7 +359,7 @@ def get(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[FirewallGetResponse]:
"""
Show a single configured DNS Firewall cluster for an account.
Show a single DNS Firewall cluster for an account

Args:
account_id: Identifier
Expand Down Expand Up @@ -437,35 +437,35 @@ async def create(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[FirewallCreateResponse]:
"""
Create a configured DNS Firewall Cluster.
Create a DNS Firewall cluster

Args:
account_id: Identifier

name: DNS Firewall Cluster Name.
name: DNS Firewall cluster name

attack_mitigation: Attack mitigation settings.
attack_mitigation: Attack mitigation settings

deprecate_any_requests: Deprecate the response to ANY requests.
deprecate_any_requests: Whether to refuse to answer queries for the ANY type

ecs_fallback: Forward client IP (resolver) subnet if no EDNS Client Subnet is sent.
ecs_fallback: Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent

maximum_cache_ttl: Maximum DNS cache TTL. This setting sets an upper bound on DNS TTLs for purposes
maximum_cache_ttl: Maximum DNS cache TTL This setting sets an upper bound on DNS TTLs for purposes
of caching between DNS Firewall and the upstream servers. Higher TTLs will be
decreased to the maximum defined here for caching purposes.

minimum_cache_ttl: Minimum DNS cache TTL. This setting sets a lower bound on DNS TTLs for purposes
minimum_cache_ttl: Minimum DNS cache TTL This setting sets a lower bound on DNS TTLs for purposes
of caching between DNS Firewall and the upstream servers. Lower TTLs will be
increased to the minimum defined here for caching purposes.

negative_cache_ttl: Negative DNS cache TTL. This setting controls how long DNS Firewall should cache
negative_cache_ttl: Negative DNS cache TTL This setting controls how long DNS Firewall should cache
negative responses (e.g., NXDOMAIN) from the upstream servers.

ratelimit: Ratelimit in queries per second per datacenter (applies to DNS queries sent to
the upstream nameservers configured on the cluster).
the upstream nameservers configured on the cluster)

retries: Number of retries for fetching DNS responses from upstream nameservers (not
counting the initial attempt).
counting the initial attempt)

extra_headers: Send extra headers

Expand Down Expand Up @@ -518,14 +518,14 @@ def list(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> AsyncPaginator[FirewallListResponse, AsyncV4PagePaginationArray[FirewallListResponse]]:
"""
List configured DNS Firewall clusters for an account.
List DNS Firewall clusters for an account

Args:
account_id: Identifier

page: Page number of paginated results.
page: Page number of paginated results

per_page: Number of clusters per page.
per_page: Number of clusters per page

extra_headers: Send extra headers

Expand Down Expand Up @@ -569,7 +569,7 @@ async def delete(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[FirewallDeleteResponse]:
"""
Delete a configured DNS Firewall Cluster.
Delete a DNS Firewall cluster

Args:
account_id: Identifier
Expand Down Expand Up @@ -623,37 +623,37 @@ async def edit(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[FirewallEditResponse]:
"""
Modify a DNS Firewall Cluster configuration.
Modify the configuration of a DNS Firewall cluster

Args:
account_id: Identifier

dns_firewall_id: Identifier

attack_mitigation: Attack mitigation settings.
attack_mitigation: Attack mitigation settings

deprecate_any_requests: Deprecate the response to ANY requests.
deprecate_any_requests: Whether to refuse to answer queries for the ANY type

ecs_fallback: Forward client IP (resolver) subnet if no EDNS Client Subnet is sent.
ecs_fallback: Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent

maximum_cache_ttl: Maximum DNS cache TTL. This setting sets an upper bound on DNS TTLs for purposes
maximum_cache_ttl: Maximum DNS cache TTL This setting sets an upper bound on DNS TTLs for purposes
of caching between DNS Firewall and the upstream servers. Higher TTLs will be
decreased to the maximum defined here for caching purposes.

minimum_cache_ttl: Minimum DNS cache TTL. This setting sets a lower bound on DNS TTLs for purposes
minimum_cache_ttl: Minimum DNS cache TTL This setting sets a lower bound on DNS TTLs for purposes
of caching between DNS Firewall and the upstream servers. Lower TTLs will be
increased to the minimum defined here for caching purposes.

name: DNS Firewall Cluster Name.
name: DNS Firewall cluster name

negative_cache_ttl: Negative DNS cache TTL. This setting controls how long DNS Firewall should cache
negative_cache_ttl: Negative DNS cache TTL This setting controls how long DNS Firewall should cache
negative responses (e.g., NXDOMAIN) from the upstream servers.

ratelimit: Ratelimit in queries per second per datacenter (applies to DNS queries sent to
the upstream nameservers configured on the cluster).
the upstream nameservers configured on the cluster)

retries: Number of retries for fetching DNS responses from upstream nameservers (not
counting the initial attempt).
counting the initial attempt)

extra_headers: Send extra headers

Expand Down Expand Up @@ -707,7 +707,7 @@ async def get(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[FirewallGetResponse]:
"""
Show a single configured DNS Firewall cluster for an account.
Show a single DNS Firewall cluster for an account

Args:
account_id: Identifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ def get(
produced.

Args:
account_id: Identifier
account_id: Identifier.

bucket_name: Identifier
bucket_name: Identifier.

extra_headers: Send extra headers

Expand Down Expand Up @@ -141,9 +141,9 @@ async def get(
produced.

Args:
account_id: Identifier
account_id: Identifier.

bucket_name: Identifier
bucket_name: Identifier.

extra_headers: Send extra headers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ def update(
production.

Args:
account_id: Identifier
account_id: Identifier.

bucket_name: Identifier
bucket_name: Identifier.

queue_id: Identifier
queue_id: Identifier.

rules: Array of rules to drive notifications

Expand Down Expand Up @@ -121,11 +121,11 @@ def delete(
further notifications will be produced for the queue once complete.

Args:
account_id: Identifier
account_id: Identifier.

bucket_name: Identifier
bucket_name: Identifier.

queue_id: Identifier
queue_id: Identifier.

extra_headers: Send extra headers

Expand Down Expand Up @@ -198,11 +198,11 @@ async def update(
production.

Args:
account_id: Identifier
account_id: Identifier.

bucket_name: Identifier
bucket_name: Identifier.

queue_id: Identifier
queue_id: Identifier.

rules: Array of rules to drive notifications

Expand Down Expand Up @@ -252,11 +252,11 @@ async def delete(
further notifications will be produced for the queue once complete.

Args:
account_id: Identifier
account_id: Identifier.

bucket_name: Identifier
bucket_name: Identifier.

queue_id: Identifier
queue_id: Identifier.

extra_headers: Send extra headers

Expand Down
Loading