Partager via


RoleAssignmentsClient.GetRoleAssignmentByIdAsync Méthode

Définition

Obtenir l’attribution de rôle par ID d’attribution de rôle.

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

Paramètres

roleAssignmentId
String

ID de l’attribution de rôle.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à