Share via


RoutingRuleData Class

Definition

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

public class RoutingRuleData : Azure.ResourceManager.FrontDoor.Models.FrontDoorResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.FrontDoor.Models.RoutingRuleData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.FrontDoor.Models.RoutingRuleData>
public class RoutingRuleData : Azure.ResourceManager.FrontDoor.Models.FrontDoorResourceData
type RoutingRuleData = class
    inherit FrontDoorResourceData
    interface IJsonModel<RoutingRuleData>
    interface IPersistableModel<RoutingRuleData>
type RoutingRuleData = class
    inherit FrontDoorResourceData
Public Class RoutingRuleData
Inherits FrontDoorResourceData
Implements IJsonModel(Of RoutingRuleData), IPersistableModel(Of RoutingRuleData)
Public Class RoutingRuleData
Inherits FrontDoorResourceData
Inheritance
RoutingRuleData
Implements

Constructors

RoutingRuleData()

Initializes a new instance of RoutingRuleData.

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.

Id

Resource ID.

(Inherited from FrontDoorResourceData)
Name

Resource name.

(Inherited from FrontDoorResourceData)
PatternsToMatch

The route patterns of the rule.

ResourceState

Resource status.

ResourceType

Resource type.

(Inherited from FrontDoorResourceData)
RouteConfiguration

A reference to the routing configuration. Please note RouteConfiguration is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ForwardingConfiguration and RedirectConfiguration.

RulesEngineId

Gets or sets Id.

WebApplicationFirewallPolicyLinkId

Gets or sets Id.

Explicit Interface Implementations

IJsonModel<FrontDoorResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from FrontDoorResourceData)
IJsonModel<FrontDoorResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from FrontDoorResourceData)
IJsonModel<RoutingRuleData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RoutingRuleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FrontDoorResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from FrontDoorResourceData)
IPersistableModel<FrontDoorResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from FrontDoorResourceData)
IPersistableModel<FrontDoorResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from FrontDoorResourceData)
IPersistableModel<RoutingRuleData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoutingRuleData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RoutingRuleData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to