Partager via


RoutingRuleProperties Class

Definition

The JSON object that contains the properties required to create a routing rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.RoutingRulePropertiesTypeConverter))]
public class RoutingRuleProperties : Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IRoutingRuleProperties, Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.RoutingRulePropertiesTypeConverter))>]
type RoutingRuleProperties = class
    interface IRoutingRuleProperties
    interface IJsonSerializable
    interface IRoutingRuleUpdateParameters
    interface IValidates
Public Class RoutingRuleProperties
Implements IRoutingRuleProperties, IValidates
Inheritance
RoutingRuleProperties
Attributes
Implements

Constructors

Name Description
RoutingRuleProperties()

Creates an new RoutingRuleProperties instance.

Properties

Name Description
AcceptedProtocol

Protocol schemes to match for this rule

EnabledState

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

FrontendEndpoint

Frontend endpoints associated with this rule

PatternsToMatch

The route patterns of the rule.

ResourceState

Resource status.

RouteConfiguration

A reference to the routing configuration.

RuleEngineId

Resource ID.

WebApplicationFirewallPolicyLinkId

Resource ID.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RoutingRuleProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RoutingRuleProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IRoutingRuleProperties.

FromJsonString(String)

Creates a new instance of RoutingRuleProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RoutingRuleProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to