CopyPolicy¶
- 
class oci.mysql.models.CopyPolicy(**kwargs)¶
- Bases: - object- A policy of a DB system to schedule cross-region DB system backup copy. - Methods - __init__(**kwargs)- Initializes a new CopyPolicy object with values from keyword arguments. - Attributes - backup_copy_retention_in_days- Gets the backup_copy_retention_in_days of this CopyPolicy. - copy_to_region- [Required] Gets the copy_to_region of this CopyPolicy. - 
__init__(**kwargs)¶
- Initializes a new CopyPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - copy_to_region (str) – The value to assign to the copy_to_region property of this CopyPolicy.
- backup_copy_retention_in_days (int) – The value to assign to the backup_copy_retention_in_days property of this CopyPolicy.
 
 - 
backup_copy_retention_in_days¶
- Gets the backup_copy_retention_in_days of this CopyPolicy. Number of days to retain the copied DB system backup. - Returns: - The backup_copy_retention_in_days of this CopyPolicy. - Return type: - int 
 - 
copy_to_region¶
- [Required] Gets the copy_to_region of this CopyPolicy. The destination region name to which the DB system backup will be copied. - Returns: - The copy_to_region of this CopyPolicy. - Return type: - str 
 
-