Table of Contents

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

BucketId string

The unique identifier of the bucket.

Domain string

The r2.dev domain hostname (e.g., "bucket-name.account-id.r2.dev").

Enabled bool

Whether 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

string

Domain

The r2.dev domain hostname (e.g., "bucket-name.account-id.r2.dev").

[JsonPropertyName("domain")]
public string? Domain { get; init; }

Property Value

string

Enabled

Whether public access via the r2.dev domain is enabled.

[JsonPropertyName("enabled")]
public bool Enabled { get; init; }

Property Value

bool