共用方式為


ArmCdnModelFactory.FrontDoorOriginGroupData Method

Definition

Initializes a new instance of FrontDoorOriginGroupData.

public static Azure.ResourceManager.Cdn.FrontDoorOriginGroupData FrontDoorOriginGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string profileName = default, Azure.ResourceManager.Cdn.Models.LoadBalancingSettings loadBalancingSettings = default, Azure.ResourceManager.Cdn.Models.HealthProbeSettings healthProbeSettings = default, int? trafficRestorationTimeInMinutes = default, Azure.ResourceManager.Cdn.Models.EnabledState? sessionAffinityState = default, Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState? provisioningState = default, Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus? deploymentStatus = default);
static member FrontDoorOriginGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.ResourceManager.Cdn.Models.LoadBalancingSettings * Azure.ResourceManager.Cdn.Models.HealthProbeSettings * Nullable<int> * Nullable<Azure.ResourceManager.Cdn.Models.EnabledState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus> -> Azure.ResourceManager.Cdn.FrontDoorOriginGroupData
Public Shared Function FrontDoorOriginGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional profileName As String = Nothing, Optional loadBalancingSettings As LoadBalancingSettings = Nothing, Optional healthProbeSettings As HealthProbeSettings = Nothing, Optional trafficRestorationTimeInMinutes As Nullable(Of Integer) = Nothing, Optional sessionAffinityState As Nullable(Of EnabledState) = Nothing, Optional provisioningState As Nullable(Of FrontDoorProvisioningState) = Nothing, Optional deploymentStatus As Nullable(Of FrontDoorDeploymentStatus) = Nothing) As FrontDoorOriginGroupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

profileName
String

The name of the profile which holds the origin group.

loadBalancingSettings
LoadBalancingSettings

Load balancing settings for a backend pool.

healthProbeSettings
HealthProbeSettings

Health probe settings to the origin that is used to determine the health of the origin.

trafficRestorationTimeInMinutes
Nullable<Int32>

Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.

sessionAffinityState
Nullable<EnabledState>

Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.

provisioningState
Nullable<FrontDoorProvisioningState>

Provisioning status.

Returns

A new FrontDoorOriginGroupData instance for mocking.

Applies to