ArmNetworkModelFactory.ApplicationGatewayRoutingRule Method

Definition

public static Azure.ResourceManager.Network.Models.ApplicationGatewayRoutingRule ApplicationGatewayRoutingRule(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.ResourceManager.Network.Models.ApplicationGatewayRequestRoutingRuleType? ruleType = default, int? priority = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier backendAddressPoolId = default, Azure.Core.ResourceIdentifier backendSettingsId = default, Azure.Core.ResourceIdentifier listenerId = default, Azure.ETag? eTag = default);
static member ApplicationGatewayRoutingRule : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.ResourceManager.Network.Models.ApplicationGatewayRequestRoutingRuleType> * Nullable<int> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.Models.ApplicationGatewayRoutingRule
Public Shared Function ApplicationGatewayRoutingRule (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional ruleType As Nullable(Of ApplicationGatewayRequestRoutingRuleType) = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional backendAddressPoolId As ResourceIdentifier = Nothing, Optional backendSettingsId As ResourceIdentifier = Nothing, Optional listenerId As ResourceIdentifier = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As ApplicationGatewayRoutingRule

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Name of the resource.

type
String

Resource type.

priority
Nullable<Int32>

Priority of the routing rule.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the request routing rule resource.

backendAddressPoolId
ResourceIdentifier

Resource ID.

backendSettingsId
ResourceIdentifier

Resource ID.

listenerId
ResourceIdentifier

Resource ID.

eTag
Nullable<ETag>

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

Returns

A new ApplicationGatewayRoutingRule instance for mocking.

Applies to