SapDiscoverySiteCollection.GetAllAsync(CancellationToken) Method

Definition

Gets all SAP Migration discovery site resources in a Resource Group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites
  • Operation Id: SapDiscoverySites_ListByResourceGroup
  • Default Api Version: 2023-10-01-preview
  • Resource: SapDiscoverySiteResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.MigrationDiscoverySap.SapDiscoverySiteResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MigrationDiscoverySap.SapDiscoverySiteResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MigrationDiscoverySap.SapDiscoverySiteResource>
Public Overridable Function GetAllAsync (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