Condividi tramite


MatchCondition Class

Definition

Define match conditions.

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

Constructors

MatchCondition(IEnumerable<MatchVariable>, WebApplicationFirewallOperator, IEnumerable<String>)

Initializes a new instance of MatchCondition.

Properties

MatchValues

Match value.

MatchVariables

List of match variables.

NegationConditon

Whether this is negate condition or not.

Operator

The operator to be matched.

Transforms

List of transforms.

Explicit Interface Implementations

IJsonModel<MatchCondition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MatchCondition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MatchCondition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MatchCondition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MatchCondition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to