Share via


ServerPortMatchCondition Class

Definition

Defines the parameters for ServerPort match conditions.

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

Constructors

ServerPortMatchCondition(ServerPortMatchConditionType, ServerPortOperator)

Initializes a new instance of ServerPortMatchCondition.

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.

ServerPortOperator

Describes operator to be matched.

Transforms

List of transforms.

Explicit Interface Implementations

IJsonModel<ServerPortMatchCondition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServerPortMatchCondition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServerPortMatchCondition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServerPortMatchCondition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServerPortMatchCondition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to