Share via


RoleAssignmentOperationsExtensions.GetAsync Method

Definition

Get single role assignment.

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

Parameters

operations
IRoleAssignmentOperations

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

scope
String

Required. Scope.

roleAssignmentName
Guid

Required. Role assignment name.

Returns

Role assignment get operation result.

Applies to