Share via


DenyAssignmentsOperationsExtensions.ListAsync Method

Definition

Gets all deny assignments for the subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DenyAssignmentInner>> ListAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IDenyAssignmentsOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DenyAssignmentFilter> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IDenyAssignmentsOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DenyAssignmentFilter> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DenyAssignmentInner>>
<Extension()>
Public Function ListAsync (operations As IDenyAssignmentsOperations, Optional odataQuery As ODataQuery(Of DenyAssignmentFilter) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DenyAssignmentInner))

Parameters

operations
IDenyAssignmentsOperations

The operations group for this extension method.

odataQuery
ODataQuery<DenyAssignmentFilter>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to