Origin Constructors

Definition

Overloads

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.

Origin()

Initializes a new instance of the Origin class.

public Origin ();
Public Sub New ()

Applies to

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.

public Origin (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Cdn.Models.SystemData systemData = default, string hostName = default, int? httpPort = default, int? httpsPort = default, string originHostHeader = default, int? priority = default, int? weight = default, bool? enabled = default, string privateLinkAlias = default, string privateLinkResourceId = default, string privateLinkLocation = default, string privateLinkApprovalMessage = default, string resourceState = default, string provisioningState = default, string privateEndpointStatus = default);
new Microsoft.Azure.Management.Cdn.Models.Origin : string * string * string * Microsoft.Azure.Management.Cdn.Models.SystemData * string * Nullable<int> * Nullable<int> * string * Nullable<int> * Nullable<int> * Nullable<bool> * string * string * string * string * string * string * string -> Microsoft.Azure.Management.Cdn.Models.Origin
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional hostName As String = Nothing, Optional httpPort As Nullable(Of Integer) = Nothing, Optional httpsPort As Nullable(Of Integer) = Nothing, Optional originHostHeader As String = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional weight As Nullable(Of Integer) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional privateLinkAlias As String = Nothing, Optional privateLinkResourceId As String = Nothing, Optional privateLinkLocation As String = Nothing, Optional privateLinkApprovalMessage As String = Nothing, Optional resourceState As String = Nothing, Optional provisioningState As String = Nothing, Optional privateEndpointStatus As String = Nothing)

Parameters

id
System.String

Resource ID.

name
System.String

Resource name.

type
System.String

Resource type.

systemData
SystemData
hostName
System.String

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
System.Nullable<System.Int32>

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

httpsPort
System.Nullable<System.Int32>

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

originHostHeader
System.String

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
System.Nullable<System.Int32>

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

weight
System.Nullable<System.Int32>

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

enabled
System.Nullable<System.Boolean>

Origin is enabled for load balancing or not

privateLinkAlias
System.String

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

privateLinkResourceId
System.String

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

privateLinkLocation
System.String

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

privateLinkApprovalMessage
System.String

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

resourceState
System.String

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

provisioningState
System.String

Provisioning status of the origin.

privateEndpointStatus
System.String

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

Applies to