Share via


SapDiscoveryServerInstanceCollection.GetAll(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.Pageable<Azure.ResourceManager.MigrationDiscoverySap.SapDiscoveryServerInstanceResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MigrationDiscoverySap.SapDiscoveryServerInstanceResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.MigrationDiscoverySap.SapDiscoveryServerInstanceResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SapDiscoveryServerInstanceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to