Compartir a través de


RoutingRule Constructors

Definition

Overloads

RoutingRule()

Initializes a new instance of the RoutingRule class.

RoutingRule(String, String, String, RouteConfiguration, IList<SubResource>, IList<String>, IList<String>, String, SubResource, RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink, String)

Initializes a new instance of the RoutingRule class.

RoutingRule()

Initializes a new instance of the RoutingRule class.

public RoutingRule ();
Public Sub New ()

Applies to

Initializes a new instance of the RoutingRule class.

public RoutingRule (string id = default, string name = default, string type = default, Microsoft.Azure.Management.FrontDoor.Models.RouteConfiguration routeConfiguration = default, System.Collections.Generic.IList<Microsoft.Azure.Management.FrontDoor.Models.SubResource> frontendEndpoints = default, System.Collections.Generic.IList<string> acceptedProtocols = default, System.Collections.Generic.IList<string> patternsToMatch = default, string enabledState = default, Microsoft.Azure.Management.FrontDoor.Models.SubResource rulesEngine = default, Microsoft.Azure.Management.FrontDoor.Models.RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink = default, string resourceState = default);
new Microsoft.Azure.Management.FrontDoor.Models.RoutingRule : string * string * string * Microsoft.Azure.Management.FrontDoor.Models.RouteConfiguration * System.Collections.Generic.IList<Microsoft.Azure.Management.FrontDoor.Models.SubResource> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string * Microsoft.Azure.Management.FrontDoor.Models.SubResource * Microsoft.Azure.Management.FrontDoor.Models.RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink * string -> Microsoft.Azure.Management.FrontDoor.Models.RoutingRule
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional routeConfiguration As RouteConfiguration = Nothing, Optional frontendEndpoints As IList(Of SubResource) = Nothing, Optional acceptedProtocols As IList(Of String) = Nothing, Optional patternsToMatch As IList(Of String) = Nothing, Optional enabledState As String = Nothing, Optional rulesEngine As SubResource = Nothing, Optional webApplicationFirewallPolicyLink As RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink = Nothing, Optional resourceState As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

routeConfiguration
RouteConfiguration

A reference to the routing configuration.

frontendEndpoints
IList<SubResource>

Frontend endpoints associated with this rule

acceptedProtocols
IList<String>

Protocol schemes to match for this rule

patternsToMatch
IList<String>

The route patterns of the rule.

enabledState
String

Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' Possible values include: 'Enabled', 'Disabled'

rulesEngine
SubResource

A reference to a specific Rules Engine Configuration to apply to this route.

webApplicationFirewallPolicyLink
RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink

Defines the Web Application Firewall policy for each routing rule (if applicable)

resourceState
String

Resource status. Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting', 'Migrating', 'Migrated'

Applies to