Dela via


RoleDefinitionsImpl.GetByScopeAndRoleNameAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinition> GetByScopeAndRoleNameAsync (string scope, string roleName, System.Threading.CancellationToken cancellationToken = default);
member this.GetByScopeAndRoleNameAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinition>
Public Function GetByScopeAndRoleNameAsync (scope As String, roleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IRoleDefinition)

Parameters

scope
String
roleName
String
cancellationToken
CancellationToken

Returns

Applies to