BackupOperationDetails¶
- class oci.data_science.models.BackupOperationDetails(**kwargs)¶
Bases:
objectBackup operation details of the model.
Attributes:
A constant which can be used with the backup_state property of a BackupOperationDetails.
A constant which can be used with the backup_state property of a BackupOperationDetails.
A constant which can be used with the backup_state property of a BackupOperationDetails.
[Required] Gets the backup_state of this BackupOperationDetails.
[Required] Gets the backup_state_details of this BackupOperationDetails.
Gets the time_last_backup of this BackupOperationDetails.
Methods:
__init__(**kwargs)Initializes a new BackupOperationDetails object with values from keyword arguments.
- BACKUP_STATE_FAILED = 'FAILED'¶
A constant which can be used with the backup_state property of a BackupOperationDetails. This constant has a value of “FAILED”
- BACKUP_STATE_PENDING = 'PENDING'¶
A constant which can be used with the backup_state property of a BackupOperationDetails. This constant has a value of “PENDING”
- BACKUP_STATE_SUCCEEDED = 'SUCCEEDED'¶
A constant which can be used with the backup_state property of a BackupOperationDetails. This constant has a value of “SUCCEEDED”
- __init__(**kwargs)¶
Initializes a new BackupOperationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
time_last_backup (datetime) – The value to assign to the time_last_backup property of this BackupOperationDetails.
backup_state (str) – The value to assign to the backup_state property of this BackupOperationDetails. Allowed values for this property are: “PENDING”, “FAILED”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
backup_state_details (str) – The value to assign to the backup_state_details property of this BackupOperationDetails.
- property backup_state¶
[Required] Gets the backup_state of this BackupOperationDetails. The backup status of the model.
Allowed values for this property are: “PENDING”, “FAILED”, “SUCCEEDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The backup_state of this BackupOperationDetails.
- Return type
str
- property backup_state_details¶
[Required] Gets the backup_state_details of this BackupOperationDetails. The backup execution status details of the model.
- Returns
The backup_state_details of this BackupOperationDetails.
- Return type
str
- property time_last_backup¶
Gets the time_last_backup of this BackupOperationDetails. The last backup execution time of the model.
- Returns
The time_last_backup of this BackupOperationDetails.
- Return type
datetime