RoleDefinitionOperationsExtensions.GetByIdAsync(IRoleDefinitionOperations, String) 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
System.String

Required. Fully qualified role definition Id

Returns

System.Threading.Tasks.Task<RoleDefinitionGetResult>

Role definition get operation result.

Applies to