-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
FunctionRouterRuleCredential.cs
30 lines (27 loc) · 1.09 KB
/
FunctionRouterRuleCredential.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Communication.JobRouter
{
/// <summary> Credentials used to access Azure function rule. </summary>
public partial class FunctionRouterRuleCredential
{
/// <summary> Initializes a new instance of FunctionRouterRuleCredential. </summary>
/// <param name="functionKey"> (Optional) Access key scoped to a particular function. </param>
/// <param name="appKey">
/// (Optional) Access key scoped to a Azure Function app.
/// This key grants access to all functions under the app.
/// </param>
/// <param name="clientId">
/// (Optional) Client id, when AppKey is provided
/// In context of Azure function, this is usually the name of the key
/// </param>
internal FunctionRouterRuleCredential(string functionKey, string appKey, string clientId)
{
FunctionKey = functionKey;
AppKey = appKey;
ClientId = clientId;
}
}
}