Namespace Cloudflare.NET.Accounts.Models
Classes
- AbortMultipartUploadsTransition
Represents a transition to abort incomplete multipart uploads.
- Account
Represents a Cloudflare account, the top-level container for zones and resources.
Accounts own zones, Workers, R2 buckets, and other Cloudflare resources. Multiple users can be members of the same account with different permission levels.
- AccountManagedBy
Parent organization information for accounts managed within an organizational hierarchy.
This is used by enterprise customers to organize multiple accounts under a parent organization.
- AccountSettings
Account settings including security and administrative configurations.
These settings apply to all members and resources within the account.
- AttachCustomDomainRequest
Defines the request payload for attaching a custom domain to a bucket.
- BucketCorsPolicy
Represents the CORS policy for an R2 bucket.
- BucketLifecyclePolicy
Represents the lifecycle policy for an R2 bucket.
- BucketLockCondition
Represents the condition that determines how long objects are locked.
- BucketLockPolicy
Represents the bucket lock policy containing all lock rules for a bucket.
- BucketLockRule
Represents a single bucket lock rule.
- CorsAllowed
Defines the allowed HTTP methods, origins, and headers for a CORS rule.
- CorsRule
Represents a single CORS rule for an R2 bucket.
- CreateAccountRequest
Request to create a new Cloudflare account.
Note: This operation is only available to tenant administrators. Standard users cannot create accounts via the API.
- CreateBucketRequest
Defines the request payload for creating an R2 bucket.
- CreateTempCredentialsRequest
Defines the request payload for creating temporary R2 access credentials.
- CustomDomain
Represents a custom domain in the list of custom domains for a bucket.
- CustomDomainResponse
Represents the response from attaching or querying a custom domain. The custom converter handles the polymorphic 'status' field. The EdgeHostname may be null in some responses.
- CustomDomainResponseConverter
A custom JSON converter for the CustomDomainResponse record. It handles the case where the "status" field from the Cloudflare API can be either a simple string (on creation) or a complex object (when querying an existing domain).
- CustomDomainStatusObject
This helper record models the nested 'status' object returned by the Cloudflare API when querying an existing custom domain.
- DeleteAccountResult
Result of deleting an account.
Contains the identifier of the deleted account to confirm successful deletion.
- DeleteObjectsTransition
Represents a transition to delete objects.
- EnableSippyFromAwsRequest
Request to enable Sippy migration from AWS S3.
- EnableSippyFromGcsRequest
Request to enable Sippy migration from Google Cloud Storage.
- EnableSippyRequest
Base class for Sippy enable requests.
- LifecycleCondition
Represents a condition that triggers a lifecycle transition.
- LifecycleRule
Represents a single lifecycle rule for an R2 bucket.
- LifecycleRuleConditions
Represents the filtering conditions for which objects a lifecycle rule applies to.
- ListAccountsFilters
Filtering and pagination options for listing accounts.
All properties are optional. When not specified, API defaults are used.
- ListCustomDomainsResponse
Represents the response wrapper for listing custom domains.
- ListR2BucketsFilters
Defines the filtering and pagination options for listing R2 Buckets.
- ListR2BucketsResponse
Represents the nested response structure for listing R2 buckets.
- ManagedDomainResponse
Represents the response for the R2-managed (r2.dev) domain configuration.
- R2Bucket
Represents an R2 bucket returned by the Cloudflare API.
- SetManagedDomainRequest
Defines the request payload for enabling or disabling the r2.dev subdomain.
- SippyAwsSource
Represents the source bucket configuration for Sippy migration from AWS S3.
- SippyConfig
Represents the current Sippy configuration for a bucket.
- SippyDestination
Represents the destination R2 bucket configuration for Sippy.
- SippyGcsSource
Represents the source bucket configuration for Sippy migration from Google Cloud Storage.
- SippySourceInfo
Represents the source configuration returned by the API. This is a read-only representation without sensitive credential data.
- StorageClassTransition
Represents a transition to change the storage class of objects.
- TempCredentials
Represents the temporary access credentials returned by the API.
- UpdateAccountRequest
Request to update an existing Cloudflare account.
Both the name and settings can be updated in a single request.
- UpdateCustomDomainRequest
Defines the request payload for updating a custom domain configuration.
Structs
- AccountType
Represents the type of a Cloudflare account.
Account types indicate the tier or category of the account, such as standard or enterprise.
- R2Jurisdiction
Represents a jurisdictional restriction for R2 bucket data storage.
Jurisdictions provide a guarantee that objects stored in the bucket will remain within a specific geographic or regulatory boundary. Unlike location hints, jurisdictions are enforced constraints.
- R2LocationHint
Represents a location hint for R2 bucket placement.
Location hints provide a suggestion for the geographic region where the bucket's data should be stored. Cloudflare will attempt to honor this hint, but data may be placed in a nearby region if the specified location is unavailable.
- R2StorageClass
Represents a storage class for R2 objects.
Storage classes determine the cost and access characteristics of stored objects. Different classes offer trade-offs between storage cost and retrieval latency/cost.
Interfaces
- IEnableSippySource
Base interface for Sippy enable requests.
Enums
- BucketLockConditionType
Defines the condition type for bucket lock rules.
- LifecycleConditionType
Defines the condition type for lifecycle rule transitions.
- SippyProvider
Defines the supported cloud storage providers for Sippy migrations.
- TempCredentialPermission
Defines the permission levels for temporary R2 credentials.