RoutingRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A routing rule represents a specification for traffic to treat and where to send it, along with health probe information.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.RoutingRuleTypeConverter))]
public class RoutingRule : Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IRoutingRule, Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.RoutingRuleTypeConverter))>]
type RoutingRule = class
interface IRoutingRule
interface IJsonSerializable
interface ISubResource
interface IValidates
Public Class RoutingRule
Implements IRoutingRule, IValidates
- Inheritance
-
RoutingRule
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| RoutingRule() |
Creates an new RoutingRule 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 |
| Id |
Resource ID. |
| Name |
Resource name. |
| PatternsToMatch |
The route patterns of the rule. |
| ResourceState |
Resource status. |
| RouteConfiguration |
A reference to the routing configuration. |
| RuleEngineId |
Resource ID. |
| Type |
Resource type. |
| WebApplicationFirewallPolicyLinkId |
Resource ID. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of RoutingRule. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of RoutingRule. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IRoutingRule. |
| FromJsonString(String) |
Creates a new instance of RoutingRule, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of RoutingRule into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |