-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
KeyVaultRoleAssignmentProperties.cs
36 lines (31 loc) · 1.35 KB
/
KeyVaultRoleAssignmentProperties.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
31
32
33
34
35
36
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Security.KeyVault.Administration
{
/// <summary> Role assignment properties with scope. </summary>
public partial class KeyVaultRoleAssignmentProperties
{
/// <summary> Initializes a new instance of <see cref="KeyVaultRoleAssignmentProperties"/>. </summary>
internal KeyVaultRoleAssignmentProperties()
{
}
/// <summary> Initializes a new instance of <see cref="KeyVaultRoleAssignmentProperties"/>. </summary>
/// <param name="scope"> The role scope. </param>
/// <param name="roleDefinitionId"> The role definition ID. </param>
/// <param name="principalId"> The principal ID. </param>
internal KeyVaultRoleAssignmentProperties(KeyVaultRoleScope? scope, string roleDefinitionId, string principalId)
{
Scope = scope;
RoleDefinitionId = roleDefinitionId;
PrincipalId = principalId;
}
/// <summary> The role scope. </summary>
public KeyVaultRoleScope? Scope { get; }
/// <summary> The role definition ID. </summary>
public string RoleDefinitionId { get; }
/// <summary> The principal ID. </summary>
public string PrincipalId { get; }
}
}