共用方式為


DeepCreatedOrigin Constructors

Definition

Overloads

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.

DeepCreatedOrigin()

Initializes a new instance of the DeepCreatedOrigin class.

public DeepCreatedOrigin ();
Public Sub New ()

Applies to

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.

public DeepCreatedOrigin (string name, string hostName, 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);
new Microsoft.Azure.Management.Cdn.Models.DeepCreatedOrigin : string * string * Nullable<int> * Nullable<int> * string * Nullable<int> * Nullable<int> * Nullable<bool> * string * string * string * string -> Microsoft.Azure.Management.Cdn.Models.DeepCreatedOrigin
Public Sub New (name As String, hostName As String, 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)

Parameters

name
String

Origin name which must be unique within the endpoint.

hostName
String

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

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

httpsPort
Nullable<Int32>

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

originHostHeader
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.

priority
Nullable<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
Nullable<Int32>

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

enabled
Nullable<Boolean>

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

privateLinkAlias
String

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

privateLinkResourceId
String

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

privateLinkLocation
String

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

privateLinkApprovalMessage
String

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

Applies to