CreateReplicationConfigDetails¶
- class oci.psql.models.CreateReplicationConfigDetails(**kwargs)¶
Bases:
objectDetails of the replication configuration that is applicable when database system gets the PRIMARY_DB_SYSTEM role.
This configuration does not have any effect on database systems with other roles.
Methods:
__init__(**kwargs)Initializes a new CreateReplicationConfigDetails object with values from keyword arguments.
Attributes:
Gets the is_rpo_enforced of this CreateReplicationConfigDetails.
Gets the rpo_in_seconds of this CreateReplicationConfigDetails.
- __init__(**kwargs)¶
Initializes a new CreateReplicationConfigDetails 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 CreateReplicationConfigDetails.
rpo_in_seconds (int) – The value to assign to the rpo_in_seconds property of this CreateReplicationConfigDetails.
- property is_rpo_enforced¶
Gets the is_rpo_enforced of this CreateReplicationConfigDetails. Specify if Recovery point objective (RPO) enforcement needs to be enabled on the database system.
- Returns
The is_rpo_enforced of this CreateReplicationConfigDetails.
- Return type
bool
- property rpo_in_seconds¶
Gets the rpo_in_seconds of this CreateReplicationConfigDetails. 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 CreateReplicationConfigDetails.
- Return type
int