Share via


MigrationStatusDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.models.MigrationStatusDetails

Implements

public final class MigrationStatusDetails
implements JsonSerializable<MigrationStatusDetails>

Detailed status of current migration.

Constructor Summary

Constructor Description
MigrationStatusDetails()

Creates an instance of MigrationStatusDetails class.

Method Summary

Modifier and Type Method and Description
List<SqlBackupSetInfo> activeBackupSets()

Get the activeBackupSets property: Backup sets that are currently active.

String blobContainerName()

Get the blobContainerName property: Name of blob container.

String completeRestoreErrorMessage()

Get the completeRestoreErrorMessage property: Complete restore error message, if any.

String currentRestoringFilename()

Get the currentRestoringFilename property: File name that is currently being restored.

List<String> fileUploadBlockingErrors()

Get the fileUploadBlockingErrors property: File upload blocking errors, if any.

static MigrationStatusDetails fromJson(JsonReader jsonReader)

Reads an instance of MigrationStatusDetails from the JsonReader.

SqlBackupSetInfo fullBackupSetInfo()

Get the fullBackupSetInfo property: Details of full backup set.

List<String> invalidFiles()

Get the invalidFiles property: Files that are not valid backup files.

Boolean isFullBackupRestored()

Get the isFullBackupRestored property: Whether full backup has been applied to the target database or not.

SqlBackupSetInfo lastRestoredBackupSetInfo()

Get the lastRestoredBackupSetInfo property: Last applied backup set information.

String lastRestoredFilename()

Get the lastRestoredFilename property: Last restored file name.

String migrationState()

Get the migrationState property: Current State of Migration.

Integer pendingLogBackupsCount()

Get the pendingLogBackupsCount property: Total pending log backups.

String restoreBlockingReason()

Get the restoreBlockingReason property: Restore blocking reason, if any.

JsonWriter 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:

the activeBackupSets value.

blobContainerName

public String blobContainerName()

Get the blobContainerName property: Name of blob container.

Returns:

the blobContainerName value.

completeRestoreErrorMessage

public String completeRestoreErrorMessage()

Get the completeRestoreErrorMessage property: Complete restore error message, if any.

Returns:

the completeRestoreErrorMessage value.

currentRestoringFilename

public String currentRestoringFilename()

Get the currentRestoringFilename property: File name that is currently being restored.

Returns:

the currentRestoringFilename value.

fileUploadBlockingErrors

public List<String> fileUploadBlockingErrors()

Get the fileUploadBlockingErrors property: File upload blocking errors, if any.

Returns:

the fileUploadBlockingErrors value.

fromJson

public static MigrationStatusDetails fromJson(JsonReader jsonReader)

Reads an instance of MigrationStatusDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MigrationStatusDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MigrationStatusDetails.

fullBackupSetInfo

public SqlBackupSetInfo fullBackupSetInfo()

Get the fullBackupSetInfo property: Details of full backup set.

Returns:

the fullBackupSetInfo value.

invalidFiles

public List<String> invalidFiles()

Get the invalidFiles property: Files that are not valid backup files.

Returns:

the invalidFiles value.

isFullBackupRestored

public Boolean isFullBackupRestored()

Get the isFullBackupRestored property: Whether full backup has been applied to the target database or not.

Returns:

the isFullBackupRestored value.

lastRestoredBackupSetInfo

public SqlBackupSetInfo lastRestoredBackupSetInfo()

Get the lastRestoredBackupSetInfo property: Last applied backup set information.

Returns:

the lastRestoredBackupSetInfo value.

lastRestoredFilename

public String lastRestoredFilename()

Get the lastRestoredFilename property: Last restored file name.

Returns:

the lastRestoredFilename value.

migrationState

public String migrationState()

Get the migrationState property: Current State of Migration.

Returns:

the migrationState value.

pendingLogBackupsCount

public Integer pendingLogBackupsCount()

Get the pendingLogBackupsCount property: Total pending log backups.

Returns:

the pendingLogBackupsCount value.

restoreBlockingReason

public String restoreBlockingReason()

Get the restoreBlockingReason property: Restore blocking reason, if any.

Returns:

the restoreBlockingReason value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to