RuleEngineWorkerSelectorAttachment 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.
Attaches worker selectors to a job when a RouterRule is resolved.
public class RuleEngineWorkerSelectorAttachment : Azure.Communication.JobRouter.WorkerSelectorAttachment
public class RuleEngineWorkerSelectorAttachment : Azure.Communication.JobRouter.WorkerSelectorAttachment, System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.RuleEngineWorkerSelectorAttachment>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.RuleEngineWorkerSelectorAttachment>
type RuleEngineWorkerSelectorAttachment = class
inherit WorkerSelectorAttachment
type RuleEngineWorkerSelectorAttachment = class
inherit WorkerSelectorAttachment
interface IJsonModel<RuleEngineWorkerSelectorAttachment>
interface IPersistableModel<RuleEngineWorkerSelectorAttachment>
Public Class RuleEngineWorkerSelectorAttachment
Inherits WorkerSelectorAttachment
Public Class RuleEngineWorkerSelectorAttachment
Inherits WorkerSelectorAttachment
Implements IJsonModel(Of RuleEngineWorkerSelectorAttachment), IPersistableModel(Of RuleEngineWorkerSelectorAttachment)
- Inheritance
- Implements
Constructors
RuleEngineWorkerSelectorAttachment(RouterRule) |
Initializes a new instance of RuleEngineWorkerSelectorAttachment. |
Properties
Kind |
The type discriminator describing a sub-type of WorkerSelectorAttachment. (Inherited from WorkerSelectorAttachment) |
Rule |
A RouterRule that resolves a collection of worker selectors to attach. 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. |