Share via


MockableDataMigrationSubscriptionResource.GetSqlMigrationServices 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.Pageable<Azure.ResourceManager.DataMigration.SqlMigrationServiceResource> GetSqlMigrationServices (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlMigrationServices : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataMigration.SqlMigrationServiceResource>
override this.GetSqlMigrationServices : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataMigration.SqlMigrationServiceResource>
Public Overridable Function GetSqlMigrationServices (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlMigrationServiceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to