Udostępnij za pośrednictwem


ConditionalWorkerSelectorAttachment(RouterRule) Constructor

Definition

Initializes a new instance of ConditionalWorkerSelectorAttachment.

public ConditionalWorkerSelectorAttachment (Azure.Communication.JobRouter.RouterRule condition);
new Azure.Communication.JobRouter.ConditionalWorkerSelectorAttachment : Azure.Communication.JobRouter.RouterRule -> Azure.Communication.JobRouter.ConditionalWorkerSelectorAttachment
Public Sub New (condition As RouterRule)

Parameters

condition
RouterRule

A rule of one of the following types:

StaticRule: A rule providing static rules that always return the same result, regardless of input. DirectMapRule: A rule that return the same labels as the input labels. ExpressionRule: A rule providing inline expression rules. FunctionRule: A rule providing a binding to an HTTP Triggered Azure Function. WebhookRule: A rule providing a binding to a webserver following OAuth2.0 authentication protocol.

Applies to