Sdílet prostřednictvím


RoleDefinitionOperationsExtensions.GetAsync Metoda

Definice

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

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

Parametry

operations
IRoleDefinitionOperations

Odkaz na Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations.

roleDefinitionId
Guid

Povinná hodnota. ID definice role

scope
String

Povinná hodnota. Obor

Návraty

Definice role získá výsledek operace.

Platí pro