Partager via


ResourcesOperationsExtensions.ListAsync Méthode

Définition

Obtenez toutes les ressources d’un abonnement.

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

Paramètres

operations
IResourcesOperations

Groupe d’opérations pour cette méthode d’extension.

odataQuery
ODataQuery<GenericResourceFilter>

Paramètres OData à appliquer à l’opération.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à