IPermissionOperations.ListForResourceAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得資源許可權。
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
取消權杖。
傳回
許可權資訊。