ReplicationConfig¶
-
class
oci.psql.models.ReplicationConfig(**kwargs)¶ Bases:
objectReplication configuration that is applicable on database systems with the PRIMARY_DB_SYSTEM role.
This configuration does not have any effect on database systems with other roles.
Methods
__init__(**kwargs)Initializes a new ReplicationConfig object with values from keyword arguments. Attributes
is_rpo_enforced[Required] Gets the is_rpo_enforced of this ReplicationConfig. rpo_in_seconds[Required] Gets the rpo_in_seconds of this ReplicationConfig. -
__init__(**kwargs)¶ Initializes a new ReplicationConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - is_rpo_enforced (bool) – The value to assign to the is_rpo_enforced property of this ReplicationConfig.
- rpo_in_seconds (int) – The value to assign to the rpo_in_seconds property of this ReplicationConfig.
-
is_rpo_enforced¶ [Required] Gets the is_rpo_enforced of this ReplicationConfig. Specifies if Recovery point objective (RPO) enforcement is enabled on the database system.
Returns: The is_rpo_enforced of this ReplicationConfig. Return type: bool
-
rpo_in_seconds¶ [Required] Gets the rpo_in_seconds of this ReplicationConfig. Specifies the Recovery point objective (RPO) in seconds that will be enforced, if the isRpoEnforced flag is true.
Returns: The rpo_in_seconds of this ReplicationConfig. Return type: int
-