ResourcesOperationsExtensions.ListAsync(IResourcesOperations, ODataQuery<GenericResourceFilterInner>, CancellationToken) Method

Definition

Get all of the resources under a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Fluent.Models.GenericResourceInner>> ListAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.IResourcesOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ResourceManager.Fluent.Models.GenericResourceFilterInner> odataQuery = null, System.Threading.CancellationToken cancellationToken = null);
static member ListAsync : Microsoft.Azure.Management.ResourceManager.Fluent.IResourcesOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ResourceManager.Fluent.Models.GenericResourceFilterInner> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Fluent.Models.GenericResourceInner>>

Parameters

operations
IResourcesOperations

The operations group for this extension method.

odataQuery
Microsoft.Rest.Azure.OData.ODataQuery<GenericResourceFilterInner>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.IPage<GenericResourceInner>>

Applies to