FunctionRouterRuleCredential Constructors

Definition

Overloads

FunctionRouterRuleCredential(String)

Initializes a new instance of AzureFunctionRuleCredential.

FunctionRouterRuleCredential(String, String)

Initializes a new instance of AzureFunctionRuleCredential.

FunctionRouterRuleCredential(String)

Source:
FunctionRouterRuleCredential.cs
Source:
FunctionRouterRuleCredential.cs

Initializes a new instance of AzureFunctionRuleCredential.

public FunctionRouterRuleCredential (string functionKey);
new Azure.Communication.JobRouter.FunctionRouterRuleCredential : string -> Azure.Communication.JobRouter.FunctionRouterRuleCredential
Public Sub New (functionKey As String)

Parameters

functionKey
String

Access key scoped to a particular function.

Exceptions

functionKey is null.

Applies to

FunctionRouterRuleCredential(String, String)

Source:
FunctionRouterRuleCredential.cs
Source:
FunctionRouterRuleCredential.cs

Initializes a new instance of AzureFunctionRuleCredential.

public FunctionRouterRuleCredential (string appKey, string clientId);
new Azure.Communication.JobRouter.FunctionRouterRuleCredential : string * string -> Azure.Communication.JobRouter.FunctionRouterRuleCredential
Public Sub New (appKey As String, clientId As String)

Parameters

appKey
String

Access key scoped to a Azure Function app.

This key grants access to all functions under the app.

clientId
String

Client id, when AppKey is provided

In context of Azure function, this is usually the name of the key.

Exceptions

appKey or clientId is null.

Applies to