Microsoft.Sql (preview:2022-01-30)

2025/09/26 • 20 new, 20 deleted methods

DatabaseMigrationsSqlMi_Get (new)
Description Retrieve the specified database migration for a given SQL Managed Instance.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
{
resourceGroupName: string ,
managedInstanceName: string ,
targetDbName: string ,
migrationOperationId: string ,
$expand: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}

⚐ Response (default)

{}
DatabaseMigrationsSqlMi_CreateOrUpdate (new)
Description Create a new database migration to a given SQL Managed Instance.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
{
resourceGroupName: string ,
managedInstanceName: string ,
targetDbName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}

⚐ Response (default)

{}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}
DatabaseMigrationsSqlMi_cancel (new)
Description Stop in-progress database migration to SQL Managed Instance.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel
{
resourceGroupName: string ,
managedInstanceName: string ,
targetDbName: string ,
parameters:
{
migrationOperationId: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{}

⚐ Response (202)

{}
DatabaseMigrationsSqlMi_cutover (new)
Description Initiate cutover for in-progress online database migration to SQL Managed Instance.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover
{
resourceGroupName: string ,
managedInstanceName: string ,
targetDbName: string ,
parameters:
{
migrationOperationId: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{}

⚐ Response (202)

{}
DatabaseMigrationsSqlVm_Get (new)
Description Retrieve the specified database migration for a given SQL VM.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
{
resourceGroupName: string ,
sqlVirtualMachineName: string ,
targetDbName: string ,
migrationOperationId: string ,
$expand: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}

⚐ Response (default)

{}
DatabaseMigrationsSqlVm_CreateOrUpdate (new)
Description Create a new database migration to a given SQL VM.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
{
resourceGroupName: string ,
sqlVirtualMachineName: string ,
targetDbName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}

⚐ Response (default)

{}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}
DatabaseMigrationsSqlVm_cancel (new)
Description Stop in-progress database migration to SQL VM.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel
{
resourceGroupName: string ,
sqlVirtualMachineName: string ,
targetDbName: string ,
parameters:
{
migrationOperationId: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{}

⚐ Response (202)

{}
DatabaseMigrationsSqlVm_cutover (new)
Description Initiate cutover for in-progress online database migration to SQL VM.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover
{
resourceGroupName: string ,
sqlVirtualMachineName: string ,
targetDbName: string ,
parameters:
{
migrationOperationId: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{}

⚐ Response (202)

{}
Operations_List (new)
Description Lists all of the available SQL Migration REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DataMigration/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
properties: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{}
SqlMigrationServices_Get (new)
Description Retrieve the Database Migration Service
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}

⚐ Response (default)

{}
SqlMigrationServices_CreateOrUpdate (new)
Description Create or Update Database Migration Service.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}

⚐ Response (default)

{}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}
SqlMigrationServices_Delete (new)
Description Delete Database Migration Service.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}
SqlMigrationServices_Update (new)
Description Update Database Migration Service.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
parameters:
{
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}

⚐ Response (default)

{}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}
SqlMigrationServices_ListByResourceGroup (new)
Description Retrieve all SQL migration services in the resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices
{
resourceGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{}
SqlMigrationServices_listAuthKeys (new)
Description Retrieve the List of Authentication Keys for Self Hosted Integration Runtime.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listAuthKeys
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
authKey1: string ,
authKey2: string ,
}

⚐ Response (default)

{}
SqlMigrationServices_regenerateAuthKeys (new)
Description Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/regenerateAuthKeys
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
parameters:
{
keyName: string ,
authKey1: string ,
authKey2: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
keyName: string ,
authKey1: string ,
authKey2: string ,
}

⚐ Response (default)

{}
SqlMigrationServices_deleteNode (new)
Description Delete the integration runtime node.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/deleteNode
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
parameters:
{
nodeName: string ,
integrationRuntimeName: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
nodeName: string ,
integrationRuntimeName: string ,
}

⚐ Response (default)

{}
SqlMigrationServices_listMigrations (new)
Description Retrieve the List of database migrations attached to the service.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
kind: enum ,
scope: string ,
provisioningState: string ,
migrationStatus: string ,
startedOn: string ,
endedOn: string ,
sourceSqlConnection:
{
dataSource: string ,
authentication: string ,
userName: string ,
password: string ,
encryptConnection: boolean ,
trustServerCertificate: boolean ,
}
,
sourceDatabaseName: string ,
migrationService: string ,
migrationOperationId: string ,
migrationFailureError:
{
code: string ,
message: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{}
SqlMigrationServices_listMonitoringData (new)
Description Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database Migration Service.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMonitoringData
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
name: string ,
nodes:
[
{
additionalProperties: object ,
nodeName: string ,
availableMemoryInMB: integer ,
cpuUtilization: integer ,
concurrentJobsLimit: integer ,
concurrentJobsRunning: integer ,
maxConcurrentJobs: integer ,
sentBytes: number ,
receivedBytes: number ,
}
,
]
,
}

⚐ Response (default)

{}
SqlMigrationServices_ListBySubscription (new)
Description Retrieve all SQL migration services in the subscriptions.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{}
DatabaseMigrationsSqlMi_Get (removed)
Description Retrieve the specified database migration for a given SQL Managed Instance.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
{
resourceGroupName: string ,
managedInstanceName: string ,
targetDbName: string ,
migrationOperationId: string ,
$expand: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}

⚐ Response (default)

{}
DatabaseMigrationsSqlMi_CreateOrUpdate (removed)
Description Create a new database migration to a given SQL Managed Instance.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
{
resourceGroupName: string ,
managedInstanceName: string ,
targetDbName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}

⚐ Response (default)

{}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}
DatabaseMigrationsSqlMi_cancel (removed)
Description Stop in-progress database migration to SQL Managed Instance.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel
{
resourceGroupName: string ,
managedInstanceName: string ,
targetDbName: string ,
parameters:
{
migrationOperationId: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{}

⚐ Response (202)

{}
DatabaseMigrationsSqlMi_cutover (removed)
Description Initiate cutover for in-progress online database migration to SQL Managed Instance.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover
{
resourceGroupName: string ,
managedInstanceName: string ,
targetDbName: string ,
parameters:
{
migrationOperationId: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{}

⚐ Response (202)

{}
DatabaseMigrationsSqlVm_Get (removed)
Description Retrieve the specified database migration for a given SQL VM.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
{
resourceGroupName: string ,
sqlVirtualMachineName: string ,
targetDbName: string ,
migrationOperationId: string ,
$expand: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}

⚐ Response (default)

{}
DatabaseMigrationsSqlVm_CreateOrUpdate (removed)
Description Create a new database migration to a given SQL VM.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
{
resourceGroupName: string ,
sqlVirtualMachineName: string ,
targetDbName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}

⚐ Response (default)

{}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
migrationStatusDetails:
{
migrationState: string ,
fullBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
lastRestoredBackupSetInfo:
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
activeBackupSets:
[
{
backupSetId: string ,
firstLSN: string ,
lastLSN: string ,
backupType: string ,
listOfBackupFiles:
[
{
fileName: string ,
status: string ,
totalSize: integer ,
dataRead: integer ,
dataWritten: integer ,
copyThroughput: number ,
copyDuration: integer ,
familySequenceNumber: integer ,
}
,
]
,
backupStartDate: string ,
backupFinishDate: string ,
isBackupRestored: boolean ,
hasBackupChecksums: boolean ,
familyCount: integer ,
ignoreReasons:
[
string ,
]
,
}
,
]
,
invalidFiles:
[
string ,
]
,
blobContainerName: string ,
isFullBackupRestored: boolean ,
restoreBlockingReason: string ,
completeRestoreErrorMessage: string ,
fileUploadBlockingErrors:
[
string ,
]
,
currentRestoringFilename: string ,
lastRestoredFilename: string ,
pendingLogBackupsCount: integer ,
}
,
targetDatabaseCollation: string ,
provisioningError: string ,
backupConfiguration:
{
sourceLocation:
{
fileShare:
{
path: string ,
username: string ,
password: string ,
}
,
azureBlob:
{
storageAccountResourceId: string ,
accountKey: string ,
blobContainerName: string ,
}
,
}
,
targetLocation:
{
storageAccountResourceId: string ,
accountKey: string ,
}
,
}
,
offlineConfiguration:
{
offline: boolean ,
lastBackupName: string ,
}
,
}
,
}
DatabaseMigrationsSqlVm_cancel (removed)
Description Stop in-progress database migration to SQL VM.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel
{
resourceGroupName: string ,
sqlVirtualMachineName: string ,
targetDbName: string ,
parameters:
{
migrationOperationId: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{}

⚐ Response (202)

{}
DatabaseMigrationsSqlVm_cutover (removed)
Description Initiate cutover for in-progress online database migration to SQL VM.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover
{
resourceGroupName: string ,
sqlVirtualMachineName: string ,
targetDbName: string ,
parameters:
{
migrationOperationId: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{}

⚐ Response (202)

{}
Operations_List (removed)
Description Lists all of the available SQL Migration REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DataMigration/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
properties: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{}
SqlMigrationServices_Get (removed)
Description Retrieve the Database Migration Service
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}

⚐ Response (default)

{}
SqlMigrationServices_CreateOrUpdate (removed)
Description Create or Update Database Migration Service.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}

⚐ Response (default)

{}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}
SqlMigrationServices_Delete (removed)
Description Delete Database Migration Service.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}
SqlMigrationServices_Update (removed)
Description Update Database Migration Service.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
parameters:
{
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}

⚐ Response (default)

{}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}
SqlMigrationServices_ListByResourceGroup (removed)
Description Retrieve all SQL migration services in the resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices
{
resourceGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{}
SqlMigrationServices_listAuthKeys (removed)
Description Retrieve the List of Authentication Keys for Self Hosted Integration Runtime.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listAuthKeys
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
authKey1: string ,
authKey2: string ,
}

⚐ Response (default)

{}
SqlMigrationServices_regenerateAuthKeys (removed)
Description Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/regenerateAuthKeys
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
parameters:
{
keyName: string ,
authKey1: string ,
authKey2: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
keyName: string ,
authKey1: string ,
authKey2: string ,
}

⚐ Response (default)

{}
SqlMigrationServices_deleteNode (removed)
Description Delete the integration runtime node.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/deleteNode
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
parameters:
{
nodeName: string ,
integrationRuntimeName: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
nodeName: string ,
integrationRuntimeName: string ,
}

⚐ Response (default)

{}
SqlMigrationServices_listMigrations (removed)
Description Retrieve the List of database migrations attached to the service.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
kind: enum ,
scope: string ,
provisioningState: string ,
migrationStatus: string ,
startedOn: string ,
endedOn: string ,
sourceSqlConnection:
{
dataSource: string ,
authentication: string ,
userName: string ,
password: string ,
encryptConnection: boolean ,
trustServerCertificate: boolean ,
}
,
sourceDatabaseName: string ,
migrationService: string ,
migrationOperationId: string ,
migrationFailureError:
{
code: string ,
message: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{}
SqlMigrationServices_listMonitoringData (removed)
Description Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database Migration Service.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMonitoringData
{
resourceGroupName: string ,
sqlMigrationServiceName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
name: string ,
nodes:
[
{
additionalProperties: object ,
nodeName: string ,
availableMemoryInMB: integer ,
cpuUtilization: integer ,
concurrentJobsLimit: integer ,
concurrentJobsRunning: integer ,
maxConcurrentJobs: integer ,
sentBytes: number ,
receivedBytes: number ,
}
,
]
,
}

⚐ Response (default)

{}
SqlMigrationServices_ListBySubscription (removed)
Description Retrieve all SQL migration services in the subscriptions.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: string ,
integrationRuntimeState: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{}