Partager via


RoutingRule interface

A routing rule represents a specification for traffic to treat and where to send it, along with health probe information.

Extends

Properties

acceptedProtocols

Protocol schemes to match for this rule

enabledState

Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'

frontendEndpoints

Frontend endpoints associated with this rule

name

Resource name.

patternsToMatch

The route patterns of the rule.

resourceState

Resource status. NOTE: This property will not be serialized. It can only be populated by the server.

routeConfiguration

A reference to the routing configuration.

rulesEngine

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.

webApplicationFirewallPolicyLink

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

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

webApplicationFirewallPolicyLink?: RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink

Property Value

Inherited Property Details

id

Resource ID.

id?: string

Property Value

string

Inherited From SubResource.id