RoutingRule Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
RoutingRule(String, String, String, RouteConfiguration, IList<SubResource>, IList<String>, IList<String>, String, SubResource, RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink, String)
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
- 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'