| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.Security.KeyVault.Administration.Models |
| | 9 | | { |
| | 10 | | /// <summary> Role assignment properties with scope. </summary> |
| | 11 | | public partial class RoleAssignmentPropertiesWithScope |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of RoleAssignmentPropertiesWithScope. </summary> |
| 0 | 14 | | internal RoleAssignmentPropertiesWithScope() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of RoleAssignmentPropertiesWithScope. </summary> |
| | 19 | | /// <param name="scope"> The role assignment scope. </param> |
| | 20 | | /// <param name="roleDefinitionId"> The role definition ID. </param> |
| | 21 | | /// <param name="principalId"> The principal ID. </param> |
| 106 | 22 | | internal RoleAssignmentPropertiesWithScope(string scope, string roleDefinitionId, string principalId) |
| | 23 | | { |
| 106 | 24 | | Scope = scope; |
| 106 | 25 | | RoleDefinitionId = roleDefinitionId; |
| 106 | 26 | | PrincipalId = principalId; |
| 106 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> The role assignment scope. </summary> |
| 32 | 30 | | public string Scope { get; } |
| | 31 | | /// <summary> The role definition ID. </summary> |
| 26 | 32 | | public string RoleDefinitionId { get; } |
| | 33 | | /// <summary> The principal ID. </summary> |
| 26 | 34 | | public string PrincipalId { get; } |
| | 35 | | } |
| | 36 | | } |