Partager via


IPermissionOperations.ListForResourceAsync Méthode

Définition

Obtient les autorisations d’une ressource.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.PermissionGetResult> ListForResourceAsync (string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, System.Threading.CancellationToken cancellationToken);
abstract member ListForResourceAsync : string * Microsoft.Azure.ResourceIdentity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.PermissionGetResult>
Public Function ListForResourceAsync (resourceGroupName As String, identity As ResourceIdentity, cancellationToken As CancellationToken) As Task(Of PermissionGetResult)

Paramètres

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

identity
Microsoft.Azure.ResourceIdentity

Ressource

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Informations sur les autorisations.

S’applique à