FunctionRouterRuleCredential Constructors
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.
Overloads
FunctionRouterRuleCredential(String) |
Initializes a new instance of AzureFunctionRuleCredential. |
FunctionRouterRuleCredential(String, String) |
Initializes a new instance of AzureFunctionRuleCredential. |
FunctionRouterRuleCredential(String)
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)
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
Azure SDK for .NET