Share via


ManagedRulesDefinition Class

Definition

Allow to exclude some variable satisfy the condition for the WAF check.

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

Constructors

ManagedRulesDefinition(IEnumerable<ManagedRuleSet>)

Initializes a new instance of ManagedRulesDefinition.

Properties

Exceptions

The exceptions that are applied on the policy.

Exclusions

The Exclusions that are applied on the policy.

ManagedRuleSets

The managed rule sets that are associated with the policy.

Explicit Interface Implementations

IJsonModel<ManagedRulesDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedRulesDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedRulesDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedRulesDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedRulesDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to