Share via


PermissionOperationsExtensions.ListForResourceAsync Method

Definition

Gets a resource permissions.

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

Parameters

operations
IPermissionOperations

Reference to the Microsoft.Azure.Management.Authorization.IPermissionOperations.

resourceGroupName
String

Required. The name of the resource group. The name is case insensitive.

identity
Microsoft.Azure.ResourceIdentity

Required. Resource

Returns

Permissions information.

Applies to