CdnRuleProperties Class

Definition

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

public class CdnRuleProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.CdnRuleProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.CdnRuleProperties>
type CdnRuleProperties = class
    interface IJsonModel<CdnRuleProperties>
    interface IPersistableModel<CdnRuleProperties>
Public Class CdnRuleProperties
Implements IJsonModel(Of CdnRuleProperties), IPersistableModel(Of CdnRuleProperties)
Inheritance
CdnRuleProperties
Implements

Constructors

Name Description
CdnRuleProperties()

Initializes a new instance of CdnRuleProperties.

Properties

Name Description
Actions

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

Conditions

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

DeploymentStatus

Gets the 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

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CdnRuleProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<CdnRuleProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<CdnRuleProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CdnRuleProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CdnRuleProperties>.Write(ModelReaderWriterOptions)

Applies to