| | 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.Analytics.Synapse.AccessControl.Models |
| | 9 | | { |
| | 10 | | /// <summary> Role Assignment response details. </summary> |
| | 11 | | public partial class RoleAssignmentDetails |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of RoleAssignmentDetails. </summary> |
| 0 | 14 | | internal RoleAssignmentDetails() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of RoleAssignmentDetails. </summary> |
| | 19 | | /// <param name="id"> Role Assignment ID. </param> |
| | 20 | | /// <param name="roleId"> Role ID of the Synapse Built-In Role. </param> |
| | 21 | | /// <param name="principalId"> Object ID of the AAD principal or security-group. </param> |
| 184 | 22 | | internal RoleAssignmentDetails(string id, string roleId, string principalId) |
| | 23 | | { |
| 184 | 24 | | Id = id; |
| 184 | 25 | | RoleId = roleId; |
| 184 | 26 | | PrincipalId = principalId; |
| 184 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> Role Assignment ID. </summary> |
| 184 | 30 | | public string Id { get; } |
| | 31 | | /// <summary> Role ID of the Synapse Built-In Role. </summary> |
| 124 | 32 | | public string RoleId { get; } |
| | 33 | | /// <summary> Object ID of the AAD principal or security-group. </summary> |
| 184 | 34 | | public string PrincipalId { get; } |
| | 35 | | } |
| | 36 | | } |