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.

kms_key_ids

Gets the kms_key_ids 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.

  • kms_key_ids (list[str]) – The value to assign to the kms_key_ids property of this BackupCopyPolicy.

property 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

property kms_key_ids

Gets the kms_key_ids of this BackupCopyPolicy. List of key ids of the remote regions

Returns

The kms_key_ids of this BackupCopyPolicy.

Return type

list[str]

property 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]

property 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