共用方式為


StorageSyncServerEndpointCollection.GetAllAsync(CancellationToken) Method

Definition

Get a ServerEndpoint list.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to