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

IPermissionOperations.ListForResourceAsync 方法

定义

获取资源权限。

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.PermissionGetResult> ListForResourceAsync (string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, System.Threading.CancellationToken cancellationToken);
abstract member ListForResourceAsync : string * Microsoft.Azure.ResourceIdentity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.PermissionGetResult>
Public Function ListForResourceAsync (resourceGroupName As String, identity As ResourceIdentity, cancellationToken As CancellationToken) As Task(Of PermissionGetResult)

参数

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

identity
Microsoft.Azure.ResourceIdentity

资源

cancellationToken
CancellationToken

取消标记。

返回

权限信息。

适用于