ArmCdnModelFactory.FrontDoorOriginData Method

Definition

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, 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, Azure.Core.ResourceIdentifier originId = default);
static member FrontDoorOriginData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * 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.Core.ResourceIdentifier -> 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 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, Optional originId As ResourceIdentifier = Nothing) As FrontDoorOriginData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

originGroupName
String

The name of the origin group which contains this origin.

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.

deploymentStatus
Nullable<FrontDoorDeploymentStatus>

Gets the DeploymentStatus.

originId
ResourceIdentifier

Resource ID.

Returns

A new FrontDoorOriginData instance for mocking.

Applies to