MockableMigrationDiscoverySapSubscriptionResource.GetSapDiscoverySites Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.