Compartilhar via


MigrateExtensions.GetMoveCollectionsAsync Método

Definição

Obtenha todas as Coleções de Movimentação na assinatura. Caminho da Solicitação: /subscriptions/{subscriptionId}/providers/Microsoft.Migrate/moveCollections Operation Id: MoveCollections_ListMoveCollectionsBySubscription

public static Azure.AsyncPageable<Azure.ResourceManager.Migrate.MoveCollectionResource> GetMoveCollectionsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMoveCollectionsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Migrate.MoveCollectionResource>
<Extension()>
Public Function GetMoveCollectionsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MoveCollectionResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de MoveCollectionResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a