Share via


MockableMigrationDiscoverySapSubscriptionResource.GetSapDiscoverySites Method

Definition

Gets all SAP Migration discovery site resources in a Subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to