CreateAutonomousDatabaseBackupDetails

class oci.database.models.CreateAutonomousDatabaseBackupDetails(**kwargs)

Bases: object

Details to create an Oracle Autonomous Database backup.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Methods

__init__(**kwargs) Initializes a new CreateAutonomousDatabaseBackupDetails object with values from keyword arguments.

Attributes

autonomous_database_id [Required] Gets the autonomous_database_id of this CreateAutonomousDatabaseBackupDetails.
backup_destination_details Gets the backup_destination_details of this CreateAutonomousDatabaseBackupDetails.
display_name Gets the display_name of this CreateAutonomousDatabaseBackupDetails.
is_long_term_backup Gets the is_long_term_backup of this CreateAutonomousDatabaseBackupDetails.
retention_period_in_days Gets the retention_period_in_days of this CreateAutonomousDatabaseBackupDetails.
__init__(**kwargs)

Initializes a new CreateAutonomousDatabaseBackupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateAutonomousDatabaseBackupDetails.
  • autonomous_database_id (str) – The value to assign to the autonomous_database_id property of this CreateAutonomousDatabaseBackupDetails.
  • retention_period_in_days (int) – The value to assign to the retention_period_in_days property of this CreateAutonomousDatabaseBackupDetails.
  • is_long_term_backup (bool) – The value to assign to the is_long_term_backup property of this CreateAutonomousDatabaseBackupDetails.
  • backup_destination_details (oci.database.models.BackupDestinationDetails) – The value to assign to the backup_destination_details property of this CreateAutonomousDatabaseBackupDetails.
autonomous_database_id

[Required] Gets the autonomous_database_id of this CreateAutonomousDatabaseBackupDetails. The OCID of the Autonomous Database backup.

Returns:The autonomous_database_id of this CreateAutonomousDatabaseBackupDetails.
Return type:str
backup_destination_details

Gets the backup_destination_details of this CreateAutonomousDatabaseBackupDetails.

Returns:The backup_destination_details of this CreateAutonomousDatabaseBackupDetails.
Return type:oci.database.models.BackupDestinationDetails
display_name

Gets the display_name of this CreateAutonomousDatabaseBackupDetails. The user-friendly name for the backup. The name does not have to be unique.

Returns:The display_name of this CreateAutonomousDatabaseBackupDetails.
Return type:str
is_long_term_backup

Gets the is_long_term_backup of this CreateAutonomousDatabaseBackupDetails. Indicates whether the backup is long-term

Returns:The is_long_term_backup of this CreateAutonomousDatabaseBackupDetails.
Return type:bool
retention_period_in_days

Gets the retention_period_in_days of this CreateAutonomousDatabaseBackupDetails. Retention period, in days, for long-term backups

Returns:The retention_period_in_days of this CreateAutonomousDatabaseBackupDetails.
Return type:int