Share via


HostNameMatchCondition Class

Definition

Defines the parameters for HostName match conditions.

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

Constructors

HostNameMatchCondition(HostNameMatchConditionType, HostNameOperator)

Initializes a new instance of HostNameMatchCondition.

Properties

ConditionType

Gets or sets the condition type.

HostNameOperator

Describes operator to be matched.

MatchValues

The match value for the condition of the delivery rule.

NegateCondition

Describes if this is negate condition or not.

Transforms

List of transforms.

Explicit Interface Implementations

IJsonModel<HostNameMatchCondition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HostNameMatchCondition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HostNameMatchCondition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HostNameMatchCondition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HostNameMatchCondition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to