IRoleDefinitionOperations.GetAsync(Guid, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.