RoleAssignmentsClient.GetRoleAssignmentByIdAsync Method

Definition

Get role assignment by role assignment Id.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.AccessControl.Models.RoleAssignmentDetails>> GetRoleAssignmentByIdAsync (string roleAssignmentId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoleAssignmentByIdAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.AccessControl.Models.RoleAssignmentDetails>>
override this.GetRoleAssignmentByIdAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.AccessControl.Models.RoleAssignmentDetails>>
Public Overridable Function GetRoleAssignmentByIdAsync (roleAssignmentId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RoleAssignmentDetails))

Parameters

roleAssignmentId
String

The ID of the role assignment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to