CustomRuleMatchCondition Class

Definition

Define match conditions.

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

Constructors

Name Description
CustomRuleMatchCondition(WafMatchVariable, MatchOperator, IEnumerable<String>)

Initializes a new instance of CustomRuleMatchCondition.

Properties

Name Description
MatchOperator

Describes operator to be matched.

MatchValue

List of possible match values.

MatchVariable

Match variable to compare against.

NegateCondition

Describes if the result of this condition should be negated.

Selector

Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs.

Transforms

List of transforms.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CustomRuleMatchCondition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CustomRuleMatchCondition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CustomRuleMatchCondition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CustomRuleMatchCondition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CustomRuleMatchCondition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to