Class ManagedDomainResponse
- Namespace
- Cloudflare.NET.Accounts.Models
- Assembly
- Cloudflare.NET.dll
Represents the response for the R2-managed (r2.dev) domain configuration.
public record ManagedDomainResponse : IEquatable<ManagedDomainResponse>
- Inheritance
-
ManagedDomainResponse
- Implements
- Inherited Members
Constructors
ManagedDomainResponse(string?, string?, bool)
Represents the response for the R2-managed (r2.dev) domain configuration.
public ManagedDomainResponse(string? BucketId, string? Domain, bool Enabled)
Parameters
BucketIdstringThe unique identifier of the bucket.
DomainstringThe r2.dev domain hostname (e.g., "bucket-name.account-id.r2.dev").
EnabledboolWhether public access via the r2.dev domain is enabled.
Properties
BucketId
The unique identifier of the bucket.
[JsonPropertyName("bucketId")]
public string? BucketId { get; init; }
Property Value
Domain
The r2.dev domain hostname (e.g., "bucket-name.account-id.r2.dev").
[JsonPropertyName("domain")]
public string? Domain { get; init; }
Property Value
Enabled
Whether public access via the r2.dev domain is enabled.
[JsonPropertyName("enabled")]
public bool Enabled { get; init; }