cloudflare-python/api.md
2024-04-24 04:36:26 +00:00

497 KiB

Shared Types

from cloudflare.types import ErrorData

Accounts

Types:

from cloudflare.types import Account, AccountUpdateResponse, AccountListResponse, AccountGetResponse

Methods:

Members

Types:

from cloudflare.types.accounts import (
    AccountMember,
    AccountMemberWithID,
    RolePermissionGrants,
    MemberListResponse,
    MemberDeleteResponse,
)

Methods:

Roles

Types:

from cloudflare.types.accounts import Role, RoleGetResponse

Methods:

OriginCACertificates

Types:

from cloudflare.types import (
    OriginCACertificate,
    OriginCACertificateCreateResponse,
    OriginCACertificateDeleteResponse,
    OriginCACertificateGetResponse,
)

Methods:

IPs

Types:

from cloudflare.types import IPs, JDCloudIPs, IPListResponse

Methods:

Memberships

Types:

from cloudflare.types import (
    Membership,
    MembershipUpdateResponse,
    MembershipDeleteResponse,
    MembershipGetResponse,
)

Methods:

UserResource

Types:

from cloudflare.types import User, UserEditResponse, UserGetResponse

Methods:

AuditLogs

Types:

from cloudflare.types.user import AuditLogListResponse

Methods:

Billing

History

Types:

from cloudflare.types.user.billing import BillingHistory, HistoryGetResponse

Methods:

Profile

Types:

from cloudflare.types.user.billing import ProfileGetResponse

Methods:

Firewall

AccessRules

Types:

from cloudflare.types.user.firewall import FirewallRule, AccessRuleDeleteResponse

Methods:

Invites

Types:

from cloudflare.types.user import (
    UserInvite,
    InviteListResponse,
    InviteEditResponse,
    InviteGetResponse,
)

Methods:

LoadBalancers

Monitors

Types:

from cloudflare.types.user.load_balancers import (
    LoadBalancingMonitor,
    MonitorDeleteResponse,
    MonitorPreviewResponse,
    MonitorReferencesResponse,
)

Methods:

Pools

Types:

from cloudflare.types.user.load_balancers import (
    LoadBalancingPool,
    PoolDeleteResponse,
    PoolHealthResponse,
    PoolPreviewResponse,
    PoolReferencesResponse,
)

Methods:

Preview

Types:

from cloudflare.types.user.load_balancers import LoadBalancingPreview

Methods:

Analytics

Events

Types:

from cloudflare.types.user.load_balancers.analytics import LoadBalancingAnalytics

Methods:

Organizations

Types:

from cloudflare.types.user import Organization, OrganizationDeleteResponse, OrganizationGetResponse

Methods:

Subscriptions

Types:

from cloudflare.types.user import (
    Subscription,
    SubscriptionUpdateResponse,
    SubscriptionDeleteResponse,
    SubscriptionEditResponse,
    SubscriptionGetResponse,
)

Methods:

Tokens

Types:

from cloudflare.types.user import (
    TokenCreateResponse,
    TokenUpdateResponse,
    TokenListResponse,
    TokenDeleteResponse,
    TokenGetResponse,
    TokenVerifyResponse,
)

Methods:

PermissionGroups

Types:

from cloudflare.types.user.tokens import PermissionGroupListResponse

Methods:

Value

Types:

from cloudflare.types.user.tokens import TokenValue

Methods:

Zones

Types:

from cloudflare.types import Zone, ZoneDeleteResponse

Methods:

ActivationCheck

Types:

from cloudflare.types.zones import ActivationCheckTriggerResponse

Methods:

DNSSettings

Types:

from cloudflare.types.zones import DNSSettingEditResponse, DNSSettingGetResponse

Methods:

Settings

Types:

from cloudflare.types.zones import SettingEditResponse, SettingGetResponse

Methods:

ZeroRTT

Types:

from cloudflare.types.zones.settings import ZoneSetting0rtt

Methods:

AdvancedDDoS

Types:

from cloudflare.types.zones.settings import ZoneSettingAdvancedDDoS

Methods:

  • client.zones.settings.advanced_ddos.get(*, zone_id) -> Optional

AlwaysOnline

Types:

from cloudflare.types.zones.settings import ZoneSettingAlwaysOnline

Methods:

AlwaysUseHTTPS

Types:

from cloudflare.types.zones.settings import ZoneSettingAlwaysUseHTTPS

Methods:

  • client.zones.settings.always_use_https.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.always_use_https.get(*, zone_id) -> Optional

AutomaticHTTPSRewrites

Types:

from cloudflare.types.zones.settings import ZoneSettingAutomaticHTTPSRewrites

Methods:

  • client.zones.settings.automatic_https_rewrites.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.automatic_https_rewrites.get(*, zone_id) -> Optional

AutomaticPlatformOptimization

Types:

from cloudflare.types.zones.settings import ZoneSettingAutomaticPlatformOptimization

Methods:

  • client.zones.settings.automatic_platform_optimization.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.automatic_platform_optimization.get(*, zone_id) -> Optional

Brotli

Types:

from cloudflare.types.zones.settings import ZoneSettingBrotli

Methods:

BrowserCacheTTL

Types:

from cloudflare.types.zones.settings import ZoneSettingBrowserCacheTTL

Methods:

  • client.zones.settings.browser_cache_ttl.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.browser_cache_ttl.get(*, zone_id) -> Optional

BrowserCheck

Types:

from cloudflare.types.zones.settings import ZoneSettingBrowserCheck

Methods:

CacheLevel

Types:

from cloudflare.types.zones.settings import ZoneSettingCacheLevel

Methods:

ChallengeTTL

Types:

from cloudflare.types.zones.settings import ZoneSettingChallengeTTL

Methods:

Ciphers

Types:

from cloudflare.types.zones.settings import ZoneSettingCiphers

Methods:

DevelopmentMode

Types:

from cloudflare.types.zones.settings import ZoneSettingDevelopmentMode

Methods:

  • client.zones.settings.development_mode.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.development_mode.get(*, zone_id) -> Optional

EarlyHints

Types:

from cloudflare.types.zones.settings import ZoneSettingEarlyHints

Methods:

EmailObfuscation

Types:

from cloudflare.types.zones.settings import ZoneSettingEmailObfuscation

Methods:

  • client.zones.settings.email_obfuscation.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.email_obfuscation.get(*, zone_id) -> Optional

H2Prioritization

Types:

from cloudflare.types.zones.settings import ZoneSettingH2Prioritization

Methods:

  • client.zones.settings.h2_prioritization.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.h2_prioritization.get(*, zone_id) -> Optional

HotlinkProtection

Types:

from cloudflare.types.zones.settings import ZoneSettingHotlinkProtection

Methods:

  • client.zones.settings.hotlink_protection.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.hotlink_protection.get(*, zone_id) -> Optional

HTTP2

Types:

from cloudflare.types.zones.settings import ZoneSettingHTTP2

Methods:

HTTP3

Types:

from cloudflare.types.zones.settings import ZoneSettingHTTP3

Methods:

ImageResizing

Types:

from cloudflare.types.zones.settings import ZoneSettingImageResizing

Methods:

IPGeolocation

Types:

from cloudflare.types.zones.settings import ZoneSettingIPGeolocation

Methods:

IPV6

Types:

from cloudflare.types.zones.settings import ZoneSettingIPV6

Methods:

MinTLSVersion

Types:

from cloudflare.types.zones.settings import ZoneSettingMinTLSVersion

Methods:

Minify

Types:

from cloudflare.types.zones.settings import ZoneSettingMinify

Methods:

Mirage

Types:

from cloudflare.types.zones.settings import ZoneSettingMirage

Methods:

MobileRedirect

Types:

from cloudflare.types.zones.settings import ZoneSettingMobileRedirect

Methods:

NEL

Types:

from cloudflare.types.zones.settings import ZoneSettingNEL

Methods:

OpportunisticEncryption

Types:

from cloudflare.types.zones.settings import ZoneSettingOpportunisticEncryption

Methods:

  • client.zones.settings.opportunistic_encryption.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.opportunistic_encryption.get(*, zone_id) -> Optional

OpportunisticOnion

Types:

from cloudflare.types.zones.settings import ZoneSettingOpportunisticOnion

Methods:

  • client.zones.settings.opportunistic_onion.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.opportunistic_onion.get(*, zone_id) -> Optional

OrangeToOrange

Types:

from cloudflare.types.zones.settings import ZoneSettingOrangeToOrange

Methods:

  • client.zones.settings.orange_to_orange.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.orange_to_orange.get(*, zone_id) -> Optional

OriginErrorPagePassThru

Types:

from cloudflare.types.zones.settings import ZoneSettingOriginErrorPagePassThru

Methods:

  • client.zones.settings.origin_error_page_pass_thru.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.origin_error_page_pass_thru.get(*, zone_id) -> Optional

OriginMaxHTTPVersion

Types:

from cloudflare.types.zones.settings import (
    OriginMaxHTTPVersionEditResponse,
    OriginMaxHTTPVersionGetResponse,
)

Methods:

Polish

Types:

from cloudflare.types.zones.settings import ZoneSettingPolish

Methods:

PrefetchPreload

Types:

from cloudflare.types.zones.settings import ZoneSettingPrefetchPreload

Methods:

  • client.zones.settings.prefetch_preload.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.prefetch_preload.get(*, zone_id) -> Optional

ProxyReadTimeout

Types:

from cloudflare.types.zones.settings import ZoneSettingProxyReadTimeout

Methods:

  • client.zones.settings.proxy_read_timeout.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.proxy_read_timeout.get(*, zone_id) -> Optional

PseudoIPV4

Types:

from cloudflare.types.zones.settings import ZoneSettingPseudoIPV4

