Table of Contents

Class FallbackOrigin

Namespace
Cloudflare.NET.Zones.CustomHostnames.Models
Assembly
Cloudflare.NET.dll

Represents the fallback origin for custom hostnames in a zone.

public record FallbackOrigin : IEquatable<FallbackOrigin>
Inheritance
FallbackOrigin
Implements
Inherited Members

Remarks

The fallback origin is the default origin server used when a custom hostname does not have a specific custom_origin_server configured.

Constructors

FallbackOrigin(string, string?)

Represents the fallback origin for custom hostnames in a zone.

public FallbackOrigin(string Origin, string? Status = null)

Parameters

Origin string

The fallback origin hostname.

Status string

The current status of the fallback origin configuration.

Remarks

The fallback origin is the default origin server used when a custom hostname does not have a specific custom_origin_server configured.

Properties

Origin

The fallback origin hostname.

[JsonPropertyName("origin")]
public string Origin { get; init; }

Property Value

string

Status

The current status of the fallback origin configuration.

[JsonPropertyName("status")]
public string? Status { get; init; }

Property Value

string