Share via


MockableDataMigrationSubscriptionResource.GetSqlMigrationServicesAsync Method

Definition

Retrieve all SQL migration services in the subscriptions.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to