ArmNetworkModelFactory.ApplicationGatewayPathRule Method

Definition

Initializes a new instance of ApplicationGatewayPathRule.

public static Azure.ResourceManager.Network.Models.ApplicationGatewayPathRule ApplicationGatewayPathRule (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<string> paths = default, Azure.Core.ResourceIdentifier backendAddressPoolId = default, Azure.Core.ResourceIdentifier backendHttpSettingsId = default, Azure.Core.ResourceIdentifier redirectConfigurationId = default, Azure.Core.ResourceIdentifier rewriteRuleSetId = default, Azure.Core.ResourceIdentifier loadDistributionPolicyId = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier firewallPolicyId = default);
static member ApplicationGatewayPathRule : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * seq<string> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.Models.ApplicationGatewayPathRule
Public Shared Function ApplicationGatewayPathRule (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 paths As IEnumerable(Of String) = Nothing, Optional backendAddressPoolId As ResourceIdentifier = Nothing, Optional backendHttpSettingsId As ResourceIdentifier = Nothing, Optional redirectConfigurationId As ResourceIdentifier = Nothing, Optional rewriteRuleSetId As ResourceIdentifier = Nothing, Optional loadDistributionPolicyId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional firewallPolicyId As ResourceIdentifier = Nothing) As ApplicationGatewayPathRule

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.

paths
IEnumerable<String>

Path rules of URL path map.

backendAddressPoolId
ResourceIdentifier

Backend address pool resource of URL path map path rule.

backendHttpSettingsId
ResourceIdentifier

Backend http settings resource of URL path map path rule.

redirectConfigurationId
ResourceIdentifier

Redirect configuration resource of URL path map path rule.

rewriteRuleSetId
ResourceIdentifier

Rewrite rule set resource of URL path map path rule.

loadDistributionPolicyId
ResourceIdentifier

Load Distribution Policy resource of URL path map path rule.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the path rule resource.

firewallPolicyId
ResourceIdentifier

Reference to the FirewallPolicy resource.

Returns

A new ApplicationGatewayPathRule instance for mocking.

Applies to