RuleSetProperties Class

Definition

The JSON object that contains the properties of the Rule Set to create.

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

Constructors

Name Description
RuleSetProperties()

Creates an new RuleSetProperties instance.

Properties

Name Description
BatchMode

Indicates whether rule set is in batch mode. When batch mode is enabled, rules will be processed in a batch along with the rule set. When batch mode is disabled, rules would need to be processed independently. This property can only be set during rule set creation and cannot be updated later. For switching modes, a new rule set needs to be created with the desired mode and rules need to be migrated to the new rule set.

DeploymentStatus
ProfileName

The name of the profile which holds the rule set.

ProvisioningState

Provisioning status

Rule

A list of rules that are part of this rule set provided the rule set is in batch mode. This property will be ignored if the rule set is not in batch mode.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RuleSetProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RuleSetProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RuleSetProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to