Share via


MockableDataMigrationSubscriptionResource.GetDataMigrationServicesAsync Method

Definition

The services resource is the top-level resource that represents the Database Migration Service. This method returns a list of service resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services
  • Operation Id: Services_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.DataMigration.DataMigrationServiceResource> GetDataMigrationServicesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataMigrationServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataMigration.DataMigrationServiceResource>
override this.GetDataMigrationServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataMigration.DataMigrationServiceResource>
Public Overridable Function GetDataMigrationServicesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataMigrationServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to