Sdílet prostřednictvím


ArmNetworkModelFactory.ApplicationGatewayLoadDistributionPolicy Method

Definition

Initializes a new instance of ApplicationGatewayLoadDistributionPolicy.

public static Azure.ResourceManager.Network.Models.ApplicationGatewayLoadDistributionPolicy ApplicationGatewayLoadDistributionPolicy (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ApplicationGatewayLoadDistributionTarget> loadDistributionTargets = default, Azure.ResourceManager.Network.Models.ApplicationGatewayLoadDistributionAlgorithm? loadDistributionAlgorithm = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member ApplicationGatewayLoadDistributionPolicy : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * seq<Azure.ResourceManager.Network.Models.ApplicationGatewayLoadDistributionTarget> * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayLoadDistributionAlgorithm> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.ApplicationGatewayLoadDistributionPolicy
Public Shared Function ApplicationGatewayLoadDistributionPolicy (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional loadDistributionTargets As IEnumerable(Of ApplicationGatewayLoadDistributionTarget) = Nothing, Optional loadDistributionAlgorithm As Nullable(Of ApplicationGatewayLoadDistributionAlgorithm) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As ApplicationGatewayLoadDistributionPolicy

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

loadDistributionTargets
IEnumerable<ApplicationGatewayLoadDistributionTarget>

Load Distribution Targets resource of an application gateway.

loadDistributionAlgorithm
Nullable<ApplicationGatewayLoadDistributionAlgorithm>

Load Distribution Targets resource of an application gateway.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the Load Distribution Policy resource.

Returns

A new ApplicationGatewayLoadDistributionPolicy instance for mocking.

Applies to