Share via


RouterQueue Class

Definition

A queue that can contain jobs to be routed.

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

Constructors

RouterQueue(String)

Initializes a new instance of a queue.

Properties

DistributionPolicyId

Id of a distribution policy that will determine how a job is distributed to workers.

ETag

The entity tag for this resource.

ExceptionPolicyId

Id of an exception policy that determines various job escalation rules.

Id

Id of a queue.

Labels

A set of key/value pairs that are identifying attributes used by the rules engines to make decisions. Values must be primitive values - number, string, boolean.

Name

Friendly name of this queue.

Explicit Interface Implementations

IJsonModel<RouterQueue>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RouterQueue>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RouterQueue>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RouterQueue>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RouterQueue>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to