Delen via


ManagedRuleOverrideSetting Class

Definition

Defines a managed rule group override setting.

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

Constructors

ManagedRuleOverrideSetting(String)

Initializes a new instance of ManagedRuleOverrideSetting.

Properties

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.

Explicit Interface Implementations

IJsonModel<ManagedRuleOverrideSetting>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ManagedRuleOverrideSetting>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedRuleOverrideSetting>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedRuleOverrideSetting>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ManagedRuleOverrideSetting>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to