共用方式為


StorageMoverExtensions.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 static Azure.AsyncPageable<Azure.ResourceManager.StorageMover.StorageMoverResource> GetStorageMoversAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetStorageMoversAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageMover.StorageMoverResource>
<Extension()>
Public Function GetStorageMoversAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StorageMoverResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to