ArmNetworkModelFactory.ApplicationGatewayLoadDistributionPolicy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- 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
Azure SDK for .NET