Compartilhar via


RoleAssignmentsClient.GetRoleAssignmentByIdAsync Método

Definição

Obter atribuição de função por ID de atribuição de função.

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))

Parâmetros

roleAssignmentId
String

A ID da atribuição de função.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a