Share via


RoleDefinitionsImpl.IRoleDefinitions.GetByScopeAndRoleNameAsync Method

Definition

Gets the information about a role definition based on scope and name.

System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinition> IRoleDefinitions.GetByScopeAndRoleNameAsync (string scope, string roleName, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinitions.GetByScopeAndRoleNameAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinition>
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinitions.GetByScopeAndRoleNameAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinition>
Function GetByScopeAndRoleNameAsync (scope As String, roleName As String, cancellationToken As CancellationToken) As Task(Of IRoleDefinition) Implements IRoleDefinitions.GetByScopeAndRoleNameAsync

Parameters

scope
String

The scope of the role definition.

roleName
String

The name of the role.

cancellationToken
CancellationToken

Returns

Implements

Applies to