你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RoleDefinitionsImpl.IRoleDefinitions.GetByScopeAndRoleNameAsync 方法

定义

根据范围和名称获取有关角色定义的信息。

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

参数

scope
String

角色定义的范围。

roleName
String

角色的名称。

cancellationToken
CancellationToken

返回

实现

适用于