Share via


RoleDefinitionOperationsExtensions.GetAsync Method

Definition

Get role definition by name (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)

Parameters

operations
IRoleDefinitionOperations

Reference to the Microsoft.Azure.Management.Authorization.IRoleDefinitionOperations.

roleDefinitionId
Guid

Required. Role definition Id

scope
String

Required. Scope

Returns

Role definition get operation result.

Applies to