ConditionalWorkerSelectorAttachment 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.
Describes a set of worker selectors that will be attached if the given condition resolves to true.
public class ConditionalWorkerSelectorAttachment : Azure.Communication.JobRouter.WorkerSelectorAttachment
public class ConditionalWorkerSelectorAttachment : Azure.Communication.JobRouter.WorkerSelectorAttachment, System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.ConditionalWorkerSelectorAttachment>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.ConditionalWorkerSelectorAttachment>
type ConditionalWorkerSelectorAttachment = class
inherit WorkerSelectorAttachment
type ConditionalWorkerSelectorAttachment = class
inherit WorkerSelectorAttachment
interface IJsonModel<ConditionalWorkerSelectorAttachment>
interface IPersistableModel<ConditionalWorkerSelectorAttachment>
Public Class ConditionalWorkerSelectorAttachment
Inherits WorkerSelectorAttachment
Public Class ConditionalWorkerSelectorAttachment
Inherits WorkerSelectorAttachment
Implements IJsonModel(Of ConditionalWorkerSelectorAttachment), IPersistableModel(Of ConditionalWorkerSelectorAttachment)
- Inheritance
- Implements
Constructors
ConditionalWorkerSelectorAttachment(RouterRule) |
Initializes a new instance of ConditionalWorkerSelectorAttachment. |
Properties
Condition |
The condition that must be true for the worker selectors to be attached. Please note RouterRule is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DirectMapRouterRule, ExpressionRouterRule, FunctionRouterRule, StaticRouterRule and WebhookRouterRule. |
Kind |
The type discriminator describing a sub-type of WorkerSelectorAttachment. (Inherited from WorkerSelectorAttachment) |
WorkerSelectors |
The queue selectors to attach. |
Explicit Interface Implementations
Applies to
Azure SDK for .NET