Share via


RequestHeaderMatchCondition Class

Definition

Defines the parameters for RequestHeader match conditions.

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

Constructors

RequestHeaderMatchCondition(RequestHeaderMatchConditionType, RequestHeaderOperator)

Initializes a new instance of RequestHeaderMatchCondition.

Properties

ConditionType

Gets or sets the condition type.

MatchValues

The match value for the condition of the delivery rule.

NegateCondition

Describes if this is negate condition or not.

RequestHeaderOperator

Describes operator to be matched.

Selector

Name of Header to be matched.

Transforms

List of transforms.

Explicit Interface Implementations

IJsonModel<RequestHeaderMatchCondition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RequestHeaderMatchCondition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RequestHeaderMatchCondition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RequestHeaderMatchCondition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RequestHeaderMatchCondition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to