MigrationStatusDetails Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. MigrationStatusDetails
- com.
Implements
public final class MigrationStatusDetails
implements JsonSerializable<MigrationStatusDetails>
Detailed status of current migration.
Constructor Summary
| Constructor | Description |
|---|---|
| MigrationStatusDetails() |
Creates an instance of Migration |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Sql |
activeBackupSets()
Get the active |
| String |
blobContainerName()
Get the blob |
| String |
completeRestoreErrorMessage()
Get the complete |
| String |
currentRestoringFilename()
Get the current |
| List<String> |
fileUploadBlockingErrors()
Get the file |
|
static
Migration |
fromJson(JsonReader jsonReader)
Reads an instance of Migration |
|
Sql |
fullBackupSetInfo()
Get the full |
| List<String> |
invalidFiles()
Get the invalid |
| Boolean |
isFullBackupRestored()
Get the is |
|
Sql |
lastRestoredBackupSetInfo()
Get the last |
| String |
lastRestoredFilename()
Get the last |
| String |
migrationState()
Get the migration |
| Integer |
pendingLogBackupsCount()
Get the pending |
| String |
restoreBlockingReason()
Get the restore |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
MigrationStatusDetails
public MigrationStatusDetails()
Creates an instance of MigrationStatusDetails class.
Method Details
activeBackupSets
public List<SqlBackupSetInfo> activeBackupSets()
Get the activeBackupSets property: Backup sets that are currently active.
Returns:
blobContainerName
public String blobContainerName()
Get the blobContainerName property: Name of blob container.
Returns:
completeRestoreErrorMessage
public String completeRestoreErrorMessage()
Get the completeRestoreErrorMessage property: Complete restore error message, if any.
Returns:
currentRestoringFilename
public String currentRestoringFilename()
Get the currentRestoringFilename property: File name that is currently being restored.
Returns:
fileUploadBlockingErrors
public List<String> fileUploadBlockingErrors()
Get the fileUploadBlockingErrors property: File upload blocking errors, if any.
Returns:
fromJson
public static MigrationStatusDetails fromJson(JsonReader jsonReader)
Reads an instance of MigrationStatusDetails from the JsonReader.
Parameters:
Returns:
Throws:
fullBackupSetInfo
public SqlBackupSetInfo fullBackupSetInfo()
Get the fullBackupSetInfo property: Details of full backup set.
Returns:
invalidFiles
public List<String> invalidFiles()
Get the invalidFiles property: Files that are not valid backup files.
Returns:
isFullBackupRestored
public Boolean isFullBackupRestored()
Get the isFullBackupRestored property: Whether full backup has been applied to the target database or not.
Returns:
lastRestoredBackupSetInfo
public SqlBackupSetInfo lastRestoredBackupSetInfo()
Get the lastRestoredBackupSetInfo property: Last applied backup set information.
Returns:
lastRestoredFilename
public String lastRestoredFilename()
Get the lastRestoredFilename property: Last restored file name.
Returns:
migrationState
public String migrationState()
Get the migrationState property: Current State of Migration.
Returns:
pendingLogBackupsCount
public Integer pendingLogBackupsCount()
Get the pendingLogBackupsCount property: Total pending log backups.
Returns:
restoreBlockingReason
public String restoreBlockingReason()
Get the restoreBlockingReason property: Restore blocking reason, if any.
Returns:
toJson
validate
public void validate()
Validates the instance.