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

RoleDefinitionsImpl.IRoleDefinitions.GetByScopeAsync 方法

定义

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

System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinition> IRoleDefinitions.GetByScopeAsync (string scope, string name, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinitions.GetByScopeAsync : 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.GetByScopeAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinition>
Function GetByScopeAsync (scope As String, name As String, cancellationToken As CancellationToken) As Task(Of IRoleDefinition) Implements IRoleDefinitions.GetByScopeAsync

参数

scope
String

角色定义的范围。

name
String

角色定义的名称。

cancellationToken
CancellationToken

返回

实现

适用于