Methods:

ResponseBuffering

Types:

from cloudflare.types.zones.settings import ZoneSettingBuffering

Methods:

  • client.zones.settings.response_buffering.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.response_buffering.get(*, zone_id) -> Optional

RocketLoader

Types:

from cloudflare.types.zones.settings import ZoneSettingRocketLoader

Methods:

SecurityHeaders

Types:

from cloudflare.types.zones.settings import ZoneSettingSecurityHeader

Methods:

  • client.zones.settings.security_headers.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.security_headers.get(*, zone_id) -> Optional

SecurityLevel

Types:

from cloudflare.types.zones.settings import ZoneSettingSecurityLevel

Methods:

ServerSideExcludes

Types:

from cloudflare.types.zones.settings import ZoneSettingServerSideExclude

Methods:

  • client.zones.settings.server_side_excludes.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.server_side_excludes.get(*, zone_id) -> Optional

SortQueryStringForCache

Types:

from cloudflare.types.zones.settings import ZoneSettingSortQueryStringForCache

Methods:

  • client.zones.settings.sort_query_string_for_cache.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.sort_query_string_for_cache.get(*, zone_id) -> Optional

SSL

Types:

from cloudflare.types.zones.settings import ZoneSettingSSL

Methods:

SSLRecommender

Types:

from cloudflare.types.zones.settings import ZoneSettingSSLRecommender

Methods:

TLS1_3

Types:

from cloudflare.types.zones.settings import ZoneSettingTLS1_3

Methods:

TLSClientAuth

Types:

from cloudflare.types.zones.settings import ZoneSettingTLSClientAuth

Methods:

TrueClientIPHeader

Types:

from cloudflare.types.zones.settings import ZoneSettingTrueClientIPHeader

Methods:

  • client.zones.settings.true_client_ip_header.edit(*, zone_id, **params) -> Optional
  • client.zones.settings.true_client_ip_header.get(*, zone_id) -> Optional

WAF

Types:

from cloudflare.types.zones.settings import ZoneSettingWAF

Methods:

WebP

Types:

from cloudflare.types.zones.settings import ZoneSettingWebP

Methods:

Websocket

Types:

from cloudflare.types.zones.settings import ZoneSettingWebsockets

Methods:

FontSettings

Types:

from cloudflare.types.zones.settings import ZoneSettingFonts

Methods:

CustomNameservers

Types:

from cloudflare.types.zones import CustomNameserverUpdateResponse, CustomNameserverGetResponse

Methods:

Holds

Types:

from cloudflare.types.zones import HoldCreateResponse, HoldDeleteResponse, HoldGetResponse

Methods:

Workers

Script

Types:

from cloudflare.types.zones.workers import ScriptUpdateResponse

Methods:

  • client.zones.workers.script.update(*, zone_id) -> ScriptUpdateResponse
  • client.zones.workers.script.delete(*, zone_id) -> None
  • client.zones.workers.script.get(*, zone_id) -> BinaryAPIResponse

Subscriptions

Types:

from cloudflare.types.zones import (
    SubscriptionCreateResponse,
    SubscriptionListResponse,
    SubscriptionGetResponse,
)

Methods:

LoadBalancers

Types:

from cloudflare.types import LoadBalancer, LoadBalancerDeleteResponse

Methods:

Monitors

Types:

from cloudflare.types.load_balancers import MonitorDeleteResponse

Methods:

Previews

Types:

from cloudflare.types.load_balancers.monitors import PreviewCreateResponse

Methods:

References

Types:

from cloudflare.types.load_balancers.monitors import ReferenceGetResponse

Methods:

  • client.load_balancers.monitors.references.get(monitor_id, *, account_id) -> Optional

Pools

Types:

from cloudflare.types.load_balancers import PoolDeleteResponse

Methods:

Health

Types:

from cloudflare.types.load_balancers.pools import HealthCreateResponse, HealthGetResponse

Methods:

References

Types:

from cloudflare.types.load_balancers.pools import ReferenceGetResponse

Methods:

  • client.load_balancers.pools.references.get(pool_id, *, account_id) -> Optional

Previews

Methods:

Regions

Types:

from cloudflare.types.load_balancers import RegionListResponse, RegionGetResponse

Methods:

Searches

Types:

from cloudflare.types.load_balancers import SearchGetResponse

Methods:

Cache

Types:

from cloudflare.types import CachePurgeResponse

Methods:

CacheReserve

Types:

from cloudflare.types.cache import (
    CacheReserveClearResponse,
    CacheReserveEditResponse,
    CacheReserveGetResponse,
    CacheReserveStatusResponse,
)

Methods:

SmartTieredCache

Types:

from cloudflare.types.cache import (
    SmartTieredCacheDeleteResponse,
    SmartTieredCacheEditResponse,
    SmartTieredCacheGetResponse,
)

Methods:

Variants

Types:

from cloudflare.types.cache import CacheVariants, VariantEditResponse, VariantGetResponse

Methods:

RegionalTieredCache

Types:

from cloudflare.types.cache import RegionalTieredCacheEditResponse, RegionalTieredCacheGetResponse

Methods:

SSL

Analyze

Types:

from cloudflare.types.ssl import AnalyzeCreateResponse

Methods:

CertificatePacks

Types:

from cloudflare.types.ssl import (
    CertificatePackListResponse,
    CertificatePackDeleteResponse,
    CertificatePackEditResponse,
    CertificatePackGetResponse,
)

Methods:

Order

Types:

from cloudflare.types.ssl.certificate_packs import OrderCreateResponse

Methods:

Quota

Types:

from cloudflare.types.ssl.certificate_packs import QuotaGetResponse

Methods:

Recommendations

Types:

from cloudflare.types.ssl import RecommendationGetResponse

Methods:

  • client.ssl.recommendations.get(zone_identifier) -> Optional

Universal

Settings

Types:

from cloudflare.types.ssl.universal import UniversalSSLSettings

Methods:

Verification

Types:

from cloudflare.types.ssl import (
    TLSVerificationSetting,
    VerificationEditResponse,
    VerificationGetResponse,
)

Methods:

Subscriptions

Types:

from cloudflare.types import (
    SubscriptionCreateResponse,
    SubscriptionUpdateResponse,
    SubscriptionListResponse,
    SubscriptionDeleteResponse,
    SubscriptionGetResponse,
)

Methods:

ACM

TotalTLS

Types:

from cloudflare.types.acm import TotalTLSCreateResponse, TotalTLSGetResponse

Methods:

Argo

SmartRouting

Types:

from cloudflare.types.argo import SmartRoutingEditResponse, SmartRoutingGetResponse

Methods:

TieredCaching

Types:

from cloudflare.types.argo import TieredCachingEditResponse, TieredCachingGetResponse

Methods:

Plans

Types:

from cloudflare.types import AvailableRatePlan

Methods:

RatePlans

Types:

from cloudflare.types import RatePlan, RatePlanGetResponse

Methods:

CertificateAuthorities

HostnameAssociations

Types:

from cloudflare.types.certificate_authorities import TLSHostnameAssociation

Methods:

ClientCertificates

Types:

from cloudflare.types import ClientCertificate

Methods:

CustomCertificates

Types:

from cloudflare.types import (
    CustomCertificate,
    CustomCertificateCreateResponse,
    CustomCertificateDeleteResponse,
    CustomCertificateEditResponse,
    CustomCertificateGetResponse,
)

Methods:

Prioritize

Types:

from cloudflare.types.custom_certificates import PrioritizeUpdateResponse

Methods:

CustomHostnames

Types:

from cloudflare.types import (
    CustomHostname,
    CustomHostnameCreateResponse,
    CustomHostnameListResponse,
    CustomHostnameDeleteResponse,
    CustomHostnameEditResponse,
    CustomHostnameGetResponse,
)

Methods:

FallbackOrigin

Types:

from cloudflare.types.custom_hostnames import (
    FallbackOriginUpdateResponse,
    FallbackOriginDeleteResponse,
    FallbackOriginGetResponse,
)

Methods:

CustomNameservers

Types:

from cloudflare.types import (
    CustomNameserver,
    CustomNameserverDeleteResponse,
    CustomNameserverAvailabiltyResponse,
    CustomNameserverGetResponse,
    CustomNameserverVerifyResponse,
)

Methods:

DNS

Records

Types:

from cloudflare.types.dns import (
    DNSRecord,
    RecordDeleteResponse,
    RecordExportResponse,
    RecordImportResponse,
    RecordScanResponse,
)

Methods:

Analytics

Reports

Types:

from cloudflare.types.dns.analytics import DNSAnalyticsReport

Methods:

Bytimes

Types:

from cloudflare.types.dns.analytics.reports import DNSAnalyticsReportByTime

Methods:

Firewall

Types:

from cloudflare.types.dns import DNSFirewall, FirewallDeleteResponse

Methods:

Analytics

Reports

Methods:

Bytimes

Methods:

DNSSECResource

Types:

from cloudflare.types import DNSSEC, DNSSECDeleteResponse

Methods:

EmailRouting

Types:

from cloudflare.types import (
    EmailSettings,
    EmailRoutingDisableResponse,
    EmailRoutingEnableResponse,
    EmailRoutingGetResponse,
)

Methods:

DNS

Types:

from cloudflare.types.email_routing import EmailDNSRecord, DNSGetResponse

Methods:

  • client.email_routing.dns.get(zone_identifier) -> Optional

Rules

Types:

from cloudflare.types.email_routing import (
    EmailRules,
    RuleCreateResponse,
    RuleUpdateResponse,
    RuleListResponse,
    RuleDeleteResponse,
    RuleGetResponse,
)

Methods:

CatchAlls

Types:

from cloudflare.types.email_routing.rules import EmailCatchAllRule

Methods:

Addresses

