DeepCreatedOrigin Class

Definition

The main origin of CDN content which is added when creating a CDN endpoint.

public class DeepCreatedOrigin : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.DeepCreatedOrigin>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.DeepCreatedOrigin>
public class DeepCreatedOrigin
type DeepCreatedOrigin = class
    interface IJsonModel<DeepCreatedOrigin>
    interface IPersistableModel<DeepCreatedOrigin>
type DeepCreatedOrigin = class
Public Class DeepCreatedOrigin
Implements IJsonModel(Of DeepCreatedOrigin), IPersistableModel(Of DeepCreatedOrigin)
Public Class DeepCreatedOrigin
Inheritance
DeepCreatedOrigin
Implements

Constructors

DeepCreatedOrigin(String)

Initializes a new instance of DeepCreatedOrigin.

Properties

Enabled

Origin is enabled for load balancing or not. By default, origin is always enabled.

HostName

The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint.

HttpPort

The value of the HTTP port. Must be between 1 and 65535.

HttpsPort

The value of the HTTPS port. Must be between 1 and 65535.

Name

Origin name which must be unique within the endpoint.

OriginHostHeader

The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.

Priority

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5.

PrivateEndpointStatus

The approval status for the connection to the Private Link.

PrivateLinkAlias

The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'.

PrivateLinkApprovalMessage

A custom message to be included in the approval request to connect to the Private Link.

PrivateLinkLocation

The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated.

PrivateLinkResourceId

The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'.

Weight

Weight of the origin in given origin group for load balancing. Must be between 1 and 1000.

Explicit Interface Implementations

IJsonModel<DeepCreatedOrigin>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DeepCreatedOrigin>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DeepCreatedOrigin>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeepCreatedOrigin>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DeepCreatedOrigin>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to