RoutingRule interface
A routing rule represents a specification for traffic to treat and where to send it, along with health probe information.
- Extends
Properties
accepted |
Protocol schemes to match for this rule |
enabled |
Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled' |
frontend |
Frontend endpoints associated with this rule |
name | Resource name. |
patterns |
The route patterns of the rule. |
resource |
Resource status. NOTE: This property will not be serialized. It can only be populated by the server. |
route |
A reference to the routing configuration. |
rules |
A reference to a specific Rules Engine Configuration to apply to this route. |
type | Resource type. NOTE: This property will not be serialized. It can only be populated by the server. |
web |
Defines the Web Application Firewall policy for each routing rule (if applicable) |
Inherited Properties
id | Resource ID. |
Property Details
acceptedProtocols
Protocol schemes to match for this rule
acceptedProtocols?: string[]
Property Value
string[]
enabledState
Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'
enabledState?: string
Property Value
string
frontendEndpoints
Frontend endpoints associated with this rule
frontendEndpoints?: SubResource[]
Property Value
name
Resource name.
name?: string
Property Value
string
patternsToMatch
The route patterns of the rule.
patternsToMatch?: string[]
Property Value
string[]
resourceState
Resource status. NOTE: This property will not be serialized. It can only be populated by the server.
resourceState?: string
Property Value
string
routeConfiguration
A reference to the routing configuration.
routeConfiguration?: RouteConfigurationUnion
Property Value
rulesEngine
A reference to a specific Rules Engine Configuration to apply to this route.
rulesEngine?: SubResource
Property Value
type
Resource type. NOTE: This property will not be serialized. It can only be populated by the server.
type?: string
Property Value
string
webApplicationFirewallPolicyLink
Defines the Web Application Firewall policy for each routing rule (if applicable)
webApplicationFirewallPolicyLink?: RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink