MockableDataMigrationSubscriptionResource.GetSqlMigrationServices 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.
Retrieve all SQL migration services in the subscriptions.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices
- Operation Id: SqlMigrationServices_ListBySubscription
- Default Api Version: 2022-03-30-preview
- Resource: SqlMigrationServiceResource
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.