Partilhar via


WeightedAllocationQueueSelectorAttachment Class

Definition

Describes multiple sets of queue selectors, of which one will be selected and attached according to a weighting.

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

Constructors

WeightedAllocationQueueSelectorAttachment(IEnumerable<QueueWeightedAllocation>)

Initializes a new instance of WeightedAllocationQueueSelectorAttachment.

Properties

Allocations

A collection of percentage based weighted allocations.

Kind

The type discriminator describing a sub-type of QueueSelectorAttachment.

(Inherited from QueueSelectorAttachment)

Explicit Interface Implementations

IJsonModel<QueueSelectorAttachment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from QueueSelectorAttachment)
IJsonModel<WeightedAllocationQueueSelectorAttachment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WeightedAllocationQueueSelectorAttachment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<QueueSelectorAttachment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from QueueSelectorAttachment)
IPersistableModel<WeightedAllocationQueueSelectorAttachment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WeightedAllocationQueueSelectorAttachment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WeightedAllocationQueueSelectorAttachment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to