DeepCreatedOrigin Class

Definition

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

[Microsoft.Rest.Serialization.JsonTransformation]
public class DeepCreatedOrigin : Microsoft.Rest.Azure.IResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type DeepCreatedOrigin = class
    interface IResource
Public Class DeepCreatedOrigin
Implements IResource
Inheritance
DeepCreatedOrigin
Attributes
Implements

Constructors

DeepCreatedOrigin()

Initializes a new instance of the DeepCreatedOrigin class.

DeepCreatedOrigin(String, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, String, String, String, String)

Initializes a new instance of the DeepCreatedOrigin class.

Properties

Enabled

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

HostName

Gets or sets 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

Gets or sets the value of the HTTP port. Must be between 1 and 65535.

HttpsPort

Gets or sets the value of the HTTPS port. Must be between 1 and 65535.

Name

Gets or sets origin name which must be unique within the endpoint.

OriginHostHeader

Gets or sets 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

Gets or sets 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.

PrivateLinkAlias

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

PrivateLinkApprovalMessage

Gets or sets a custom message to be included in the approval request to connect to the Private Link.

PrivateLinkLocation

Gets or sets the location of the Private Link resource. Required only if 'privateLinkResourceId' is populated

PrivateLinkResourceId

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

Weight

Gets or sets weight of the origin in given origin group for load balancing. Must be between 1 and 1000

Methods

Validate()

Validate the object.

Applies to