Types:

from cloudflare.types.email_routing import (
    EmailAddresses,
    AddressCreateResponse,
    AddressListResponse,
    AddressDeleteResponse,
    AddressGetResponse,
)

Methods:

Filters

Types:

from cloudflare.types import FirewallFilter, FilterCreateResponse

Methods:

Firewall

Lockdowns

Types:

from cloudflare.types.firewall import FirewallZoneLockdown, LockdownDeleteResponse

Methods:

Rules

Types:

from cloudflare.types.firewall import FirewallFilterRule, RuleCreateResponse, RuleEditResponse

Methods:

AccessRules

Types:

from cloudflare.types.firewall import (
    AccessRuleCreateResponse,
    AccessRuleListResponse,
    AccessRuleDeleteResponse,
    AccessRuleEditResponse,
    AccessRuleGetResponse,
)

Methods:

UARules

Types:

from cloudflare.types.firewall import (
    FirewallUserAgentRule,
    UARuleCreateResponse,
    UARuleUpdateResponse,
    UARuleListResponse,
    UARuleDeleteResponse,
    UARuleGetResponse,
)

Methods:

WAF

Overrides

Types:

from cloudflare.types.firewall.waf import WAFOverride, OverrideDeleteResponse

Methods:

Packages

Types:

from cloudflare.types.firewall.waf import PackageListResponse, PackageGetResponse

Methods:

Groups

Types:

from cloudflare.types.firewall.waf.packages import (
    WAFManagedRulesGroup,
    GroupEditResponse,
    GroupGetResponse,
)

Methods:

Rules

Types:

from cloudflare.types.firewall.waf.packages import (
    WAFManagedRulesRule,
    RuleEditResponse,
    RuleGetResponse,
)

Methods:

Healthchecks

Types:

from cloudflare.types import Healthcheck, HealthcheckDeleteResponse

Methods:

Previews

Types:

from cloudflare.types.healthchecks import PreviewDeleteResponse

Methods:

KeylessCertificates

Types:

from cloudflare.types import (
    KeylessCertificate,
    KeylessCertificateHostname,
    KeylessCertificateDeleteResponse,
)

Methods:

Logpush

Datasets

Fields

Types:

from cloudflare.types.logpush.datasets import FieldGetResponse

Methods:

  • client.logpush.datasets.fields.get(dataset_id, *, account_id, zone_id) -> object

Jobs

Types:

from cloudflare.types.logpush.datasets import LogpushJob, JobGetResponse

Methods:

  • client.logpush.datasets.jobs.get(dataset_id, *, account_id, zone_id) -> JobGetResponse

Edge

Types:

from cloudflare.types.logpush import InstantLogpushJob, EdgeGetResponse

Methods:

Jobs

Types:

from cloudflare.types.logpush import JobDeleteResponse

Methods:

Ownership

Types:

from cloudflare.types.logpush import OwnershipCreateResponse, OwnershipValidateResponse

Methods:

Validate

Types:

from cloudflare.types.logpush import ValidateDestinationResponse, ValidateOriginResponse

Methods:

Logs

Control

Retention

Flag

Types:

from cloudflare.types.logs.control.retention import FlagCreateResponse, FlagGetResponse

Methods:

Cmb

Config

Types:

from cloudflare.types.logs.control.cmb import CmbConfig, ConfigDeleteResponse

Methods:

RayID

Types:

from cloudflare.types.logs import RayIDGetResponse

Methods:

Received

Types:

from cloudflare.types.logs import ReceivedGetResponse

Methods:

Fields

Types:

from cloudflare.types.logs.received import FieldGetResponse

Methods:

OriginTLSClientAuth

Types:

from cloudflare.types import (
    OriginTLSClientCertificateZoneAuthenticatedOriginPull,
    OriginTLSClientAuthCreateResponse,
    OriginTLSClientAuthListResponse,
    OriginTLSClientAuthDeleteResponse,
    OriginTLSClientAuthGetResponse,
)

Methods:

Hostnames

Types:

from cloudflare.types.origin_tls_client_auth import (
    OriginTLSClientCertificateAuthenticatedOriginPull,
    OriginTLSClientCertificateID,
    HostnameUpdateResponse,
)

Methods:

Certificates

Types:

from cloudflare.types.origin_tls_client_auth.hostnames import OriginTLSClientCertificate

Methods:

Settings

Types:

from cloudflare.types.origin_tls_client_auth import SettingUpdateResponse, SettingGetResponse

Methods:

Pagerules

Types:

from cloudflare.types import (
    ZonesPagerule,
    PageruleCreateResponse,
    PageruleUpdateResponse,
    PageruleListResponse,
    PageruleDeleteResponse,
    PageruleEditResponse,
    PageruleGetResponse,
)

Methods:

Settings

Types:

from cloudflare.types.pagerules import ZonePageruleSettings

Methods:

RateLimits

Types:

from cloudflare.types import (
    RateLimit,
    RateLimitCreateResponse,
    RateLimitListResponse,
    RateLimitDeleteResponse,
    RateLimitEditResponse,
    RateLimitGetResponse,
)

Methods:

SecondaryDNS

ForceAXFR

Types:

from cloudflare.types.secondary_dns import SecondaryDNSForce

Methods:

  • client.secondary_dns.force_axfr.create(*, zone_id) -> str

Incoming

Types:

from cloudflare.types.secondary_dns import (
    IncomingCreateResponse,
    IncomingUpdateResponse,
    IncomingDeleteResponse,
    IncomingGetResponse,
)

Methods:

Outgoing

Types:

from cloudflare.types.secondary_dns import (
    SecondaryDNSDisableTransfer,
    SecondaryDNSEnableTransfer,
    OutgoingCreateResponse,
    OutgoingUpdateResponse,
    OutgoingDeleteResponse,
    OutgoingForceNotifyResponse,
    OutgoingGetResponse,
)

Methods:

Status

Methods:

  • client.secondary_dns.outgoing.status.get(*, zone_id) -> str

ACLs

Types:

from cloudflare.types.secondary_dns import SecondaryDNSACL, ACLDeleteResponse

Methods:

Peers

Types:

from cloudflare.types.secondary_dns import SecondaryDNSPeer, PeerDeleteResponse

Methods:

TSIGs

Types:

from cloudflare.types.secondary_dns import SecondaryDNSTSIG, TSIGDeleteResponse

Methods:

WaitingRooms

Types:

from cloudflare.types import WaitingRoom

Events

Types:

from cloudflare.types.waiting_rooms import WaitingroomEvent

Details

Types:

from cloudflare.types.waiting_rooms.events import WaitingroomEventDetails

Rules

Types:

from cloudflare.types.waiting_rooms import WaitingroomRule

Web3

Hostnames

Types:

from cloudflare.types.web3 import DistributedWebHostname, HostnameDeleteResponse

Methods:

IPFSUniversalPaths

ContentLists

Types:

from cloudflare.types.web3.hostnames.ipfs_universal_paths import DistributedWebConfigContentList

Methods:

Entries

Types:

from cloudflare.types.web3.hostnames.ipfs_universal_paths.content_lists import (
    DistributedWebConfigContentListEntry,
    EntryListResponse,
    EntryDeleteResponse,
)

Methods:

Workers

AI

Types:

from cloudflare.types.workers import AIRunResponse

Methods:

Scripts

Types:

from cloudflare.types.workers import WorkersScript

Methods:

Bindings

Types:

from cloudflare.types.workers.scripts import WorkersBinding, BindingGetResponse

Methods:

Schedules

Types:

from cloudflare.types.workers.scripts import ScheduleUpdateResponse, ScheduleGetResponse

Methods:

Tail

Types:

from cloudflare.types.workers.scripts import TailCreateResponse, TailDeleteResponse, TailGetResponse

Methods:

UsageModel

Types:

from cloudflare.types.workers.scripts import UsageModelUpdateResponse, UsageModelGetResponse

Methods:

Content

Methods:

ContentV2

Methods:

  • client.workers.scripts.content_v2.get(script_name, *, account_id) -> BinaryAPIResponse

Settings

Types:

from cloudflare.types.workers.scripts import SettingEditResponse, SettingGetResponse

Methods:

Filters

Types:

from cloudflare.types.workers import WorkersFilter, FilterCreateResponse, FilterDeleteResponse

Methods:

Routes

Types:

from cloudflare.types.workers import WorkersRoute, RouteCreateResponse, RouteDeleteResponse

Methods:

AccountSettings

Types:

from cloudflare.types.workers import AccountSettingUpdateResponse, AccountSettingGetResponse

Methods:

Deployments

ByScripts

Types:

from cloudflare.types.workers.deployments import ByScriptGetResponse

Methods:

Details

Types:

from cloudflare.types.workers.deployments.by_scripts import DetailGetResponse

Methods:

  • client.workers.deployments.by_scripts.details.get(deployment_id, *, account_id, script_id) -> DetailGetResponse

Domains

Types:

from cloudflare.types.workers import WorkersDomain

Methods:

Subdomains

Types:

from cloudflare.types.workers import SubdomainUpdateResponse, SubdomainGetResponse

Methods:

Services

Environments

Content

Methods:

  • client.workers.services.environments.content.update(environment_name, *, account_id, service_name, **params) -> WorkersScript
  • client.workers.services.environments.content.get(environment_name, *, account_id, service_name) -> BinaryAPIResponse

Settings

Types:

from cloudflare.types.workers.services.environments import SettingEditResponse, SettingGetResponse

Methods:

  • client.workers.services.environments.settings.edit(environment_name, *, account_id, service_name, **params) -> SettingEditResponse
  • client.workers.services.environments.settings.get(environment_name, *, account_id, service_name) -> SettingGetResponse

KV

Namespaces

Types:

