다음을 통해 공유


ExceptionEntry Class

Definition

Adds exception to allow a request when the condition is satisfied.

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

Constructors

ExceptionEntry(ExceptionEntryMatchVariable, ExceptionEntryValueMatchOperator)

Initializes a new instance of ExceptionEntry.

Properties

ExceptionManagedRuleSets

The managed rule sets that are associated with the exception.

MatchVariable

The variable on which we evaluate the exception condition.

Selector

When the matchVariable points to a key-value pair (e.g, RequestHeader), this identifies the key.

SelectorMatchOperator

When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector.

ValueMatchOperator

Operates on the allowed values for the matchVariable.

Values

Allowed values for the matchVariable.

Explicit Interface Implementations

IJsonModel<ExceptionEntry>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ExceptionEntry>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExceptionEntry>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ExceptionEntry>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ExceptionEntry>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to