Share via


ManagedRuleOverride Class

Definition

Defines a managed rule group override setting.

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

Constructors

ManagedRuleOverride(String)

Initializes a new instance of ManagedRuleOverride.

Properties

Action

Describes the override action to be applied when rule matches.

RuleId

Identifier for the managed rule.

Sensitivity

Describes the override sensitivity to be applied when rule matches.

State

The state of the managed rule. Defaults to Disabled if not specified.

Explicit Interface Implementations

IJsonModel<ManagedRuleOverride>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedRuleOverride>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedRuleOverride>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedRuleOverride>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedRuleOverride>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to