ArmNetworkModelFactory.ApplicationGatewayRoutingRule Method

Definition

Initializes a new instance of ApplicationGatewayRoutingRule.

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

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.

priority
Nullable<Int32>

Priority of the routing rule.

backendAddressPoolId
ResourceIdentifier

Backend address pool resource of the application gateway.

backendSettingsId
ResourceIdentifier

Backend settings resource of the application gateway.

listenerId
ResourceIdentifier

Listener resource of the application gateway.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the request routing rule resource.

Returns

A new ApplicationGatewayRoutingRule instance for mocking.

Applies to