Dela via


ManagedRuleOverride Class

Definition

Defines a managed rule group override setting.

public class ManagedRuleOverride : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.FrontDoor.Models.ManagedRuleOverride>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.FrontDoor.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.

EnabledState

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

Exclusions

Describes the exclusions that are applied to this specific rule.

RuleId

Identifier for the managed rule.

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