ArmFrontDoorModelFactory.RoutingRuleData Method
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.
Initializes a new instance of RoutingRuleData.
public static Azure.ResourceManager.FrontDoor.Models.RoutingRuleData RoutingRuleData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> frontendEndpoints = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FrontDoor.Models.FrontDoorProtocol> acceptedProtocols = default, System.Collections.Generic.IEnumerable<string> patternsToMatch = default, Azure.ResourceManager.FrontDoor.Models.RoutingRuleEnabledState? enabledState = default, Azure.ResourceManager.FrontDoor.Models.RouteConfiguration routeConfiguration = default, Azure.Core.ResourceIdentifier rulesEngineId = default, Azure.Core.ResourceIdentifier webApplicationFirewallPolicyLinkId = default, Azure.ResourceManager.FrontDoor.Models.FrontDoorResourceState? resourceState = default);
static member RoutingRuleData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.FrontDoor.Models.FrontDoorProtocol> * seq<string> * Nullable<Azure.ResourceManager.FrontDoor.Models.RoutingRuleEnabledState> * Azure.ResourceManager.FrontDoor.Models.RouteConfiguration * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.FrontDoor.Models.FrontDoorResourceState> -> Azure.ResourceManager.FrontDoor.Models.RoutingRuleData
Public Shared Function RoutingRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional frontendEndpoints As IEnumerable(Of WritableSubResource) = Nothing, Optional acceptedProtocols As IEnumerable(Of FrontDoorProtocol) = Nothing, Optional patternsToMatch As IEnumerable(Of String) = Nothing, Optional enabledState As Nullable(Of RoutingRuleEnabledState) = Nothing, Optional routeConfiguration As RouteConfiguration = Nothing, Optional rulesEngineId As ResourceIdentifier = Nothing, Optional webApplicationFirewallPolicyLinkId As ResourceIdentifier = Nothing, Optional resourceState As Nullable(Of FrontDoorResourceState) = Nothing) As RoutingRuleData
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- frontendEndpoints
- IEnumerable<WritableSubResource>
Frontend endpoints associated with this rule.
- acceptedProtocols
- IEnumerable<FrontDoorProtocol>
Protocol schemes to match for this rule.
- patternsToMatch
- IEnumerable<String>
The route patterns of the rule.
- enabledState
- Nullable<RoutingRuleEnabledState>
Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
- routeConfiguration
- RouteConfiguration
A reference to the routing configuration.
- rulesEngineId
- ResourceIdentifier
Resource ID.
- webApplicationFirewallPolicyLinkId
- ResourceIdentifier
Resource ID.
- resourceState
- Nullable<FrontDoorResourceState>
Resource status.
Returns
A new RoutingRuleData instance for mocking.