Share via


ExclusionManagedRule Class

Definition

Defines a managed rule to use for exclusion.

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

Constructors

ExclusionManagedRule(String)

Initializes a new instance of ExclusionManagedRule.

Properties

RuleId

Identifier for the managed rule.

Explicit Interface Implementations

IJsonModel<ExclusionManagedRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExclusionManagedRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExclusionManagedRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExclusionManagedRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExclusionManagedRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to