from cloudflare.types.kv import WorkersKVNamespace, NamespaceUpdateResponse, NamespaceDeleteResponse

Methods:

Bulk

Types:

from cloudflare.types.kv.namespaces import BulkUpdateResponse, BulkDeleteResponse

Methods:

Keys

Types:

from cloudflare.types.kv.namespaces import WorkersKVKey

Methods:

Metadata

Types:

from cloudflare.types.kv.namespaces import MetadataGetResponse

Methods:

  • client.kv.namespaces.metadata.get(key_name, *, account_id, namespace_id) -> object

Values

Types:

from cloudflare.types.kv.namespaces import (
    ValueUpdateResponse,
    ValueDeleteResponse,
    ValueGetResponse,
)

Methods:

DurableObjects

Namespaces

Types:

from cloudflare.types.durable_objects import DurableObjectNamespace

Methods:

Objects

Types:

from cloudflare.types.durable_objects.namespaces import DurableObject

Methods:

Queues

Types:

from cloudflare.types import (
    Queue,
    QueueCreated,
    QueueUpdated,
    QueueCreateResponse,
    QueueUpdateResponse,
    QueueListResponse,
    QueueDeleteResponse,
    QueueGetResponse,
)

Methods:

Consumers

Types:

from cloudflare.types.queues import (
    ConsumerCreateResponse,
    ConsumerUpdateResponse,
    ConsumerDeleteResponse,
    ConsumerGetResponse,
)

Methods:

Messages

Types:

from cloudflare.types.queues import (
    QueueConsumer,
    QueueConsumerCreated,
    QueueConsumerUpdated,
    MessageAckResponse,
    MessagePullResponse,
)

Methods:

ManagedHeaders

Types:

from cloudflare.types import ManagedHeaderListResponse, ManagedHeaderEditResponse

Methods:

PageShield

Types:

from cloudflare.types import PageShieldSetting, PageShieldUpdateResponse

Methods:

Policies

Types:

from cloudflare.types.page_shield import PageShieldPolicy

Methods:

Connections

Types:

from cloudflare.types.page_shield import PageShieldConnection

Methods:

Scripts

Types:

from cloudflare.types.page_shield import PageShieldScript, ScriptGetResponse

Methods:

Rulesets

Types:

from cloudflare.types import Ruleset, RulesetListResponse

Methods:

Phases

Methods:

  • client.rulesets.phases.update(ruleset_phase, *, account_id, zone_id, **params) -> Ruleset
  • client.rulesets.phases.get(ruleset_phase, *, account_id, zone_id) -> Ruleset

Versions

Types:

from cloudflare.types.rulesets.phases import VersionListResponse

Methods:

Rules

Methods:

  • client.rulesets.rules.create(ruleset_id, *, account_id, zone_id, **params) -> Ruleset
  • client.rulesets.rules.delete(rule_id, *, ruleset_id, account_id, zone_id) -> Ruleset
  • client.rulesets.rules.edit(rule_id, *, ruleset_id, account_id, zone_id, **params) -> Ruleset

Versions

Types:

from cloudflare.types.rulesets import VersionListResponse

Methods:

  • client.rulesets.versions.list(ruleset_id, *, account_id, zone_id) -> SyncSinglePage[VersionListResponse]
  • client.rulesets.versions.delete(ruleset_version, *, ruleset_id, account_id, zone_id) -> None
  • client.rulesets.versions.get(ruleset_version, *, ruleset_id, account_id, zone_id) -> Ruleset

ByTag

Methods:

  • client.rulesets.versions.by_tag.get(rule_tag, *, account_id, ruleset_id, ruleset_version) -> Ruleset

URLNormalization

Types:

from cloudflare.types import URLNormalizationUpdateResponse, URLNormalizationGetResponse

Methods:

Spectrum

Analytics

Aggregates

Currents

Types:

from cloudflare.types.spectrum.analytics.aggregates import CurrentGetResponse

Methods:

Events

Bytimes

Types:

from cloudflare.types.spectrum.analytics.events import BytimeGetResponse

Methods:

Summaries

Types:

from cloudflare.types.spectrum.analytics.events import SummaryGetResponse

Methods:

Apps

Types:

from cloudflare.types.spectrum import (
    AppCreateResponse,
    AppUpdateResponse,
    AppListResponse,
    AppDeleteResponse,
    AppGetResponse,
)

Methods:

Addressing

Services

Types:

from cloudflare.types.addressing import ServiceListResponse

Methods:

AddressMaps

Types:

from cloudflare.types.addressing import (
    AddressingAddressMaps,
    AddressMapCreateResponse,
    AddressMapDeleteResponse,
    AddressMapGetResponse,
)

Methods:

Accounts

Types:

from cloudflare.types.addressing.address_maps import AccountUpdateResponse, AccountDeleteResponse

Methods:

  • client.addressing.address_maps.accounts.update(address_map_id, *, account_id) -> Optional
  • client.addressing.address_maps.accounts.delete(address_map_id, *, account_id) -> Optional

IPs

Types:

from cloudflare.types.addressing.address_maps import IPUpdateResponse, IPDeleteResponse

Methods:

  • client.addressing.address_maps.ips.update(ip_address, *, account_id, address_map_id) -> Optional
  • client.addressing.address_maps.ips.delete(ip_address, *, account_id, address_map_id) -> Optional

Zones

Types:

from cloudflare.types.addressing.address_maps import ZoneUpdateResponse, ZoneDeleteResponse

Methods:

  • client.addressing.address_maps.zones.update(address_map_id, *, zone_id, account_id) -> Optional
  • client.addressing.address_maps.zones.delete(address_map_id, *, zone_id, account_id) -> Optional

LOADocuments

Types:

from cloudflare.types.addressing import LOADocumentCreateResponse

Methods:

Downloads

Types:

from cloudflare.types.addressing.loa_documents import DownloadGetResponse

Methods:

  • client.addressing.loa_documents.downloads.get(loa_document_id, *, account_id) -> object

Prefixes

Types:

from cloudflare.types.addressing import AddressingIpamPrefixes, PrefixDeleteResponse

Methods:

BGP

Bindings

Types:

from cloudflare.types.addressing.prefixes.bgp import AddressingServiceBinding, BindingDeleteResponse

Methods:

Prefixes

Types:

from cloudflare.types.addressing.prefixes.bgp import AddressingIpamBGPPrefixes

Methods:

Statuses

Types:

from cloudflare.types.addressing.prefixes.bgp import StatusEditResponse, StatusGetResponse

Methods:

Delegations

Types:

from cloudflare.types.addressing.prefixes import AddressingIpamDelegations, DelegationDeleteResponse

Methods:

AuditLogs

Types:

from cloudflare.types import AuditLogListResponse

Methods:

Billing

Profiles

Types:

from cloudflare.types.billing import ProfileGetResponse

Methods:

BrandProtection

Types:

from cloudflare.types import IntelPhishingURLInfo, IntelPhishingURLSubmit

Methods:

Diagnostics

Traceroutes

Types:

from cloudflare.types.diagnostics import MagicTransitTargetResult, TracerouteCreateResponse

Methods:

Images

V1

Types:

from cloudflare.types.images import Image, V1ListResponse, V1DeleteResponse

Methods:

Keys

Types:

from cloudflare.types.images.v1 import ImagesImageKeys

Methods:

Stats

Types:

from cloudflare.types.images.v1 import ImagesImagesStats

Methods:

Variants

Types:

from cloudflare.types.images.v1 import V1ImageVariant, V1ImageVariants, VariantDeleteResponse

Methods:

Blobs

Methods:

  • client.images.v1.blobs.get(image_id, *, account_id) -> BinaryAPIResponse

V2

Types:

from cloudflare.types.images import V2ListResponse

Methods:

DirectUploads

Types:

from cloudflare.types.images.v2 import DirectUploadCreateResponse

Methods:

Intel

ASN

Types:

from cloudflare.types.intel import IntelASN

Methods:

Subnets

Types:

from cloudflare.types.intel.asn import SubnetGetResponse

Methods:

DNS

Types:

from cloudflare.types.intel import IntelPassiveDNSByIP

Methods:

Domains

Types:

from cloudflare.types.intel import IntelDomain

Methods:

Bulks

Types:

from cloudflare.types.intel.domains import BulkGetResponse

Methods:

DomainHistory

Types:

from cloudflare.types.intel import IntelDomainHistory, DomainHistoryGetResponse

Methods:

IPs

Types:

from cloudflare.types.intel import IntelSchemasIP, IPGetResponse

Methods:

IPLists

Types:

from cloudflare.types.intel import IntelIPList, IPListGetResponse

Methods:

Miscategorizations

Types:

from cloudflare.types.intel import MiscategorizationCreateResponse

Methods:

Whois

Types:

from cloudflare.types.intel import IntelWhois

Methods:

IndicatorFeeds

Types:

from cloudflare.types.intel import (
    IndicatorFeedCreateResponse,
    IndicatorFeedUpdateResponse,
    IndicatorFeedListResponse,
    IndicatorFeedDataResponse,
    IndicatorFeedGetResponse,
)

Methods:

Permissions

Types:

from cloudflare.types.intel.indicator_feeds import (
    PermissionCreateResponse,
    PermissionListResponse,
    PermissionDeleteResponse,
)

Methods:

Sinkholes

Types:

from cloudflare.types.intel import IntelSinkholeItem

Methods:

AttackSurfaceReport

IssueTypes

Types:

from cloudflare.types.intel.attack_surface_report import IssueTypeGetResponse

Methods:

Issues

Types:

from cloudflare.types.intel.attack_surface_report import (
    IssueListResponse,
    IssueClassResponse,
    IssueDismissResponse,
    IssueSeverityResponse,
    IssueTypeResponse,
)

Methods:

MagicTransit

CfInterconnects

Types:

from cloudflare.types.magic_transit import (
    CfInterconnectUpdateResponse,
    CfInterconnectListResponse,
    CfInterconnectGetResponse,
)

Methods:

GRETunnels

Types:

from cloudflare.types.magic_transit import (
    GRETunnelCreateResponse,
    GRETunnelUpdateResponse,
    GRETunnelListResponse,
    GRETunnelDeleteResponse,
    GRETunnelGetResponse,
)

Methods:

IPSECTunnels

Types:

from cloudflare.types.magic_transit import (
    IPSECTunnelCreateResponse,
    IPSECTunnelUpdateResponse,
    IPSECTunnelListResponse,
    IPSECTunnelDeleteResponse,
    IPSECTunnelGetResponse,
    IPSECTunnelPSKGenerateResponse,
)

Methods:

Routes

Types:

from cloudflare.types.magic_transit import (
    RouteCreateResponse,
    RouteUpdateResponse,
    RouteListResponse,
    RouteDeleteResponse,
    RouteEmptyResponse,
    RouteGetResponse,
)

Methods:

Sites

Types:

from cloudflare.types.magic_transit import (
    SiteCreateResponse,
    SiteUpdateResponse,
    SiteListResponse,
    SiteDeleteResponse,
    SiteGetResponse,
)

Methods:

ACLs

Types:

from cloudflare.types.magic_transit.sites import (
    ACLCreateResponse,
    ACLUpdateResponse,
    ACLListResponse,
    ACLDeleteResponse,
    ACLGetResponse,
)

Methods:

LANs

Types:

from cloudflare.types.magic_transit.sites import (
    LANCreateResponse,
    LANUpdateResponse,
    LANListResponse,
    LANDeleteResponse,
    LANGetResponse,
)

Methods:

WANs

Types:

from cloudflare.types.magic_transit.sites import (
    WANCreateResponse,
    WANUpdateResponse,
    WANListResponse,
    WANDeleteResponse,
    WANGetResponse,
)

Methods:

MagicNetworkMonitoring

Configs

Types:

from cloudflare.types.magic_network_monitoring import MagicNetworkMonitoringConfig

Methods:

Full

Methods:

Rules

Types:

from cloudflare.types.magic_network_monitoring import MagicNetworkMonitoringRule

Methods:

  • client.magic_network_monitoring.rules.create(*, account_id) -> Optional
  • client.magic_network_monitoring.rules.update(*, account_id) -> Optional
  • client.magic_network_monitoring.rules.list(*, account_id) -> SyncSinglePage[Optional]
  • client.magic_network_monitoring.rules.delete(rule_id, *, account_id) -> Optional
  • client.magic_network_monitoring.rules.edit(rule_id, *, account_id) -> Optional
  • client.magic_network_monitoring.rules.get(rule_id, *, account_id) -> Optional

Advertisements

Types:

from cloudflare.types.magic_network_monitoring.rules import MagicNetworkMonitoringRuleAdvertisable

Methods:

  • client.magic_network_monitoring.rules.advertisements.edit(rule_id, *, account_id) -> Optional

MTLSCertificates

Types:

from cloudflare.types import MTLSCertificate, MTLSCertificateUpdate

Methods:

Associations

Types:

from cloudflare.types.mtls_certificates import MTLSCertificateAsssociation, AssociationGetResponse

Methods:

  • client.mtls_certificates.associations.get(mtls_certificate_id, *, account_id) -> Optional

Pages

Projects

Types:

from cloudflare.types.pages import (
    PagesDeployments,
    PagesProjects,
    ProjectCreateResponse,
    ProjectDeleteResponse,
    ProjectEditResponse,
    ProjectPurgeBuildCacheResponse,
)

Methods:

Deployments

Types:

from cloudflare.types.pages.projects import DeploymentDeleteResponse

Methods:

History

Logs

Types:

from cloudflare.types.pages.projects.deployments.history import LogGetResponse

Methods:

  • client.pages.projects.deployments.history.logs.get(deployment_id, *, account_id, project_name) -> LogGetResponse

Domains

Types:

from cloudflare.types.pages.projects import (
    DomainCreateResponse,
    DomainListResponse,
    DomainDeleteResponse,
    DomainEditResponse,
    DomainGetResponse,
)

Methods:

  • client.pages.projects.domains.create(project_name, *, account_id, **params) -> Optional
  • client.pages.projects.domains.list(project_name, *, account_id) -> SyncSinglePage[object]
  • client.pages.projects.domains.delete(domain_name, *, account_id, project_name) -> object
  • client.pages.projects.domains.edit(domain_name, *, account_id, project_name) -> Optional
  • client.pages.projects.domains.get(domain_name, *, account_id, project_name) -> Optional

PCAPs

Types:

from cloudflare.types import PCAPCreateResponse, PCAPListResponse, PCAPGetResponse

Methods:

Ownership

Types:

from cloudflare.types.pcaps import MagicVisibilityPCAPsOwnership, OwnershipGetResponse

Methods:

Download

Methods:

  • client.pcaps.download.get(pcap_id, *, account_id) -> BinaryAPIResponse

Registrar

Domains

Types:

from cloudflare.types.registrar import (
    RegistrarDomains,
    DomainUpdateResponse,
    DomainListResponse,
    DomainGetResponse,
)

Methods:

RequestTracers

Traces

Types:

from cloudflare.types.request_tracers import Trace, TraceItem, TraceCreateResponse

Methods:

Rules

Lists

Types:

from cloudflare.types.rules import ListsList, ListDeleteResponse

Methods:

BulkOperations

Types:

from cloudflare.types.rules.lists import BulkOperationGetResponse

Methods:

  • client.rules.lists.bulk_operations.get(operation_id, *, account_identifier) -> Optional

Items

Types:

from cloudflare.types.rules.lists import (
    ItemCreateResponse,
    ItemUpdateResponse,
    ItemListResponse,
    ItemDeleteResponse,
    ItemGetResponse,
)

Methods:

Storage

Analytics

Types:

from cloudflare.types.storage import WorkersKVComponentsSchemasResult, WorkersKVSchemasResult

Methods:

Stream

Types:

from cloudflare.types import StreamVideos

Methods:

AudioTracks

Types:

from cloudflare.types.stream import StreamAudio, AudioTrackDeleteResponse, AudioTrackGetResponse

Methods:

Videos

Types:

from cloudflare.types.stream import VideoStorageUsageResponse

Methods:

Clip

Types:

from cloudflare.types.stream import StreamClipping

Methods:

Copy

Methods:

DirectUpload

Types:

from cloudflare.types.stream import DirectUploadCreateResponse

Methods:

Keys

Types:

from cloudflare.types.stream import StreamKeys, KeyDeleteResponse, KeyGetResponse

Methods:

LiveInputs

Types:

from cloudflare.types.stream import StreamLiveInput, LiveInputListResponse

Methods:

Outputs

Types:

from cloudflare.types.stream.live_inputs import StreamOutput

Methods:

  • client.stream.live_inputs.outputs.create(live_input_identifier, *, account_id, **params) -> StreamOutput
  • client.stream.live_inputs.outputs.update(output_identifier, *, account_id, live_input_identifier, **params) -> StreamOutput
  • client.stream.live_inputs.outputs.list(live_input_identifier, *, account_id) -> SyncSinglePage[StreamOutput]
  • client.stream.live_inputs.outputs.delete(output_identifier, *, account_id, live_input_identifier) -> None

Watermarks

Types:

from cloudflare.types.stream import (
    StreamWatermarks,
    WatermarkCreateResponse,
    WatermarkDeleteResponse,
    WatermarkGetResponse,
)

Methods:

Webhooks

Types:

from cloudflare.types.stream import WebhookUpdateResponse, WebhookDeleteResponse, WebhookGetResponse

Methods:

Captions

Types:

from cloudflare.types.stream import (
    StreamCaptions,
    CaptionUpdateResponse,
    CaptionDeleteResponse,
    CaptionGetResponse,
)

Methods:

Downloads

Types:

from cloudflare.types.stream import (
    DownloadCreateResponse,
    DownloadDeleteResponse,
    DownloadGetResponse,
)

Methods:

Embed

Types:

from cloudflare.types.stream import EmbedGetResponse

Methods:

  • client.stream.embed.get(identifier, *, account_id) -> str

Token

Types:

from cloudflare.types.stream import TokenCreateResponse

Methods:

Alerting

AvailableAlerts

Types:

from cloudflare.types.alerting import AvailableAlertListResponse

Methods:

  • client.alerting.available_alerts.list(*, account_id) -> Optional

Destinations

Eligible

Types:

from cloudflare.types.alerting.destinations import EligibleGetResponse

Methods:

  • client.alerting.destinations.eligible.get(*, account_id) -> Optional

Pagerduty

Types:

from cloudflare.types.alerting.destinations import (
    AlertingPagerduty,
    PagerdutyCreateResponse,
    PagerdutyDeleteResponse,
    PagerdutyGetResponse,
    PagerdutyLinkResponse,
)

Methods:

Webhooks

Types:

from cloudflare.types.alerting.destinations import (
    AlertingWebhooks,
    WebhookCreateResponse,
    WebhookUpdateResponse,
    WebhookDeleteResponse,
)

Methods:

History

Types:

from cloudflare.types.alerting import AlertingHistory

Methods:

Policies

Types:

from cloudflare.types.alerting import (
    AlertingPolicies,
    PolicyCreateResponse,
    PolicyUpdateResponse,
    PolicyDeleteResponse,
)

Methods:

D1

Database

Types:

from cloudflare.types.d1 import (
    D1CreateDatabase,
    D1DatabaseDetails,
    D1QueryResult,
    DatabaseDeleteResponse,
    DatabaseQueryResponse,
)

