BackupCopyDetails¶
- class oci.psql.models.BackupCopyDetails(**kwargs)¶
Bases:
objectBackup Copy details
Methods:
__init__(**kwargs)Initializes a new BackupCopyDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this BackupCopyDetails.
Gets the kms_key_ids of this BackupCopyDetails.
[Required] Gets the regions of this BackupCopyDetails.
Gets the retention_period of this BackupCopyDetails.
- __init__(**kwargs)¶
Initializes a new BackupCopyDetails 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 BackupCopyDetails.
retention_period (int) – The value to assign to the retention_period property of this BackupCopyDetails.
regions (list[str]) – The value to assign to the regions property of this BackupCopyDetails.
kms_key_ids (list[str]) – The value to assign to the kms_key_ids property of this BackupCopyDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this BackupCopyDetails. target compartment to place a new backup
- Returns
The compartment_id of this BackupCopyDetails.
- Return type
str
- property kms_key_ids¶
Gets the kms_key_ids of this BackupCopyDetails. List of key ids of the remote regions
- Returns
The kms_key_ids of this BackupCopyDetails.
- Return type
list[str]
- property regions¶
[Required] Gets the regions of this BackupCopyDetails. List of region names of the remote regions
- Returns
The regions of this BackupCopyDetails.
- Return type
list[str]
- property retention_period¶
Gets the retention_period of this BackupCopyDetails. Retention period in days of the backup copy.
- Returns
The retention_period of this BackupCopyDetails.
- Return type
int