Udostępnij za pośrednictwem


RuleProperties Class

Definition

The JSON object that contains the properties of the Rules to create.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.RulePropertiesTypeConverter))]
public class RuleProperties : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRuleProperties, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.RulePropertiesTypeConverter))>]
type RuleProperties = class
    interface IRuleProperties
    interface IJsonSerializable
    interface IRuleUpdatePropertiesParameters
    interface IAfdStateProperties
    interface IValidates
Public Class RuleProperties
Implements IRuleProperties, IValidates
Inheritance
RuleProperties
Attributes
Implements

Constructors

RuleProperties()

Creates an new RuleProperties instance.

Properties

Action

A list of actions that are executed when all the conditions of a rule are satisfied.

Condition

A list of conditions that must be matched for the actions to be executed

DeploymentStatus
MatchProcessingBehavior

If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.

Order

The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied.

ProvisioningState

Provisioning status

RuleSetName

The name of the rule set containing the rule.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RuleProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RuleProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IRuleProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RuleProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to