Methods:

R2

Buckets

Types:

from cloudflare.types.r2 import R2Bucket, BucketDeleteResponse

Methods:

Sippy

Types:

from cloudflare.types.r2 import R2Sippy, SippyDeleteResponse

Methods:

WARPConnector

Types:

from cloudflare.types import (
    WARPConnectorCreateResponse,
    WARPConnectorListResponse,
    WARPConnectorDeleteResponse,
    WARPConnectorEditResponse,
    WARPConnectorGetResponse,
    WARPConnectorTokenResponse,
)

Methods:

WorkersForPlatforms

Dispatch

Namespaces

Types:

from cloudflare.types.workers_for_platforms.dispatch import (
    NamespaceCreateResponse,
    NamespaceListResponse,
    NamespaceDeleteResponse,
    NamespaceGetResponse,
)

Methods:

Scripts

Types:

from cloudflare.types.workers_for_platforms.dispatch.namespaces import (
    WorkersForPlatformsNamespaceScript,
)

Methods:

  • client.workers_for_platforms.dispatch.namespaces.scripts.update(script_name, *, account_id, dispatch_namespace, **params) -> WorkersScript
  • client.workers_for_platforms.dispatch.namespaces.scripts.delete(script_name, *, account_id, dispatch_namespace, **params) -> None
  • client.workers_for_platforms.dispatch.namespaces.scripts.get(script_name, *, account_id, dispatch_namespace) -> WorkersForPlatformsNamespaceScript
Content

Methods:

  • client.workers_for_platforms.dispatch.namespaces.scripts.content.update(script_name, *, account_id, dispatch_namespace, **params) -> WorkersScript
  • client.workers_for_platforms.dispatch.namespaces.scripts.content.get(script_name, *, account_id, dispatch_namespace) -> BinaryAPIResponse
Settings

Types:

from cloudflare.types.workers_for_platforms.dispatch.namespaces.scripts import (
    SettingEditResponse,
    SettingGetResponse,
)

Methods:

  • client.workers_for_platforms.dispatch.namespaces.scripts.settings.edit(script_name, *, account_id, dispatch_namespace, **params) -> SettingEditResponse
  • client.workers_for_platforms.dispatch.namespaces.scripts.settings.get(script_name, *, account_id, dispatch_namespace) -> SettingGetResponse
Bindings

Types:

from cloudflare.types.workers_for_platforms.dispatch.namespaces.scripts import BindingGetResponse

Methods:

  • client.workers_for_platforms.dispatch.namespaces.scripts.bindings.get(script_name, *, account_id, dispatch_namespace) -> BindingGetResponse

ZeroTrust

Devices

Types:

from cloudflare.types.zero_trust import ZeroTrustDevices, DeviceGetResponse

Methods:

DEXTests

Types:

from cloudflare.types.zero_trust.devices import DEXTestSchemasHTTP, DEXTestDeleteResponse

Methods:

Networks

Types:

from cloudflare.types.zero_trust.devices import DeviceManagedNetworks, NetworkDeleteResponse

Methods:

Policies

Types:

from cloudflare.types.zero_trust.devices import DevicesDeviceSettingsPolicy, PolicyDeleteResponse

Methods:

DefaultPolicy

Types:

from cloudflare.types.zero_trust.devices.policies import DefaultPolicyGetResponse

Methods:

  • client.zero_trust.devices.policies.default_policy.get(*, account_id) -> Optional

Excludes

Types:

from cloudflare.types.zero_trust.devices.policies import (
    DevicesSplitTunnel,
    ExcludeUpdateResponse,
    ExcludeGetResponse,
)

Methods:

FallbackDomains

Types:

from cloudflare.types.zero_trust.devices.policies import (
    DevicesFallbackDomain,
    FallbackDomainUpdateResponse,
    FallbackDomainGetResponse,
)

Methods:

Includes

Types:

from cloudflare.types.zero_trust.devices.policies import (
    DevicesSplitTunnelInclude,
    IncludeUpdateResponse,
    IncludeGetResponse,
)

Methods:

Posture

Types:

from cloudflare.types.zero_trust.devices import DevicePostureRules, PostureDeleteResponse

Methods:

Integrations

Types:

from cloudflare.types.zero_trust.devices.posture import (
    DevicePostureIntegrations,
    IntegrationDeleteResponse,
)

Methods:

Revoke

Types:

from cloudflare.types.zero_trust.devices import RevokeCreateResponse

Methods:

Settings

Types:

from cloudflare.types.zero_trust.devices import ZeroTrustAccountDeviceSettings

Methods:

Unrevoke

Types:

from cloudflare.types.zero_trust.devices import UnrevokeCreateResponse

Methods:

OverrideCodes

Types:

from cloudflare.types.zero_trust.devices import OverrideCodeListResponse

Methods:

  • client.zero_trust.devices.override_codes.list(device_id, *, account_id) -> Optional

IdentityProviders

Types:

from cloudflare.types.zero_trust import (
    ZeroTrustIdentityProviders,
    IdentityProviderListResponse,
    IdentityProviderDeleteResponse,
)

Methods:

Organizations

Types:

from cloudflare.types.zero_trust import ZeroTrustOrganizations, OrganizationRevokeUsersResponse

Methods:

Seats

Types:

from cloudflare.types.zero_trust import ZeroTrustSeats, SeatEditResponse

Methods:

Access

Applications

Types:

from cloudflare.types.zero_trust.access import (
    ZeroTrustApps,
    ApplicationDeleteResponse,
    ApplicationRevokeTokensResponse,
)

Methods:

CAs

Types:

from cloudflare.types.zero_trust.access.applications import (
    ZeroTrustCA,
    CACreateResponse,
    CADeleteResponse,
    CAGetResponse,
)

Methods:

UserPolicyChecks

Types:

from cloudflare.types.zero_trust.access.applications import UserPolicyCheckListResponse

Methods:

Policies

Types:

from cloudflare.types.zero_trust.access.applications import ZeroTrustPolicies, PolicyDeleteResponse

Methods:

Certificates

Types:

from cloudflare.types.zero_trust.access import ZeroTrustCertificates, CertificateDeleteResponse

Methods:

Settings

Types:

from cloudflare.types.zero_trust.access.certificates import (
    ZeroTrustSettings,
    SettingUpdateResponse,
    SettingGetResponse,
)

Methods:

  • client.zero_trust.access.certificates.settings.update(*, account_id, zone_id, **params) -> Optional
  • client.zero_trust.access.certificates.settings.get(*, account_id, zone_id) -> Optional

Groups

Types:

from cloudflare.types.zero_trust.access import ZeroTrustGroups, GroupDeleteResponse

Methods:

ServiceTokens

Types:

from cloudflare.types.zero_trust.access import (
    ZeroTrustServiceTokens,
    ServiceTokenCreateResponse,
    ServiceTokenRotateResponse,
)

Methods:

Bookmarks

Types:

from cloudflare.types.zero_trust.access import ZeroTrustBookmarks, BookmarkDeleteResponse

Methods:

Keys

Types:

from cloudflare.types.zero_trust.access import KeyUpdateResponse, KeyGetResponse, KeyRotateResponse

Methods:

Logs

AccessRequests

Types:

from cloudflare.types.zero_trust.access.logs import (
    ZeroTrustAccessRequests,
    AccessRequestListResponse,
)

Methods:

  • client.zero_trust.access.logs.access_requests.list(identifier) -> Optional

Users

Types:

from cloudflare.types.zero_trust.access import ZeroTrustUsers

Methods:

ActiveSessions

Types:

from cloudflare.types.zero_trust.access.users import (
    ActiveSessionListResponse,
    ActiveSessionGetResponse,
)

Methods:

LastSeenIdentity

Types:

from cloudflare.types.zero_trust.access.users import ZeroTrustIdentity

Methods:

FailedLogins

Types:

from cloudflare.types.zero_trust.access.users import FailedLoginListResponse

Methods:

CustomPages

Types:

from cloudflare.types.zero_trust.access import (
    ZeroTrustCustomPage,
    ZeroTrustCustomPageWithoutHTML,
    CustomPageDeleteResponse,
)

Methods:

Tags

Types:

from cloudflare.types.zero_trust.access import ZeroTrustTag, TagDeleteResponse

Methods:

DEX

Colos

Types:

from cloudflare.types.zero_trust.dex import ColoListResponse

Methods:

FleetStatus

Types:

from cloudflare.types.zero_trust.dex import FleetStatusLiveResponse

Methods:

Devices

Types:

from cloudflare.types.zero_trust.dex.fleet_status import DigitalExperienceMonitoringDevice

Methods:

HTTPTests

Types:

from cloudflare.types.zero_trust.dex import DigitalExperienceMonitoringHTTPDetails

Methods:

Percentiles

Types:

from cloudflare.types.zero_trust.dex.http_tests import (
    DigitalExperienceMonitoringHTTPDetailsPercentiles,
)

Methods:

Tests

Types:

from cloudflare.types.zero_trust.dex import DigitalExperienceMonitoringTests, TestListResponse

Methods:

UniqueDevices

Types:

from cloudflare.types.zero_trust.dex.tests import DigitalExperienceMonitoringUniqueDevices

Methods:

TracerouteTestResults

NetworkPath

Types:

from cloudflare.types.zero_trust.dex.traceroute_test_results import (
    DigitalExperienceMonitoringTracerouteTestResultNetworkPath,
)

Methods:

TracerouteTests

Types:

from cloudflare.types.zero_trust.dex import (
    DigitalExperienceMonitoringTracerouteDetails,
    DigitalExperienceMonitoringTracerouteDetailsPercentiles,
    DigitalExperienceMonitoringTracerouteTestNetworkPath,
)

Methods:

Tunnels

