UpdateBackupPolicyDetails¶
-
class
oci.mysql.models.
UpdateBackupPolicyDetails
(**kwargs)¶ Bases:
object
Backup Policy as optionally used for DB System update.
Methods
__init__
(**kwargs)Initializes a new UpdateBackupPolicyDetails object with values from keyword arguments. Attributes
defined_tags
Gets the defined_tags of this UpdateBackupPolicyDetails. freeform_tags
Gets the freeform_tags of this UpdateBackupPolicyDetails. is_enabled
Gets the is_enabled of this UpdateBackupPolicyDetails. pitr_policy
Gets the pitr_policy of this UpdateBackupPolicyDetails. retention_in_days
Gets the retention_in_days of this UpdateBackupPolicyDetails. window_start_time
Gets the window_start_time of this UpdateBackupPolicyDetails. -
__init__
(**kwargs)¶ Initializes a new UpdateBackupPolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - is_enabled (bool) – The value to assign to the is_enabled property of this UpdateBackupPolicyDetails.
- window_start_time (str) – The value to assign to the window_start_time property of this UpdateBackupPolicyDetails.
- retention_in_days (int) – The value to assign to the retention_in_days property of this UpdateBackupPolicyDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateBackupPolicyDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateBackupPolicyDetails.
- pitr_policy (oci.mysql.models.PitrPolicy) – The value to assign to the pitr_policy property of this UpdateBackupPolicyDetails.
Gets the defined_tags of this UpdateBackupPolicyDetails. Usage of predefined tag keys. These predefined keys are scoped to namespaces.
Tags defined here will be copied verbatim as tags on the Backup resource created by this BackupPolicy.
Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this UpdateBackupPolicyDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this UpdateBackupPolicyDetails. Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only.
Tags defined here will be copied verbatim as tags on the Backup resource created by this BackupPolicy.
Example: {“bar-key”: “value”}
Returns: The freeform_tags of this UpdateBackupPolicyDetails. Return type: dict(str, str)
-
is_enabled
¶ Gets the is_enabled of this UpdateBackupPolicyDetails. Specifies if automatic backups are enabled.
Returns: The is_enabled of this UpdateBackupPolicyDetails. Return type: bool
-
pitr_policy
¶ Gets the pitr_policy of this UpdateBackupPolicyDetails.
Returns: The pitr_policy of this UpdateBackupPolicyDetails. Return type: oci.mysql.models.PitrPolicy
-
retention_in_days
¶ Gets the retention_in_days of this UpdateBackupPolicyDetails. Number of days to retain an automatic backup.
Returns: The retention_in_days of this UpdateBackupPolicyDetails. Return type: int
-
window_start_time
¶ Gets the window_start_time of this UpdateBackupPolicyDetails. The start of a 30-minute window of time in which daily, automated backups occur.
This should be in the format of the “Time” portion of an RFC3339-formatted timestamp. Any second or sub-second time data will be truncated to zero.
At some point in the window, the system may incur a brief service disruption as the backup is performed.
Returns: The window_start_time of this UpdateBackupPolicyDetails. Return type: str
-