DistributionPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Policy governing how jobs are distributed to workers.
public class DistributionPolicy
public class DistributionPolicy : System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.DistributionPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.DistributionPolicy>
type DistributionPolicy = class
type DistributionPolicy = class
interface IJsonModel<DistributionPolicy>
interface IPersistableModel<DistributionPolicy>
Public Class DistributionPolicy
Public Class DistributionPolicy
Implements IJsonModel(Of DistributionPolicy), IPersistableModel(Of DistributionPolicy)
- Inheritance
-
DistributionPolicy
- Implements
Constructors
DistributionPolicy(String) |
Initializes a new instance of distribution policy. |
Properties
ETag |
The entity tag for this resource. |
Id |
Id of a distribution policy. |
Mode |
Mode governing the specific distribution method. |
Name |
Friendly name of this policy. |
OfferExpiresAfter |
Length of time after which any offers created under this policy will be expired. |
Explicit Interface Implementations
IJsonModel<DistributionPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DistributionPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DistributionPolicy>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DistributionPolicy>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DistributionPolicy>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |