Share via


MockableStorageSyncSubscriptionResource.GetStorageSyncServicesAsync Method

Definition

Get a StorageSyncService list by subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/storageSyncServices
  • Operation Id: StorageSyncServices_ListBySubscription
public virtual Azure.AsyncPageable<Azure.ResourceManager.StorageSync.StorageSyncServiceResource> GetStorageSyncServicesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageSyncServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageSync.StorageSyncServiceResource>
override this.GetStorageSyncServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StorageSync.StorageSyncServiceResource>
Public Overridable Function GetStorageSyncServicesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StorageSyncServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to