ManagedRulesDefinition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
type ManagedRulesDefinition = class
interface IJsonModel<ManagedRulesDefinition>
interface IPersistableModel<ManagedRulesDefinition>
Public Class ManagedRulesDefinition
Implements IJsonModel(Of ManagedRulesDefinition), IPersistableModel(Of 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. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
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. |