Versions in this module Expand all Collapse all v6 v6.0.0 Aug 29, 2025 Changes in this version + const AuditLogActorTypeAdmin + const AuditLogActorTypeCloudflare + const AuditLogActorTypeUser + const CertificateCADigicert + const CertificateCAGoogle + const CertificateCALetsEncrypt + const CertificateCASSLCom + const CertificateRequestTypeKeylessCertificate + const CertificateRequestTypeOriginECC + const CertificateRequestTypeOriginRSA + const CloudflareTunnelConfigSrcCloudflare + const CloudflareTunnelConfigSrcLocal + const CloudflareTunnelStatusDegraded + const CloudflareTunnelStatusDown + const CloudflareTunnelStatusHealthy + const CloudflareTunnelStatusInactive + const CloudflareTunnelTunTypeCNI + const CloudflareTunnelTunTypeCfdTunnel + const CloudflareTunnelTunTypeGRE + const CloudflareTunnelTunTypeIPSec + const CloudflareTunnelTunTypeMagic + const CloudflareTunnelTunTypeWARP + const CloudflareTunnelTunTypeWARPConnector + const MemberPoliciesAccessAllow + const MemberPoliciesAccessDeny + const MemberStatusAccepted + const MemberStatusPending + const RatePlanIDBusiness + const RatePlanIDEnterprise + const RatePlanIDFree + const RatePlanIDLite + const RatePlanIDPartnersBusiness + const RatePlanIDPartnersEnterprise + const RatePlanIDPartnersFree + const RatePlanIDPartnersPro + const RatePlanIDPro + const RatePlanIDProPlus + const SortDirectionAsc + const SortDirectionDesc + const SubscriptionFrequencyMonthly + const SubscriptionFrequencyQuarterly + const SubscriptionFrequencyWeekly + const SubscriptionFrequencyYearly + const SubscriptionStateAwaitingPayment + const SubscriptionStateCancelled + const SubscriptionStateExpired + const SubscriptionStateFailed + const SubscriptionStatePaid + const SubscriptionStateProvisioned + const SubscriptionStateTrial + const TokenPolicyEffectAllow + const TokenPolicyEffectDeny + const TokenStatusActive + const TokenStatusDisabled + const TokenStatusExpired + func Bool(value bool) param.Field[bool] + func DefaultClientOptions() []option.RequestOption + func F[T any](value T) param.Field[T] + func FileParam(reader io.Reader, filename string, contentType string) param.Field[io.Reader] + func Float(value float64) param.Field[float64] + func Int(value int64) param.Field[int64] + func Null[T any]() param.Field[T] + func Raw[T any](value any) param.Field[T] + func String(value string) param.Field[string] + type ASN = shared.ASN + type ASNParam = shared.ASNParam + type AuditLog = shared.AuditLog + type AuditLogAction = shared.AuditLogAction + type AuditLogActor = shared.AuditLogActor + type AuditLogActorType = shared.AuditLogActorType + type AuditLogOwner = shared.AuditLogOwner + type AuditLogResource = shared.AuditLogResource + type CertificateCA = shared.CertificateCA + type CertificateRequestType = shared.CertificateRequestType + type Client struct + ACM *acm.ACMService + AI *ai.AIService + AIGateway *ai_gateway.AIGatewayService + APIGateway *api_gateway.APIGatewayService + AbuseReports *abuse_reports.AbuseReportService + Accounts *accounts.AccountService + Addressing *addressing.AddressingService + Alerting *alerting.AlertingService + Argo *argo.ArgoService + AuditLogs *audit_logs.AuditLogService + Billing *billing.BillingService + BotManagement *bot_management.BotManagementService + BotnetFeed *botnet_feed.BotnetFeedService + BrandProtection *brand_protection.BrandProtectionService + BrowserRendering *browser_rendering.BrowserRenderingService + Cache *cache.CacheService + Calls *calls.CallService + CertificateAuthorities *certificate_authorities.CertificateAuthorityService + ClientCertificates *client_certificates.ClientCertificateService + CloudConnector *cloud_connector.CloudConnectorService + CloudforceOne *cloudforce_one.CloudforceOneService + ContentScanning *content_scanning.ContentScanningService + CustomCertificates *custom_certificates.CustomCertificateService + CustomHostnames *custom_hostnames.CustomHostnameService + CustomNameservers *custom_nameservers.CustomNameserverService + CustomPages *custom_pages.CustomPageService + D1 *d1.D1Service + DCVDelegation *dcv_delegation.DCVDelegationService + DNS *dns.DNSService + DNSFirewall *dns_firewall.DNSFirewallService + Diagnostics *diagnostics.DiagnosticService + DurableObjects *durable_objects.DurableObjectService + EmailRouting *email_routing.EmailRoutingService + EmailSecurity *email_security.EmailSecurityService + Filters *filters.FilterService + Firewall *firewall.FirewallService + Healthchecks *healthchecks.HealthcheckService + Hostnames *hostnames.HostnameService + Hyperdrive *hyperdrive.HyperdriveService + IAM *iam.IAMService + IPs *ips.IPService + Images *images.ImageService + Intel *intel.IntelService + KV *kv.KVService + KeylessCertificates *keyless_certificates.KeylessCertificateService + LeakedCredentialChecks *leaked_credential_checks.LeakedCredentialCheckService + LoadBalancers *load_balancers.LoadBalancerService + Logpush *logpush.LogpushService + Logs *logs.LogService + MTLSCertificates *mtls_certificates.MTLSCertificateService + MagicCloudNetworking *magic_cloud_networking.MagicCloudNetworkingService + MagicNetworkMonitoring *magic_network_monitoring.MagicNetworkMonitoringService + MagicTransit *magic_transit.MagicTransitService + ManagedTransforms *managed_transforms.ManagedTransformService + Memberships *memberships.MembershipService + NetworkInterconnects *network_interconnects.NetworkInterconnectService + Options []option.RequestOption + OriginCACertificates *origin_ca_certificates.OriginCACertificateService + OriginPostQuantumEncryption *origin_post_quantum_encryption.OriginPostQuantumEncryptionService + OriginTLSClientAuth *origin_tls_client_auth.OriginTLSClientAuthService + PageRules *page_rules.PageRuleService + PageShield *page_shield.PageShieldService + Pages *pages.PageService + Pipelines *pipelines.PipelineService + Queues *queues.QueueService + R2 *r2.R2Service + RUM *rum.RUMService + Radar *radar.RadarService + RateLimits *rate_limits.RateLimitService + Registrar *registrar.RegistrarService + RequestTracers *request_tracers.RequestTracerService + ResourceSharing *resource_sharing.ResourceSharingService + Rules *rules.RuleService + Rulesets *rulesets.RulesetService + SSL *ssl.SSLService + SchemaValidation *schema_validation.SchemaValidationService + SecretsStore *secrets_store.SecretsStoreService + SecurityCenter *security_center.SecurityCenterService + SecurityTXT *security_txt.SecurityTXTService + Snippets *snippets.SnippetService + Spectrum *spectrum.SpectrumService + Speed *speed.SpeedService + Stream *stream.StreamService + Turnstile *turnstile.TurnstileService + URLNormalization *url_normalization.URLNormalizationService + URLScanner *url_scanner.URLScannerService + User *user.UserService + Vectorize *vectorize.VectorizeService + WaitingRooms *waiting_rooms.WaitingRoomService + Web3 *web3.Web3Service + Workers *workers.WorkerService + WorkersForPlatforms *workers_for_platforms.WorkersForPlatformService + Workflows *workflows.WorkflowService + Zaraz *zaraz.ZarazService + ZeroTrust *zero_trust.ZeroTrustService + Zones *zones.ZoneService + func NewClient(opts ...option.RequestOption) (r *Client) + func (r *Client) Delete(ctx context.Context, path string, params interface{}, res interface{}, ...) error + func (r *Client) Execute(ctx context.Context, method string, path string, params interface{}, ...) error + func (r *Client) Get(ctx context.Context, path string, params interface{}, res interface{}, ...) error + func (r *Client) Patch(ctx context.Context, path string, params interface{}, res interface{}, ...) error + func (r *Client) Post(ctx context.Context, path string, params interface{}, res interface{}, ...) error + func (r *Client) Put(ctx context.Context, path string, params interface{}, res interface{}, ...) error + type CloudflareTunnel = shared.CloudflareTunnel + type CloudflareTunnelConfigSrc = shared.CloudflareTunnelConfigSrc + type CloudflareTunnelConnection = shared.CloudflareTunnelConnection + type CloudflareTunnelStatus = shared.CloudflareTunnelStatus + type CloudflareTunnelTunType = shared.CloudflareTunnelTunType + type Error = apierror.Error + type ErrorData = shared.ErrorData + type ErrorDataSource = shared.ErrorDataSource + type Member = shared.Member + type MemberPoliciesAccess = shared.MemberPoliciesAccess + type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + type MemberPolicy = shared.MemberPolicy + type MemberStatus = shared.MemberStatus + type MemberUser = shared.MemberUser + type Permission = shared.Permission + type PermissionGrant = shared.PermissionGrant + type PermissionGrantParam = shared.PermissionGrantParam + type RatePlan = shared.RatePlan + type RatePlanID = shared.RatePlanID + type RatePlanParam = shared.RatePlanParam + type ResponseInfo = shared.ResponseInfo + type ResponseInfoSource = shared.ResponseInfoSource + type Role = shared.Role + type RoleParam = shared.RoleParam + type RolePermissions = shared.RolePermissions + type RolePermissionsParam = shared.RolePermissionsParam + type SortDirection = shared.SortDirection + type Subscription = shared.Subscription + type SubscriptionFrequency = shared.SubscriptionFrequency + type SubscriptionParam = shared.SubscriptionParam + type SubscriptionState = shared.SubscriptionState + type Token = shared.Token + type TokenCondition = shared.TokenCondition + type TokenConditionCIDRList = shared.TokenConditionCIDRList + type TokenConditionCIDRListParam = shared.TokenConditionCIDRListParam + type TokenConditionParam = shared.TokenConditionParam + type TokenConditionRequestIP = shared.TokenConditionRequestIP + type TokenConditionRequestIPParam = shared.TokenConditionRequestIPParam + type TokenParam = shared.TokenParam + type TokenPolicy = shared.TokenPolicy + type TokenPolicyEffect = shared.TokenPolicyEffect + type TokenPolicyParam = shared.TokenPolicyParam + type TokenPolicyPermissionGroup = shared.TokenPolicyPermissionGroup + type TokenPolicyPermissionGroupParam = shared.TokenPolicyPermissionGroupParam + type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta + type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMetaParam + type TokenPolicyResourcesIAMResourcesTypeObjectNested = shared.TokenPolicyResourcesIAMResourcesTypeObjectNested + type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectNestedParam + type TokenPolicyResourcesIAMResourcesTypeObjectString = shared.TokenPolicyResourcesIAMResourcesTypeObjectString + type TokenPolicyResourcesIAMResourcesTypeObjectStringParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam + type TokenPolicyResourcesUnion = shared.TokenPolicyResourcesUnion + type TokenPolicyResourcesUnionParam = shared.TokenPolicyResourcesUnionParam + type TokenStatus = shared.TokenStatus + type TokenValue = shared.TokenValue Other modules containing this package github.com/cloudflare/cloudflare-go github.com/cloudflare/cloudflare-go/v2 github.com/cloudflare/cloudflare-go/v3 github.com/cloudflare/cloudflare-go/v4 github.com/cloudflare/cloudflare-go/v5