Dela via


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>
public class CustomRuleMatchCondition
type CustomRuleMatchCondition = class
    interface IJsonModel<CustomRuleMatchCondition>
    interface IPersistableModel<CustomRuleMatchCondition>
type CustomRuleMatchCondition = class
Public Class CustomRuleMatchCondition
Implements IJsonModel(Of CustomRuleMatchCondition), IPersistableModel(Of CustomRuleMatchCondition)
Public Class CustomRuleMatchCondition
Inheritance
CustomRuleMatchCondition
Implements

Constructors

CustomRuleMatchCondition(WafMatchVariable, MatchOperator, IEnumerable<String>)

Initializes a new instance of CustomRuleMatchCondition.

Properties

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.

Explicit Interface Implementations

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