ResourceGroupsOperationsExtensions.ListNextAsync(IResourceGroupsOperations, String, CancellationToken) ResourceGroupsOperationsExtensions.ListNextAsync(IResourceGroupsOperations, String, CancellationToken) Method

Definition

Gets all the resource groups for a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.ResourceGroup>> ListNextAsync (this Microsoft.Azure.Management.ResourceManager.IResourceGroupsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = null);
static member ListNextAsync : Microsoft.Azure.Management.ResourceManager.IResourceGroupsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.ResourceGroup>>

Parameters

operations
IResourceGroupsOperations IResourceGroupsOperations

The operations group for this extension method.

nextPageLink
String String

The NextLink from the previous successful call to List operation.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

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

Applies to