Partager via


RoutingRule Class

Definition

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

[Microsoft.Rest.Serialization.JsonTransformation]
public class RoutingRule : Microsoft.Azure.Management.FrontDoor.Models.SubResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type RoutingRule = class
    inherit SubResource
Public Class RoutingRule
Inherits SubResource
Inheritance
RoutingRule
Attributes

Constructors

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.

Properties

AcceptedProtocols

Gets or sets protocol schemes to match for this rule

EnabledState

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

FrontendEndpoints

Gets or sets frontend endpoints associated with this rule

Id

Gets or sets resource ID.

(Inherited from SubResource)
Name

Gets or sets resource name.

PatternsToMatch

Gets or sets the route patterns of the rule.

ResourceState

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

RouteConfiguration

Gets or sets a reference to the routing configuration.

RulesEngine

Gets or sets a reference to a specific Rules Engine Configuration to apply to this route.

Type

Gets resource type.

WebApplicationFirewallPolicyLink

Gets or sets defines the Web Application Firewall policy for each routing rule (if applicable)

Extension Methods

ToPSRoutingRule(RoutingRule)

Applies to