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

RoleDefinitionsImpl.IRoleDefinitions.ListByScopeAsync 方法

定义

列出范围内的角色定义。

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

参数

scope
String

角色定义的范围。

cancellationToken
CancellationToken

返回

实现

适用于