Share via


ArmNetworkModelFactory.ApplicationGatewayLoadDistributionTarget Method

Definition

Initializes a new instance of ApplicationGatewayLoadDistributionTarget.

public static Azure.ResourceManager.Network.Models.ApplicationGatewayLoadDistributionTarget ApplicationGatewayLoadDistributionTarget (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, int? weightPerServer = default, Azure.Core.ResourceIdentifier backendAddressPoolId = default);
static member ApplicationGatewayLoadDistributionTarget : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<int> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.Models.ApplicationGatewayLoadDistributionTarget
Public Shared Function ApplicationGatewayLoadDistributionTarget (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 weightPerServer As Nullable(Of Integer) = Nothing, Optional backendAddressPoolId As ResourceIdentifier = Nothing) As ApplicationGatewayLoadDistributionTarget

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.

weightPerServer
Nullable<Int32>

Weight per server. Range between 1 and 100.

backendAddressPoolId
ResourceIdentifier

Backend address pool resource of the application gateway.

Returns

A new ApplicationGatewayLoadDistributionTarget instance for mocking.

Applies to