Sdílet prostřednictvím


ArmCdnModelFactory.FrontDoorOriginData Method

Definition

Initializes a new instance of FrontDoorOriginData.

public static Azure.ResourceManager.Cdn.FrontDoorOriginData FrontDoorOriginData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string originGroupName = default, Azure.Core.ResourceIdentifier originId = default, string hostName = default, int? httpPort = default, int? httpsPort = default, string originHostHeader = default, int? priority = default, int? weight = default, Azure.ResourceManager.Cdn.Models.SharedPrivateLinkResourceProperties sharedPrivateLinkResource = default, Azure.ResourceManager.Cdn.Models.EnabledState? enabledState = default, bool? enforceCertificateNameCheck = default, Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState? provisioningState = default, Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus? deploymentStatus = default);
static member FrontDoorOriginData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.Core.ResourceIdentifier * string * Nullable<int> * Nullable<int> * string * Nullable<int> * Nullable<int> * Azure.ResourceManager.Cdn.Models.SharedPrivateLinkResourceProperties * Nullable<Azure.ResourceManager.Cdn.Models.EnabledState> * Nullable<bool> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus> -> Azure.ResourceManager.Cdn.FrontDoorOriginData
Public Shared Function FrontDoorOriginData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional originGroupName As String = Nothing, Optional originId As ResourceIdentifier = 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 sharedPrivateLinkResource As SharedPrivateLinkResourceProperties = Nothing, Optional enabledState As Nullable(Of EnabledState) = Nothing, Optional enforceCertificateNameCheck As Nullable(Of Boolean) = Nothing, Optional provisioningState As Nullable(Of FrontDoorProvisioningState) = Nothing, Optional deploymentStatus As Nullable(Of FrontDoorDeploymentStatus) = Nothing) As FrontDoorOriginData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

originGroupName
String

The name of the origin group which contains this origin.

originId
ResourceIdentifier

Resource reference to the Azure origin resource.

hostName
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
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 Front Door 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
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.

sharedPrivateLinkResource
SharedPrivateLinkResourceProperties

The properties of the private link resource for private origin.

enabledState
Nullable<EnabledState>

Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.

enforceCertificateNameCheck
Nullable<Boolean>

Whether to enable certificate name check at origin level.

provisioningState
Nullable<FrontDoorProvisioningState>

Provisioning status.

Returns

A new FrontDoorOriginData instance for mocking.

Applies to