DatabaseBackupSummary¶
- class oci.database_management.models.DatabaseBackupSummary(**kwargs)¶
Bases:
objectThe summary of the High Availability (HA) and backup for a database.
Attributes:
A constant which can be used with the backup_destination property of a DatabaseBackupSummary.
A constant which can be used with the backup_destination property of a DatabaseBackupSummary.
A constant which can be used with the backup_destination property of a DatabaseBackupSummary.
A constant which can be used with the backup_destination property of a DatabaseBackupSummary.
A constant which can be used with the backup_destination property of a DatabaseBackupSummary.
A constant which can be used with the backup_destination property of a DatabaseBackupSummary.
A constant which can be used with the backup_destination property of a DatabaseBackupSummary.
[Required] Gets the backup_destination of this DatabaseBackupSummary.
[Required] Gets the backup_duration_in_seconds of this DatabaseBackupSummary.
[Required] Gets the backup_size_in_gbs of this DatabaseBackupSummary.
[Required] Gets the backup_status of this DatabaseBackupSummary.
[Required] Gets the backup_type of this DatabaseBackupSummary.
[Required] Gets the time_backup_completed of this DatabaseBackupSummary.
Methods:
__init__(**kwargs)Initializes a new DatabaseBackupSummary object with values from keyword arguments.
- BACKUP_DESTINATION_DBRS = 'DBRS'¶
A constant which can be used with the backup_destination property of a DatabaseBackupSummary. This constant has a value of “DBRS”
- BACKUP_DESTINATION_DISK = 'DISK'¶
A constant which can be used with the backup_destination property of a DatabaseBackupSummary. This constant has a value of “DISK”
- BACKUP_DESTINATION_LOCAL = 'LOCAL'¶
A constant which can be used with the backup_destination property of a DatabaseBackupSummary. This constant has a value of “LOCAL”
- BACKUP_DESTINATION_NFS = 'NFS'¶
A constant which can be used with the backup_destination property of a DatabaseBackupSummary. This constant has a value of “NFS”
- BACKUP_DESTINATION_OBJECT_STORE = 'OBJECT_STORE'¶
A constant which can be used with the backup_destination property of a DatabaseBackupSummary. This constant has a value of “OBJECT_STORE”
- BACKUP_DESTINATION_RECOVERY_APPLIANCE = 'RECOVERY_APPLIANCE'¶
A constant which can be used with the backup_destination property of a DatabaseBackupSummary. This constant has a value of “RECOVERY_APPLIANCE”
- BACKUP_DESTINATION_TAPE = 'TAPE'¶
A constant which can be used with the backup_destination property of a DatabaseBackupSummary. This constant has a value of “TAPE”
- __init__(**kwargs)¶
Initializes a new DatabaseBackupSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
backup_status (str) – The value to assign to the backup_status property of this DatabaseBackupSummary.
time_backup_completed (datetime) – The value to assign to the time_backup_completed property of this DatabaseBackupSummary.
backup_duration_in_seconds (int) – The value to assign to the backup_duration_in_seconds property of this DatabaseBackupSummary.
backup_type (str) – The value to assign to the backup_type property of this DatabaseBackupSummary.
backup_destination (str) – The value to assign to the backup_destination property of this DatabaseBackupSummary. Allowed values for this property are: “DISK”, “TAPE”, “NFS”, “LOCAL”, “DBRS”, “OBJECT_STORE”, “RECOVERY_APPLIANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
backup_size_in_gbs (float) – The value to assign to the backup_size_in_gbs property of this DatabaseBackupSummary.
- property backup_destination¶
[Required] Gets the backup_destination of this DatabaseBackupSummary. The backup destination of the database.
Allowed values for this property are: “DISK”, “TAPE”, “NFS”, “LOCAL”, “DBRS”, “OBJECT_STORE”, “RECOVERY_APPLIANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The backup_destination of this DatabaseBackupSummary.
- Return type
str
- property backup_duration_in_seconds¶
[Required] Gets the backup_duration_in_seconds of this DatabaseBackupSummary. The backup duration of the database in seconds.
- Returns
The backup_duration_in_seconds of this DatabaseBackupSummary.
- Return type
int
- property backup_size_in_gbs¶
[Required] Gets the backup_size_in_gbs of this DatabaseBackupSummary. The backup size of the database.
- Returns
The backup_size_in_gbs of this DatabaseBackupSummary.
- Return type
float
- property backup_status¶
[Required] Gets the backup_status of this DatabaseBackupSummary. The backup status of the database.
- Returns
The backup_status of this DatabaseBackupSummary.
- Return type
str
- property backup_type¶
[Required] Gets the backup_type of this DatabaseBackupSummary. The backup type of the database (FULL/INCREMENTAL).
- Returns
The backup_type of this DatabaseBackupSummary.
- Return type
str
- property time_backup_completed¶
[Required] Gets the time_backup_completed of this DatabaseBackupSummary. The database backup completion date and time in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
- Returns
The time_backup_completed of this DatabaseBackupSummary.
- Return type
datetime