Partager via


RoleAssignmentsOperationsExtensions.ListForResourceAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleAssignment>> ListForResourceAsync (this Microsoft.Azure.Management.Authorization.Version2015_07_01.IRoleAssignmentsOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleAssignmentFilter> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListForResourceAsync : Microsoft.Azure.Management.Authorization.Version2015_07_01.IRoleAssignmentsOperations * string * string * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleAssignmentFilter> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleAssignment>>
<Extension()>
Public Function ListForResourceAsync (operations As IRoleAssignmentsOperations, resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, Optional odataQuery As ODataQuery(Of RoleAssignmentFilter) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of RoleAssignment))

Parameters

resourceGroupName
String
resourceProviderNamespace
String
parentResourcePath
String
resourceType
String
resourceName
String
cancellationToken
CancellationToken

Returns

Applies to