BatchRuleProperties Class

Definition

The JSON object that contains a rule with its name for batch mode operations.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.BatchRulePropertiesTypeConverter))]
public class BatchRuleProperties : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.IBatchRuleProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.BatchRulePropertiesTypeConverter))>]
type BatchRuleProperties = class
    interface IBatchRuleProperties
    interface IJsonSerializable
Public Class BatchRuleProperties
Implements IBatchRuleProperties
Inheritance
BatchRuleProperties
Attributes
Implements

Constructors

Name Description
BatchRuleProperties()

Creates an new BatchRuleProperties instance.

Properties

Name Description
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

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.

RuleName

Name of the rule.

RuleSetName

The name of the rule set containing the rule.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of BatchRuleProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of BatchRuleProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of BatchRuleProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to