共用方式為


RoundRobinMode Class

Definition

Jobs are distributed in order to workers, starting with the worker that is after the last worker to receive a job.

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

Constructors

RoundRobinMode()

Initializes a new instance of RoundRobinModePolicy.

Properties

BypassSelectors

If set to true, then router will match workers to jobs even if they don't match label selectors. Warning: You may get workers that are not qualified for a job they are matched with if you set this variable to true. This flag is intended more for temporary usage. By default, set to false.

(Inherited from DistributionMode)
Kind

The type discriminator describing a sub-type of DistributionMode.

(Inherited from DistributionMode)
MaxConcurrentOffers

Governs the maximum number of active concurrent offers a job can have.

(Inherited from DistributionMode)
MinConcurrentOffers

Governs the minimum desired number of active concurrent offers a job can have.

(Inherited from DistributionMode)

Explicit Interface Implementations

IJsonModel<DistributionMode>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from DistributionMode)
IJsonModel<RoundRobinMode>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RoundRobinMode>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DistributionMode>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from DistributionMode)
IPersistableModel<RoundRobinMode>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoundRobinMode>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RoundRobinMode>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to