Skip to main content

sql_migration_services_migrations

Creates, updates, deletes, gets or lists a sql_migration_services_migrations resource.

Overview

Namesql_migration_services_migrations
TypeResource
Idazure.data_migration.sql_migration_services_migrations

Fields

The following fields are returned by SELECT queries:

Successfully return of migrations attached to the service.

NameDatatypeDescription
idstring
namestring
propertiesobjectDatabase Migration Resource properties.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, sqlMigrationServiceName, subscriptionIdRetrieve the List of database migrations attached to the service.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringName of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
sqlMigrationServiceNamestringName of the SQL Migration Service.
subscriptionIdstringSubscription ID that identifies an Azure subscription.

SELECT examples

Retrieve the List of database migrations attached to the service.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_migration.sql_migration_services_migrations
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND sqlMigrationServiceName = '{{ sqlMigrationServiceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;