Share via


PassThroughWorkerSelectorAttachment Class

Definition

Attaches a worker selector where the value is passed through from a job's label with the same key.

public class PassThroughWorkerSelectorAttachment : Azure.Communication.JobRouter.WorkerSelectorAttachment
public class PassThroughWorkerSelectorAttachment : Azure.Communication.JobRouter.WorkerSelectorAttachment, System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.PassThroughWorkerSelectorAttachment>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.PassThroughWorkerSelectorAttachment>
type PassThroughWorkerSelectorAttachment = class
    inherit WorkerSelectorAttachment
type PassThroughWorkerSelectorAttachment = class
    inherit WorkerSelectorAttachment
    interface IJsonModel<PassThroughWorkerSelectorAttachment>
    interface IPersistableModel<PassThroughWorkerSelectorAttachment>
Public Class PassThroughWorkerSelectorAttachment
Inherits WorkerSelectorAttachment
Public Class PassThroughWorkerSelectorAttachment
Inherits WorkerSelectorAttachment
Implements IJsonModel(Of PassThroughWorkerSelectorAttachment), IPersistableModel(Of PassThroughWorkerSelectorAttachment)
Inheritance
PassThroughWorkerSelectorAttachment
Implements

Constructors

PassThroughWorkerSelectorAttachment(String, LabelOperator, Nullable<TimeSpan>)

Initializes a new instance of PassThroughWorkerSelectorAttachment.

Properties

ExpiresAfter

Describes how long the attached worker selector is valid.

Key

The label key to query against.

Kind

The type discriminator describing a sub-type of WorkerSelectorAttachment.

(Inherited from WorkerSelectorAttachment)
LabelOperator

Describes how the value of the label is compared to the value passed through.

Explicit Interface Implementations

IJsonModel<PassThroughWorkerSelectorAttachment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PassThroughWorkerSelectorAttachment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<WorkerSelectorAttachment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from WorkerSelectorAttachment)
IJsonModel<WorkerSelectorAttachment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from WorkerSelectorAttachment)
IPersistableModel<PassThroughWorkerSelectorAttachment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PassThroughWorkerSelectorAttachment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PassThroughWorkerSelectorAttachment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<WorkerSelectorAttachment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from WorkerSelectorAttachment)
IPersistableModel<WorkerSelectorAttachment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from WorkerSelectorAttachment)
IPersistableModel<WorkerSelectorAttachment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from WorkerSelectorAttachment)

Applies to