다음을 통해 공유


ResourceMoverExtensions.GetMoverResourceSetsAsync Method

Definition

Get all the Move Collections in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Migrate/moveCollections
  • Operation Id: MoveCollections_ListMoveCollectionsBySubscription
  • Default Api Version: 2023-08-01
  • Resource: MoverResourceSetResource
public static Azure.AsyncPageable<Azure.ResourceManager.ResourceMover.MoverResourceSetResource> GetMoverResourceSetsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetMoverResourceSetsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ResourceMover.MoverResourceSetResource>
<Extension()>
Public Function GetMoverResourceSetsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MoverResourceSetResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of MoverResourceSetResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to