IRoleDefinitionOperations.GetAsync(Guid, String, CancellationToken) Method

Definition

Get role definition by name (GUID).

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionGetResult> GetAsync (Guid roleDefinitionId, string scope, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : Guid * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleDefinitionGetResult>

Parameters

roleDefinitionId
System.Guid

Role definition Id

scope
System.String

Scope

cancellationToken
System.Threading.CancellationToken

Cancellation token.

Returns

System.Threading.Tasks.Task<RoleDefinitionGetResult>

Role definition get operation result.

Applies to