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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to