DenyAssignmentsOperationsExtensions.ListForResourceGroupAsync(IDenyAssignmentsOperations, String, ODataQuery<DenyAssignmentFilter>, CancellationToken) Method

Definition

Gets deny assignments for a resource group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DenyAssignmentInner>> ListForResourceGroupAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IDenyAssignmentsOperations operations, string resourceGroupName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DenyAssignmentFilter> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListForResourceGroupAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IDenyAssignmentsOperations * string * 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 ListForResourceGroupAsync (operations As IDenyAssignmentsOperations, resourceGroupName As String, 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.

resourceGroupName
String

The name of the resource group.

odataQuery
ODataQuery<DenyAssignmentFilter>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<IPage<DenyAssignmentInner>>

Applies to