Compartilhar via


ResourceGroupsOperationsExtensions.ListAsync Method

Definition

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

Parameters

cancellationToken
CancellationToken

Returns

Applies to