RouterChannel 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.
Represents the capacity a job in this channel will consume from a worker.
public class RouterChannel
public class RouterChannel : System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.RouterChannel>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.RouterChannel>
type RouterChannel = class
type RouterChannel = class
interface IJsonModel<RouterChannel>
interface IPersistableModel<RouterChannel>
Public Class RouterChannel
Public Class RouterChannel
Implements IJsonModel(Of RouterChannel), IPersistableModel(Of RouterChannel)
- Inheritance
-
RouterChannel
- Implements
Constructors
RouterChannel(String, Int32) |
Represents the capacity a job in this channel will consume from a worker. |
Properties
CapacityCostPerJob |
The amount of capacity that an instance of a job of this channel will consume of the total worker capacity. |
ChannelId |
Id of a channel. |
MaxNumberOfJobs |
The maximum number of jobs that can be supported concurrently for this channel. |
Explicit Interface Implementations
IJsonModel<RouterChannel>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<RouterChannel>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<RouterChannel>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<RouterChannel>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<RouterChannel>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |