BackupValidationDetails¶
-
class
oci.mysql.models.
BackupValidationDetails
(**kwargs)¶ Bases:
object
Backup validation details.
Attributes
BACKUP_PREPARATION_STATUS_NOT_PREPARED
A constant which can be used with the backup_preparation_status property of a BackupValidationDetails. BACKUP_PREPARATION_STATUS_PREPARED
A constant which can be used with the backup_preparation_status property of a BackupValidationDetails. VALIDATION_STATUS_FAILED
A constant which can be used with the validation_status property of a BackupValidationDetails. VALIDATION_STATUS_NEEDS_ATTENTION
A constant which can be used with the validation_status property of a BackupValidationDetails. VALIDATION_STATUS_NOT_VALIDATED
A constant which can be used with the validation_status property of a BackupValidationDetails. VALIDATION_STATUS_VALIDATED
A constant which can be used with the validation_status property of a BackupValidationDetails. backup_preparation_status
Gets the backup_preparation_status of this BackupValidationDetails. error_message
Gets the error_message of this BackupValidationDetails. estimated_restore_duration
Gets the estimated_restore_duration of this BackupValidationDetails. prepared_backup_details
Gets the prepared_backup_details of this BackupValidationDetails. time_last_validated
Gets the time_last_validated of this BackupValidationDetails. validation_status
Gets the validation_status of this BackupValidationDetails. Methods
__init__
(**kwargs)Initializes a new BackupValidationDetails object with values from keyword arguments. -
BACKUP_PREPARATION_STATUS_NOT_PREPARED
= 'NOT_PREPARED'¶ A constant which can be used with the backup_preparation_status property of a BackupValidationDetails. This constant has a value of “NOT_PREPARED”
-
BACKUP_PREPARATION_STATUS_PREPARED
= 'PREPARED'¶ A constant which can be used with the backup_preparation_status property of a BackupValidationDetails. This constant has a value of “PREPARED”
-
VALIDATION_STATUS_FAILED
= 'FAILED'¶ A constant which can be used with the validation_status property of a BackupValidationDetails. This constant has a value of “FAILED”
-
VALIDATION_STATUS_NEEDS_ATTENTION
= 'NEEDS_ATTENTION'¶ A constant which can be used with the validation_status property of a BackupValidationDetails. This constant has a value of “NEEDS_ATTENTION”
-
VALIDATION_STATUS_NOT_VALIDATED
= 'NOT_VALIDATED'¶ A constant which can be used with the validation_status property of a BackupValidationDetails. This constant has a value of “NOT_VALIDATED”
-
VALIDATION_STATUS_VALIDATED
= 'VALIDATED'¶ A constant which can be used with the validation_status property of a BackupValidationDetails. This constant has a value of “VALIDATED”
-
__init__
(**kwargs)¶ Initializes a new BackupValidationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - validation_status (str) – The value to assign to the validation_status property of this BackupValidationDetails. Allowed values for this property are: “NOT_VALIDATED”, “VALIDATED”, “NEEDS_ATTENTION”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_last_validated (datetime) – The value to assign to the time_last_validated property of this BackupValidationDetails.
- estimated_restore_duration (str) – The value to assign to the estimated_restore_duration property of this BackupValidationDetails.
- error_message (str) – The value to assign to the error_message property of this BackupValidationDetails.
- backup_preparation_status (str) – The value to assign to the backup_preparation_status property of this BackupValidationDetails. Allowed values for this property are: “PREPARED”, “NOT_PREPARED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- prepared_backup_details (oci.mysql.models.PreparedBackupDetails) – The value to assign to the prepared_backup_details property of this BackupValidationDetails.
-
backup_preparation_status
¶ Gets the backup_preparation_status of this BackupValidationDetails. Indicates whether the backup has been prepared successfully. PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.
Allowed values for this property are: “PREPARED”, “NOT_PREPARED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The backup_preparation_status of this BackupValidationDetails. Return type: str
-
error_message
¶ Gets the error_message of this BackupValidationDetails. Error message if the backup validation has failed.
Returns: The error_message of this BackupValidationDetails. Return type: str
-
estimated_restore_duration
¶ Gets the estimated_restore_duration of this BackupValidationDetails. The estimated restore duration of the backup.
Returns: The estimated_restore_duration of this BackupValidationDetails. Return type: str
-
prepared_backup_details
¶ Gets the prepared_backup_details of this BackupValidationDetails.
Returns: The prepared_backup_details of this BackupValidationDetails. Return type: oci.mysql.models.PreparedBackupDetails
-
time_last_validated
¶ Gets the time_last_validated of this BackupValidationDetails. The date and time of the most recent validation performed on the backup.
Returns: The time_last_validated of this BackupValidationDetails. Return type: datetime
-
validation_status
¶ Gets the validation_status of this BackupValidationDetails. The status of backup validation: NOT_VALIDATED (Default): The backup has not been validated. VALIDATED: The backup has been validated successfully. NEEDS_ATTENTION: The backup validation failed due to a transient issue. Validation should be retried. FAILED: The backup cannot be restored.
Allowed values for this property are: “NOT_VALIDATED”, “VALIDATED”, “NEEDS_ATTENTION”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The validation_status of this BackupValidationDetails. Return type: str
-