Description | : Retrieve the Database Migration resource. |
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)
{}