你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IOrigin Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.OriginTypeConverter))]
public interface IOrigin : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.OriginTypeConverter))>]
type IOrigin = interface
    interface IJsonSerializable
    interface IResource
Public Interface IOrigin
Implements IResource
Derived
Attributes
Implements

Properties

Enabled

Origin is enabled for load balancing or not

HostHeader

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

HostName

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

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.

Id

Resource ID.

(Inherited from IResource)
Location
Name

Resource name.

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

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'

ProvisioningState

Provisioning status of the origin.

ResourceState

Resource status of the origin.

SystemDataCreatedAt

The timestamp of resource creation (UTC)

(Inherited from IResource)
SystemDataCreatedBy

An identifier for the identity that created the resource

(Inherited from IResource)
SystemDataCreatedByType

The type of identity that created the resource

(Inherited from IResource)
SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

(Inherited from IResource)
SystemDataLastModifiedBy

An identifier for the identity that last modified the resource

(Inherited from IResource)
SystemDataLastModifiedByType

The type of identity that last modified the resource

(Inherited from IResource)
Type

Resource type.

(Inherited from IResource)
Weight

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

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to