ArmCdnModelFactory.FrontDoorOriginProperties Method

Definition

public static Azure.ResourceManager.Cdn.Models.FrontDoorOriginProperties FrontDoorOriginProperties(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.FrontDoorOriginCapacitySettings originCapacityResource = 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 FrontDoorOriginProperties : string * Azure.Core.ResourceIdentifier * string * Nullable<int> * Nullable<int> * string * Nullable<int> * Nullable<int> * Azure.ResourceManager.Cdn.Models.SharedPrivateLinkResourceProperties * Azure.ResourceManager.Cdn.Models.FrontDoorOriginCapacitySettings * Nullable<Azure.ResourceManager.Cdn.Models.EnabledState> * Nullable<bool> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus> -> Azure.ResourceManager.Cdn.Models.FrontDoorOriginProperties
Public Shared Function FrontDoorOriginProperties (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 originCapacityResource As FrontDoorOriginCapacitySettings = 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 FrontDoorOriginProperties

Parameters

originGroupName
String

The name of the origin group which contains this origin.

originId
ResourceIdentifier

Resource ID.

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.

originCapacityResource
FrontDoorOriginCapacitySettings

Origin capacity settings for an 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 FrontDoorOriginProperties instance for mocking.

Applies to