Share via


RoleAssignmentOperationsExtensions.GetByIdAsync Method

Definition

Get single role assignment.

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

Parameters

operations
IRoleAssignmentOperations

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

roleAssignmentId
String

Required. Role assignment Id

Returns

Role assignment get operation result.

Applies to