Share via


RoleDefinitionOperationsExtensions.GetByIdAsync Method

Definition

Get role definition by name (GUID).

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

Parameters

operations
IRoleDefinitionOperations

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

roleDefinitionId
String

Required. Fully qualified role definition Id

Returns

Role definition get operation result.

Applies to