RoleAssignmentOperationsExtensions.ListForResourceAsync(IRoleAssignmentOperations, String, ResourceIdentity, ListAssignmentsFilterParameters) Method

Definition

Gets role assignments of the resource.

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

Parameters

operations
IRoleAssignmentOperations

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

resourceGroupName
System.String

Required. The name of the resource group.

identity
Microsoft.Azure.ResourceIdentity

Required. Resource identity.

parameters
ListAssignmentsFilterParameters

Optional. List operation filters. If null will return all role assignments at, above or below the resource.

Returns

System.Threading.Tasks.Task<RoleAssignmentListResult>

Role assignment list operation result.

Applies to