Partager via


RoleAssignmentsOperationsExtensions.ListForScopeAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleAssignment>> ListForScopeAsync (this Microsoft.Azure.Management.Authorization.Version2015_07_01.IRoleAssignmentsOperations operations, string scope, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleAssignmentFilter> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListForScopeAsync : Microsoft.Azure.Management.Authorization.Version2015_07_01.IRoleAssignmentsOperations * 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 ListForScopeAsync (operations As IRoleAssignmentsOperations, scope As String, Optional odataQuery As ODataQuery(Of RoleAssignmentFilter) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of RoleAssignment))

Parameters

scope
String
cancellationToken
CancellationToken

Returns

Applies to