Types:

from cloudflare.types.zero_trust import TunnelArgoTunnel, TunnelListResponse, TunnelEditResponse

Methods:

Configurations

Types:

from cloudflare.types.zero_trust.tunnels import (
    ConfigurationUpdateResponse,
    ConfigurationGetResponse,
)

Methods:

Connections

Types:

from cloudflare.types.zero_trust.tunnels import (
    TunnelTunnelClient,
    ConnectionDeleteResponse,
    ConnectionGetResponse,
)

Methods:

Token

Types:

from cloudflare.types.zero_trust.tunnels import TokenGetResponse

Methods:

Connectors

Methods:

Management

Types:

from cloudflare.types.zero_trust.tunnels import ManagementCreateResponse

Methods:

ConnectivitySettings

Types:

from cloudflare.types.zero_trust import (
    ConnectivitySettingEditResponse,
    ConnectivitySettingGetResponse,
)

Methods:

DLP

Datasets

Types:

from cloudflare.types.zero_trust.dlp import DLPDataset, DLPDatasetArray, DLPDatasetCreation

Methods:

Upload

Types:

from cloudflare.types.zero_trust.dlp.datasets import DLPDatasetNewVersion

Methods:

  • client.zero_trust.dlp.datasets.upload.create(dataset_id, *, account_id) -> Optional
  • client.zero_trust.dlp.datasets.upload.edit(version, *, account_id, dataset_id) -> Optional

Patterns

Types:

from cloudflare.types.zero_trust.dlp import PatternValidateResponse

Methods:

PayloadLogs

Types:

from cloudflare.types.zero_trust.dlp import PayloadLogUpdateResponse, PayloadLogGetResponse

Methods:

Profiles

Types:

from cloudflare.types.zero_trust.dlp import DLPProfiles, ProfileGetResponse

Methods:

Custom

Types:

from cloudflare.types.zero_trust.dlp.profiles import (
    DLPCustomProfile,
    CustomCreateResponse,
    CustomDeleteResponse,
)

Methods:

Predefined

Types:

from cloudflare.types.zero_trust.dlp.profiles import DLPPredefinedProfile

Methods:

Gateway

Types:

from cloudflare.types.zero_trust import GatewayCreateResponse, GatewayListResponse

Methods:

AuditSSHSettings

Types:

from cloudflare.types.zero_trust.gateway import ZeroTrustGatewaySettings

Methods:

Categories

Types:

from cloudflare.types.zero_trust.gateway import ZeroTrustGatewayCategories

Methods:

AppTypes

Types:

from cloudflare.types.zero_trust.gateway import ZeroTrustGatewayAppTypes

Methods:

Configurations

Types:

from cloudflare.types.zero_trust.gateway import (
    ConfigurationUpdateResponse,
    ConfigurationEditResponse,
    ConfigurationGetResponse,
)

Methods:

Lists

Types:

from cloudflare.types.zero_trust.gateway import (
    ZeroTrustGatewayLists,
    ListCreateResponse,
    ListDeleteResponse,
)

Methods:

Items

Types:

from cloudflare.types.zero_trust.gateway.lists import ItemListResponse

Methods:

Locations

Types:

from cloudflare.types.zero_trust.gateway import ZeroTrustGatewayLocations, LocationDeleteResponse

Methods:

Logging

Types:

from cloudflare.types.zero_trust.gateway import ZeroTrustGatewayGatewayAccountLoggingSettings

Methods:

ProxyEndpoints

Types:

from cloudflare.types.zero_trust.gateway import (
    ZeroTrustGatewayProxyEndpoints,
    ProxyEndpointDeleteResponse,
)

Methods:

Rules

Types:

from cloudflare.types.zero_trust.gateway import ZeroTrustGatewayRules, RuleDeleteResponse

Methods:

Networks

Routes

Types:

from cloudflare.types.zero_trust.networks import TunnelRoute, TunnelTeamnet

Methods:

IPs

Methods:

Networks

Methods:

  • client.zero_trust.networks.routes.networks.create(ip_network_encoded, *, account_id, **params) -> TunnelRoute
  • client.zero_trust.networks.routes.networks.delete(ip_network_encoded, *, account_id, **params) -> TunnelRoute
  • client.zero_trust.networks.routes.networks.edit(ip_network_encoded, *, account_id) -> TunnelRoute

VirtualNetworks

Types:

from cloudflare.types.zero_trust.networks import (
    TunnelVirtualNetwork,
    VirtualNetworkCreateResponse,
    VirtualNetworkDeleteResponse,
    VirtualNetworkEditResponse,
)

Methods:

Challenges

Widgets

Types:

from cloudflare.types.challenges import ChallengesWidget, ChallengesWidgetList

Methods:

HyperdriveResource

Types:

from cloudflare.types import Hyperdrive

Configs

Types:

from cloudflare.types.hyperdrive import (
    ConfigCreateResponse,
    ConfigUpdateResponse,
    ConfigListResponse,
    ConfigDeleteResponse,
    ConfigEditResponse,
    ConfigGetResponse,
)

Methods:

RUM

SiteInfo

Types:

from cloudflare.types.rum import RUMSite, SiteInfoDeleteResponse

Methods:

Rules

Types:

from cloudflare.types.rum import RUMRule, RuleListResponse, RuleDeleteResponse

Methods:

Vectorize

Indexes

Types:

from cloudflare.types.vectorize import (
    VectorizeCreateIndex,
    VectorizeIndexDeleteVectorsByID,
    VectorizeIndexInsert,
    VectorizeIndexQuery,
    VectorizeIndexUpsert,
    IndexDeleteResponse,
    IndexGetByIDsResponse,
)

Methods:

URLScanner

Types:

from cloudflare.types import URLScannerScanResponse

Methods:

Scans

Types:

from cloudflare.types.url_scanner import ScanCreateResponse, ScanGetResponse, ScanHarResponse

Methods:

Radar

Annotations

Outages

Types:

from cloudflare.types.radar.annotations import OutageGetResponse, OutageLocationsResponse

Methods:

BGP

Types:

from cloudflare.types.radar import BGPTimeseriesResponse

Methods:

Leaks

Types:

from cloudflare.types.radar.bgp import LeakEventsResponse

Methods:

Top

Types:

from cloudflare.types.radar.bgp import TopPrefixesResponse

Methods:

Ases

Types:

from cloudflare.types.radar.bgp.top import AseGetResponse, AsePrefixesResponse

Methods:

Hijacks

Types:

from cloudflare.types.radar.bgp import HijackEventsResponse

Methods:

Routes

Types:

from cloudflare.types.radar.bgp import (
    RouteMoasResponse,
    RoutePfx2asResponse,
    RouteStatsResponse,
    RouteTimeseriesResponse,
)

Methods:

Datasets

Types:

from cloudflare.types.radar import DatasetListResponse, DatasetDownloadResponse, DatasetGetResponse

Methods:

DNS

Top

Types:

from cloudflare.types.radar.dns import TopAsesResponse, TopLocationsResponse

Methods:

Netflows

Types:

from cloudflare.types.radar import NetflowTimeseriesResponse

Methods:

Top

Types:

from cloudflare.types.radar.netflows import TopAsesResponse, TopLocationsResponse

Methods:

Types:

from cloudflare.types.radar import SearchGlobalResponse

Methods:

VerifiedBots

Top

Types:

from cloudflare.types.radar.verified_bots import TopBotsResponse, TopCategoriesResponse

Methods:

AS112

Types:

from cloudflare.types.radar import AS112TimeseriesResponse

Methods:

Summary

Types:

from cloudflare.types.radar.as112 import (
    SummaryDNSSECResponse,
    SummaryEdnsResponse,
    SummaryIPVersionResponse,
    SummaryProtocolResponse,
    SummaryQueryTypeResponse,
    SummaryResponseCodesResponse,
)

Methods:

TimeseriesGroups

Types:

from cloudflare.types.radar.as112 import (
    TimeseriesGroupDNSSECResponse,
    TimeseriesGroupEdnsResponse,
    TimeseriesGroupIPVersionResponse,
    TimeseriesGroupProtocolResponse,
    TimeseriesGroupQueryTypeResponse,
    TimeseriesGroupResponseCodesResponse,
)

Methods:

Top

Types:

from cloudflare.types.radar.as112 import (
    TopDNSSECResponse,
    TopEdnsResponse,
    TopIPVersionResponse,
    TopLocationsResponse,
)

Methods:

ConnectionTampering

Types:

from cloudflare.types.radar import (
    ConnectionTamperingSummaryResponse,
    ConnectionTamperingTimeseriesGroupsResponse,
)

Methods:

Email

Routing

Summary

Types:

from cloudflare.types.radar.email.routing import (
    SummaryARCResponse,
    SummaryDKIMResponse,
    SummaryDMARCResponse,
    SummaryEncryptedResponse,
    SummaryIPVersionResponse,
    SummarySPFResponse,
)

Methods:

TimeseriesGroups

Types:

from cloudflare.types.radar.email.routing import (
    TimeseriesGroupARCResponse,
    TimeseriesGroupDKIMResponse,
    TimeseriesGroupDMARCResponse,
    TimeseriesGroupEncryptedResponse,
    TimeseriesGroupIPVersionResponse,
    TimeseriesGroupSPFResponse,
)

Methods:

Security

Top

Tlds

Types:

from cloudflare.types.radar.email.security.top import TldGetResponse

Methods:

Malicious

Types:

from cloudflare.types.radar.email.security.top.tlds import MaliciousGetResponse

Methods:

Spam

Types:

from cloudflare.types.radar.email.security.top.tlds import SpamGetResponse

Methods:

Spoof

Types:

from cloudflare.types.radar.email.security.top.tlds import SpoofGetResponse

Methods:

