WorkerSelectorAttachment Class

Definition

An attachment which attaches worker selectors to a job. Please note WorkerSelectorAttachment is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ConditionalWorkerSelectorAttachment, PassThroughWorkerSelectorAttachment, RuleEngineWorkerSelectorAttachment, StaticWorkerSelectorAttachment and WeightedAllocationWorkerSelectorAttachment.

public abstract class WorkerSelectorAttachment
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Communication.JobRouter.UnknownWorkerSelectorAttachment))]
public abstract class WorkerSelectorAttachment : System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.WorkerSelectorAttachment>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.WorkerSelectorAttachment>
type WorkerSelectorAttachment = class
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Communication.JobRouter.UnknownWorkerSelectorAttachment))>]
type WorkerSelectorAttachment = class
    interface IJsonModel<WorkerSelectorAttachment>
    interface IPersistableModel<WorkerSelectorAttachment>
Public MustInherit Class WorkerSelectorAttachment
Public MustInherit Class WorkerSelectorAttachment
Implements IJsonModel(Of WorkerSelectorAttachment), IPersistableModel(Of WorkerSelectorAttachment)
Inheritance
WorkerSelectorAttachment
Derived
Attributes
Implements

Constructors

WorkerSelectorAttachment()

Initializes a new instance of WorkerSelectorAttachment.

Properties

Kind

The type discriminator describing a sub-type of WorkerSelectorAttachment.

Explicit Interface Implementations

IJsonModel<WorkerSelectorAttachment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WorkerSelectorAttachment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WorkerSelectorAttachment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WorkerSelectorAttachment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WorkerSelectorAttachment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to