Share via


IRoleAssignmentOperations.GetAsync(String, Guid, CancellationToken) Method

Definition

Get single role assignment.

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

Parameters

scope
String

Scope.

roleAssignmentName
Guid

Role assignment name.

cancellationToken
CancellationToken

Cancellation token.

Returns

Role assignment get operation result.

Applies to