共用方式為


StorageSyncGroupCollection.GetAllAsync(CancellationToken) Method

Definition

Get a SyncGroup List.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to