BackupCopyPolicy

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

Bases: object

Backup copy details

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this BackupCopyPolicy.
regions Gets the regions of this BackupCopyPolicy.
retention_period Gets the retention_period of this BackupCopyPolicy.
__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this BackupCopyPolicy.
  • retention_period (int) – The value to assign to the retention_period property of this BackupCopyPolicy.
  • regions (list[str]) – The value to assign to the regions property of this BackupCopyPolicy.
compartment_id

[Required] Gets the compartment_id of this BackupCopyPolicy. target compartment to place a new backup

Returns:The compartment_id of this BackupCopyPolicy.
Return type:str
regions

Gets the regions of this BackupCopyPolicy. List of region names of the remote region

Returns:The regions of this BackupCopyPolicy.
Return type:list[str]
retention_period

Gets the retention_period of this BackupCopyPolicy. Retention period in days of the backup copy.

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