Partager via


RoleDefinitionsOperationsExtensions.GetByIdAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleDefinition> GetByIdAsync (this Microsoft.Azure.Management.Authorization.Version2015_07_01.IRoleDefinitionsOperations operations, string roleDefinitionId, System.Threading.CancellationToken cancellationToken = default);
static member GetByIdAsync : Microsoft.Azure.Management.Authorization.Version2015_07_01.IRoleDefinitionsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleDefinition>
<Extension()>
Public Function GetByIdAsync (operations As IRoleDefinitionsOperations, roleDefinitionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RoleDefinition)

Parameters

roleDefinitionId
String
cancellationToken
CancellationToken

Returns

Applies to