Delen via


JobRouterModelFactory.FunctionRouterRule Method

Definition

Initializes a new instance of FunctionRouterRule.

public static Azure.Communication.JobRouter.FunctionRouterRule FunctionRouterRule (Uri functionUri = default, Azure.Communication.JobRouter.FunctionRouterRuleCredential credential = default);
static member FunctionRouterRule : Uri * Azure.Communication.JobRouter.FunctionRouterRuleCredential -> Azure.Communication.JobRouter.FunctionRouterRule
Public Shared Function FunctionRouterRule (Optional functionUri As Uri = Nothing, Optional credential As FunctionRouterRuleCredential = Nothing) As FunctionRouterRule

Parameters

functionUri
Uri

URL for Azure Function.

credential
FunctionRouterRuleCredential

Credentials used to access Azure function rule.

Returns

A new FunctionRouterRule instance for mocking.

Applies to