Sdílet prostřednictvím


IRoleDefinitionOperations.GetAsync(Guid, String, CancellationToken) Metoda

Definice

Získejte definici role podle názvu (GUID).

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionGetResult> GetAsync (Guid roleDefinitionId, string scope, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : Guid * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionGetResult>
Public Function GetAsync (roleDefinitionId As Guid, scope As String, cancellationToken As CancellationToken) As Task(Of RoleDefinitionGetResult)

Parametry

roleDefinitionId
Guid

ID definice role

scope
String

Obor

cancellationToken
CancellationToken

Token zrušení.

Návraty

Definice role získá výsledek operace.

Platí pro