Summary

Types:

from cloudflare.types.radar.email.security import (
    SummaryARCResponse,
    SummaryDKIMResponse,
    SummaryDMARCResponse,
    SummaryMaliciousResponse,
    SummarySpamResponse,
    SummarySPFResponse,
    SummarySpoofResponse,
    SummaryThreatCategoryResponse,
    SummaryTLSVersionResponse,
)

Methods:

TimeseriesGroups

Types:

from cloudflare.types.radar.email.security import (
    TimeseriesGroupARCResponse,
    TimeseriesGroupDKIMResponse,
    TimeseriesGroupDMARCResponse,
    TimeseriesGroupMaliciousResponse,
    TimeseriesGroupSpamResponse,
    TimeseriesGroupSPFResponse,
    TimeseriesGroupSpoofResponse,
    TimeseriesGroupThreatCategoryResponse,
    TimeseriesGroupTLSVersionResponse,
)

Methods:

Attacks

Layer3

Types:

from cloudflare.types.radar.attacks import Layer3TimeseriesResponse

Methods:

Summary

Types:

from cloudflare.types.radar.attacks.layer3 import (
    SummaryBitrateResponse,
    SummaryDurationResponse,
    SummaryGetResponse,
    SummaryIPVersionResponse,
    SummaryProtocolResponse,
    SummaryVectorResponse,
)

Methods:

TimeseriesGroups

Types:

from cloudflare.types.radar.attacks.layer3 import (
    TimeseriesGroupBitrateResponse,
    TimeseriesGroupDurationResponse,
    TimeseriesGroupGetResponse,
    TimeseriesGroupIndustryResponse,
    TimeseriesGroupIPVersionResponse,
    TimeseriesGroupProtocolResponse,
    TimeseriesGroupVectorResponse,
    TimeseriesGroupVerticalResponse,
)

Methods:

Top

Types:

from cloudflare.types.radar.attacks.layer3 import (
    TopAttacksResponse,
    TopIndustryResponse,
    TopVerticalResponse,
)

Methods:

Locations

Types:

from cloudflare.types.radar.attacks.layer3.top import LocationOriginResponse, LocationTargetResponse

Methods:

Layer7

Types:

from cloudflare.types.radar.attacks import Layer7TimeseriesResponse

Methods:

Summary

Types:

from cloudflare.types.radar.attacks.layer7 import (
    SummaryGetResponse,
    SummaryHTTPMethodResponse,
    SummaryHTTPVersionResponse,
    SummaryIPVersionResponse,
    SummaryManagedRulesResponse,
    SummaryMitigationProductResponse,
)

Methods:

TimeseriesGroups

Types:

from cloudflare.types.radar.attacks.layer7 import (
    TimeseriesGroupGetResponse,
    TimeseriesGroupHTTPMethodResponse,
    TimeseriesGroupHTTPVersionResponse,
    TimeseriesGroupIndustryResponse,
    TimeseriesGroupIPVersionResponse,
    TimeseriesGroupManagedRulesResponse,
    TimeseriesGroupMitigationProductResponse,
    TimeseriesGroupVerticalResponse,
)

Methods:

Top

Types:

from cloudflare.types.radar.attacks.layer7 import (
    TopAttacksResponse,
    TopIndustryResponse,
    TopVerticalResponse,
)

Methods:

Locations

Types:

from cloudflare.types.radar.attacks.layer7.top import LocationOriginResponse, LocationTargetResponse

Methods:

Ases

Types:

from cloudflare.types.radar.attacks.layer7.top import AseOriginResponse

Methods:

Entities

Types:

from cloudflare.types.radar import EntityGetResponse

Methods:

ASNs

Types:

from cloudflare.types.radar.entities import (
    ASNListResponse,
    ASNGetResponse,
    ASNIPResponse,
    ASNRelResponse,
)

Methods:

Locations

Types:

from cloudflare.types.radar.entities import LocationListResponse, LocationGetResponse

Methods:

HTTP

Top

Types:

from cloudflare.types.radar.http import TopBrowserFamiliesResponse, TopBrowsersResponse

Methods:

Locations

Types:

from cloudflare.types.radar.http import LocationGetResponse

Methods:

BotClass

Types:

from cloudflare.types.radar.http.locations import BotClassGetResponse

Methods:

DeviceType

Types:

from cloudflare.types.radar.http.locations import DeviceTypeGetResponse

Methods:

HTTPProtocol

Types:

from cloudflare.types.radar.http.locations import HTTPProtocolGetResponse

Methods:

HTTPMethod

Types:

from cloudflare.types.radar.http.locations import HTTPMethodGetResponse

Methods:

IPVersion

Types:

from cloudflare.types.radar.http.locations import IPVersionGetResponse

Methods:

OS

Types:

from cloudflare.types.radar.http.locations import OSGetResponse

Methods:

TLSVersion

Types:

from cloudflare.types.radar.http.locations import TLSVersionGetResponse

Methods:

Ases

Types:

from cloudflare.types.radar.http import AseGetResponse

Methods:

BotClass

Types:

from cloudflare.types.radar.http.ases import BotClassGetResponse

Methods:

DeviceType

Types:

from cloudflare.types.radar.http.ases import DeviceTypeGetResponse

Methods:

HTTPProtocol

Types:

from cloudflare.types.radar.http.ases import HTTPProtocolGetResponse

Methods:

HTTPMethod

Types:

from cloudflare.types.radar.http.ases import HTTPMethodGetResponse

Methods:

IPVersion

Types:

from cloudflare.types.radar.http.ases import IPVersionGetResponse

Methods:

OS

Types:

from cloudflare.types.radar.http.ases import OSGetResponse

Methods:

TLSVersion

Types:

from cloudflare.types.radar.http.ases import TLSVersionGetResponse

Methods:

Summary

Types:

from cloudflare.types.radar.http import (
    SummaryBotClassResponse,
    SummaryDeviceTypeResponse,
    SummaryHTTPProtocolResponse,
    SummaryHTTPVersionResponse,
    SummaryIPVersionResponse,
    SummaryOSResponse,
    SummaryTLSVersionResponse,
)

Methods:

TimeseriesGroups

Types:

from cloudflare.types.radar.http import (
    TimeseriesGroupBotClassResponse,
    TimeseriesGroupBrowserResponse,
    TimeseriesGroupBrowserFamilyResponse,
    TimeseriesGroupDeviceTypeResponse,
    TimeseriesGroupHTTPProtocolResponse,
    TimeseriesGroupHTTPVersionResponse,
    TimeseriesGroupIPVersionResponse,
    TimeseriesGroupOSResponse,
    TimeseriesGroupTLSVersionResponse,
)

Methods:

Quality

IQI

Types:

from cloudflare.types.radar.quality import IQISummaryResponse, IQITimeseriesGroupsResponse

Methods:

Speed

Types:

from cloudflare.types.radar.quality import SpeedHistogramResponse, SpeedSummaryResponse

Methods:

Top

Types:

from cloudflare.types.radar.quality.speed import TopAsesResponse, TopLocationsResponse

Methods:

Ranking

Types:

from cloudflare.types.radar import RankingTimeseriesGroupsResponse, RankingTopResponse

Methods:

Domain

Types:

from cloudflare.types.radar.ranking import DomainGetResponse

Methods:

TrafficAnomalies

Types:

from cloudflare.types.radar import TrafficAnomalyGetResponse

Methods:

Locations

Types:

from cloudflare.types.radar.traffic_anomalies import LocationGetResponse

Methods:

BotManagement

Types:

from cloudflare.types import BotManagementUpdateResponse, BotManagementGetResponse

Methods:

OriginPostQuantumEncryption

Types:

from cloudflare.types import (
    OriginPostQuantumEncryptionUpdateResponse,
    OriginPostQuantumEncryptionGetResponse,
)

Methods:

Speed

Types:

from cloudflare.types import ObservatorySchedule, ObservatoryTrend, SpeedDeleteResponse

Methods:

Tests

Types:

from cloudflare.types.speed import ObservatoryPageTest, TestListResponse, TestDeleteResponse

Methods:

Schedule

Types:

from cloudflare.types.speed import ScheduleCreateResponse

Methods:

Availabilities

Types:

from cloudflare.types.speed import ObservatoryAvailabilities

Methods:

Pages

Types:

from cloudflare.types.speed import PageListResponse

Methods:

DCVDelegation

UUID

Types:

from cloudflare.types.dcv_delegation import DCVDelegationUUID

Methods:

Hostnames

Settings

TLS

Types:

from cloudflare.types.hostnames.settings import (
    HostnameSettingDelete,
    HostnameStting,
    TLSGetResponse,
)

Methods:

Snippets

Types:

from cloudflare.types import Snippet, SnippetDeleteResponse

Methods:

Content

Methods:

  • client.snippets.content.get(snippet_name, *, zone_identifier) -> BinaryAPIResponse

Rules

Types:

from cloudflare.types.snippets import RuleUpdateResponse, RuleListResponse

Methods:

Calls

Types:

from cloudflare.types import CallsApp, CallsAppWithSecret

Methods:

CloudforceOne

Requests

Types:

from cloudflare.types.cloudforce_one import (
    CloudforceOneQuota,
    CloudforceOneRequestConstants,
    CloudforceOneRequestItem,
    CloudforceOneRequestListItem,
    CloudforceOneRequestTypes,
    RequestDeleteResponse,
)

Methods:

Message

Types:

from cloudflare.types.cloudforce_one.requests import (
    CloudforceOneRequestMessageItem,
    MessageDeleteResponse,
    MessageGetResponse,
)

Methods:

Priority

Types:

from cloudflare.types.cloudforce_one.requests import (
    CloudforceOnePriorityItem,
    PriorityDeleteResponse,
)

Methods: