Share via


SapInstanceCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the SAP Instance resources for the given SAP Migration discovery site resource.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to