CreateBackupDetails

class oci.psql.models.CreateBackupDetails(**kwargs)

Bases: object

The information to create a new backup.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this CreateBackupDetails.
db_system_id [Required] Gets the db_system_id of this CreateBackupDetails.
defined_tags Gets the defined_tags of this CreateBackupDetails.
description Gets the description of this CreateBackupDetails.
display_name [Required] Gets the display_name of this CreateBackupDetails.
freeform_tags Gets the freeform_tags of this CreateBackupDetails.
retention_period Gets the retention_period of this CreateBackupDetails.
__init__(**kwargs)

Initializes a new CreateBackupDetails 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 CreateBackupDetails.
  • description (str) – The value to assign to the description property of this CreateBackupDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateBackupDetails.
  • db_system_id (str) – The value to assign to the db_system_id property of this CreateBackupDetails.
  • retention_period (int) – The value to assign to the retention_period property of this CreateBackupDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateBackupDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateBackupDetails.
compartment_id

[Required] Gets the compartment_id of this CreateBackupDetails. The OCID of the compartment that contains the backup.

Returns:The compartment_id of this CreateBackupDetails.
Return type:str
db_system_id

[Required] Gets the db_system_id of this CreateBackupDetails. The ID of the database system.

Returns:The db_system_id of this CreateBackupDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateBackupDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateBackupDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateBackupDetails. A description for the backup.

Returns:The description of this CreateBackupDetails.
Return type:str
display_name

[Required] Gets the display_name of this CreateBackupDetails. A user-friendly display name for the backup. Avoid entering confidential information.

Returns:The display_name of this CreateBackupDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateBackupDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateBackupDetails.
Return type:dict(str, str)
retention_period

Gets the retention_period of this CreateBackupDetails. Backup retention period in days.

Returns:The retention_period of this CreateBackupDetails.
Return type:int