Origin Class

Definition

CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Origin : Microsoft.Azure.Management.Cdn.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Origin = class
    inherit ProxyResource
Public Class Origin
Inherits ProxyResource
Inheritance
Attributes

Constructors

Origin()

Initializes a new instance of the Origin class.

Origin(String, String, String, SystemData, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, String, String, String, String, String, String, String)

Initializes a new instance of the Origin class.

Properties

Enabled

Gets or sets origin is enabled for load balancing or not

HostName

Gets or sets the address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.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.

Id

Gets resource ID.

(Inherited from Resource)
Name

Gets resource name.

(Inherited from Resource)
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. This overrides the host header defined at Endpoint

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

PrivateEndpointStatus

Gets the approval status for the connection to the Private Link. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected', 'Timeout'

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'

ProvisioningState

Gets provisioning status of the origin.

ResourceState

Gets resource status of the origin. Possible values include: 'Creating', 'Active', 'Deleting'

SystemData (Inherited from Resource)
Type

Gets resource type.

(Inherited from Resource)
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