共用方式為


ArmCdnModelFactory.FrontDoorOriginGroupPatch Method

Definition

Initializes a new instance of FrontDoorOriginGroupPatch.

public static Azure.ResourceManager.Cdn.Models.FrontDoorOriginGroupPatch FrontDoorOriginGroupPatch (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);
static member FrontDoorOriginGroupPatch : string * Azure.ResourceManager.Cdn.Models.LoadBalancingSettings * Azure.ResourceManager.Cdn.Models.HealthProbeSettings * Nullable<int> * Nullable<Azure.ResourceManager.Cdn.Models.EnabledState> -> Azure.ResourceManager.Cdn.Models.FrontDoorOriginGroupPatch
Public Shared Function FrontDoorOriginGroupPatch (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) As FrontDoorOriginGroupPatch

Parameters

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'.

Returns

A new FrontDoorOriginGroupPatch instance for mocking.

Applies to