共用方式為


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

取消權杖。

傳回

許可權資訊。

適用於