MockableStorageMoverSubscriptionResource.GetStorageMoversAsync Method

Definition

Lists all Storage Movers in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageMover/storageMovers
  • Operation Id: StorageMovers_ListBySubscription
  • Default Api Version: 2024-07-01
  • Resource: StorageMoverResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.StorageMover.StorageMoverResource> GetStorageMoversAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageMoversAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageMover.StorageMoverResource>
override this.GetStorageMoversAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageMover.StorageMoverResource>
Public Overridable Function GetStorageMoversAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StorageMoverResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to