mirror of
https://github.com/cloudflare/cloudflare-python.git
synced 2026-01-16 23:01:03 +00:00
feat(api): OpenAPI spec update via Stainless API (#1190)
This commit is contained in:
parent
c309481bf9
commit
a2955c5da1
5 changed files with 84 additions and 22 deletions
|
|
@ -1,2 +1,2 @@
|
|||
configured_endpoints: 1256
|
||||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-8698fc16cc1cd7549c7f51bf3f3118b80e198b25fee1f20e4aaeb226608dafd1.yml
|
||||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-129ae207bac48d5f0a569cefeb5ff52209e7ef746666eb4e8f72aeb08a7748aa.yml
|
||||
|
|
|
|||
|
|
@ -89,11 +89,16 @@ class FirewallResource(SyncAPIResource):
|
|||
|
||||
ecs_fallback: Forward client IP (resolver) subnet if no EDNS Client Subnet is sent.
|
||||
|
||||
maximum_cache_ttl: Maximum DNS Cache TTL.
|
||||
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.
|
||||
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.
|
||||
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).
|
||||
|
|
@ -272,15 +277,20 @@ class FirewallResource(SyncAPIResource):
|
|||
|
||||
ecs_fallback: Forward client IP (resolver) subnet if no EDNS Client Subnet is sent.
|
||||
|
||||
maximum_cache_ttl: Maximum DNS Cache TTL.
|
||||
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.
|
||||
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.
|
||||
|
||||
attack_mitigation: Attack mitigation settings.
|
||||
|
||||
negative_cache_ttl: Negative DNS Cache TTL.
|
||||
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).
|
||||
|
|
@ -422,11 +432,16 @@ class AsyncFirewallResource(AsyncAPIResource):
|
|||
|
||||
ecs_fallback: Forward client IP (resolver) subnet if no EDNS Client Subnet is sent.
|
||||
|
||||
maximum_cache_ttl: Maximum DNS Cache TTL.
|
||||
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.
|
||||
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.
|
||||
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).
|
||||
|
|
@ -605,15 +620,20 @@ class AsyncFirewallResource(AsyncAPIResource):
|
|||
|
||||
ecs_fallback: Forward client IP (resolver) subnet if no EDNS Client Subnet is sent.
|
||||
|
||||
maximum_cache_ttl: Maximum DNS Cache TTL.
|
||||
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.
|
||||
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.
|
||||
|
||||
attack_mitigation: Attack mitigation settings.
|
||||
|
||||
negative_cache_ttl: Negative DNS Cache TTL.
|
||||
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).
|
||||
|
|
|
|||
|
|
@ -24,10 +24,20 @@ class Firewall(BaseModel):
|
|||
"""Forward client IP (resolver) subnet if no EDNS Client Subnet is sent."""
|
||||
|
||||
maximum_cache_ttl: float
|
||||
"""Maximum DNS 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: float
|
||||
"""Minimum DNS 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.
|
||||
"""
|
||||
|
||||
modified_on: datetime
|
||||
"""Last modification of DNS Firewall cluster."""
|
||||
|
|
@ -41,7 +51,11 @@ class Firewall(BaseModel):
|
|||
"""Attack mitigation settings."""
|
||||
|
||||
negative_cache_ttl: Optional[float] = None
|
||||
"""Negative DNS 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: Optional[float] = None
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -30,13 +30,27 @@ class FirewallCreateParams(TypedDict, total=False):
|
|||
"""Forward client IP (resolver) subnet if no EDNS Client Subnet is sent."""
|
||||
|
||||
maximum_cache_ttl: float
|
||||
"""Maximum DNS 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: float
|
||||
"""Minimum DNS 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: Optional[float]
|
||||
"""Negative DNS 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: Optional[float]
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -28,10 +28,20 @@ class FirewallEditParams(TypedDict, total=False):
|
|||
"""Forward client IP (resolver) subnet if no EDNS Client Subnet is sent."""
|
||||
|
||||
maximum_cache_ttl: Required[float]
|
||||
"""Maximum DNS 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: Required[float]
|
||||
"""Minimum DNS 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: Required[str]
|
||||
"""DNS Firewall Cluster Name."""
|
||||
|
|
@ -42,7 +52,11 @@ class FirewallEditParams(TypedDict, total=False):
|
|||
"""Attack mitigation settings."""
|
||||
|
||||
negative_cache_ttl: Optional[float]
|
||||
"""Negative DNS 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: Optional[float]
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue