ManagedRuleOverride Class

Definition

Defines a managed rule group override setting.

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

Constructors

Name Description
ManagedRuleOverride()

Creates an new ManagedRuleOverride instance.

Properties

Name Description
Action

Describes the override action to be applied when rule matches.

EnabledState

Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.

RuleId

Identifier for the managed rule.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagedRuleOverride.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagedRuleOverride.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagedRuleOverride into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to