共用方式為


DeepCreatedOrigin interface

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

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 NOTE: This property will not be serialized. It can only be populated by the server.

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

Property Details

enabled

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

enabled?: boolean

Property Value

boolean

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.

hostName?: string

Property Value

string

httpPort

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

httpPort?: number

Property Value

number

httpsPort

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

httpsPort?: number

Property Value

number

name

Origin name which must be unique within the endpoint.

name: string

Property Value

string

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.

originHostHeader?: string

Property Value

string

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.

priority?: number

Property Value

number

privateEndpointStatus

The approval status for the connection to the Private Link NOTE: This property will not be serialized. It can only be populated by the server.

privateEndpointStatus?: string

Property Value

string

privateLinkAlias

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

privateLinkAlias?: string

Property Value

string

privateLinkApprovalMessage

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

privateLinkApprovalMessage?: string

Property Value

string

privateLinkLocation

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

privateLinkLocation?: string

Property Value

string

privateLinkResourceId

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

privateLinkResourceId?: string

Property Value

string

weight

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

weight?: number

Property Value

number