Share via


SapDiscoveryServerInstanceCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the Server Instance resources for the given SAP Instance resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}/sapInstances/{sapInstanceName}/serverInstances
  • Operation Id: ServerInstances_ListBySapInstance
  • Default Api Version: 2023-10-01-preview
  • Resource: SapDiscoveryServerInstanceResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.MigrationDiscoverySap.SapDiscoveryServerInstanceResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MigrationDiscoverySap.SapDiscoveryServerInstanceResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MigrationDiscoverySap.SapDiscoveryServerInstanceResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SapDiscoveryServerInstanceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to