Partilhar via


ArmFrontDoorModelFactory.FrontDoorLoadBalancingSettingsData Method

Definition

Initializes a new instance of FrontDoorLoadBalancingSettingsData.

public static Azure.ResourceManager.FrontDoor.Models.FrontDoorLoadBalancingSettingsData FrontDoorLoadBalancingSettingsData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, int? sampleSize = default, int? successfulSamplesRequired = default, int? additionalLatencyMilliseconds = default, Azure.ResourceManager.FrontDoor.Models.FrontDoorResourceState? resourceState = default);
static member FrontDoorLoadBalancingSettingsData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.FrontDoor.Models.FrontDoorResourceState> -> Azure.ResourceManager.FrontDoor.Models.FrontDoorLoadBalancingSettingsData
Public Shared Function FrontDoorLoadBalancingSettingsData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional sampleSize As Nullable(Of Integer) = Nothing, Optional successfulSamplesRequired As Nullable(Of Integer) = Nothing, Optional additionalLatencyMilliseconds As Nullable(Of Integer) = Nothing, Optional resourceState As Nullable(Of FrontDoorResourceState) = Nothing) As FrontDoorLoadBalancingSettingsData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

sampleSize
Nullable<Int32>

The number of samples to consider for load balancing decisions.

successfulSamplesRequired
Nullable<Int32>

The number of samples within the sample period that must succeed.

additionalLatencyMilliseconds
Nullable<Int32>

The additional latency in milliseconds for probes to fall into the lowest latency bucket.

resourceState
Nullable<FrontDoorResourceState>

Resource status.

Returns

A new FrontDoorLoadBalancingSettingsData instance for mocking.

Applies to