EditAutonomousContainerDatabaseDataguardDetails¶
-
class
oci.database.models.
EditAutonomousContainerDatabaseDataguardDetails
(**kwargs)¶ Bases:
object
The configuration details for updating a Autonomous Container DatabaseData Guard for a Autonomous Container Database.
Attributes
PROTECTION_MODE_MAXIMUM_AVAILABILITY
A constant which can be used with the protection_mode property of a EditAutonomousContainerDatabaseDataguardDetails. PROTECTION_MODE_MAXIMUM_PERFORMANCE
A constant which can be used with the protection_mode property of a EditAutonomousContainerDatabaseDataguardDetails. fast_start_fail_over_lag_limit_in_seconds
Gets the fast_start_fail_over_lag_limit_in_seconds of this EditAutonomousContainerDatabaseDataguardDetails. is_automatic_failover_enabled
Gets the is_automatic_failover_enabled of this EditAutonomousContainerDatabaseDataguardDetails. protection_mode
Gets the protection_mode of this EditAutonomousContainerDatabaseDataguardDetails. Methods
__init__
(**kwargs)Initializes a new EditAutonomousContainerDatabaseDataguardDetails object with values from keyword arguments. -
PROTECTION_MODE_MAXIMUM_AVAILABILITY
= 'MAXIMUM_AVAILABILITY'¶ A constant which can be used with the protection_mode property of a EditAutonomousContainerDatabaseDataguardDetails. This constant has a value of “MAXIMUM_AVAILABILITY”
-
PROTECTION_MODE_MAXIMUM_PERFORMANCE
= 'MAXIMUM_PERFORMANCE'¶ A constant which can be used with the protection_mode property of a EditAutonomousContainerDatabaseDataguardDetails. This constant has a value of “MAXIMUM_PERFORMANCE”
-
__init__
(**kwargs)¶ Initializes a new EditAutonomousContainerDatabaseDataguardDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - is_automatic_failover_enabled (bool) – The value to assign to the is_automatic_failover_enabled property of this EditAutonomousContainerDatabaseDataguardDetails.
- protection_mode (str) – The value to assign to the protection_mode property of this EditAutonomousContainerDatabaseDataguardDetails. Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”
- fast_start_fail_over_lag_limit_in_seconds (int) – The value to assign to the fast_start_fail_over_lag_limit_in_seconds property of this EditAutonomousContainerDatabaseDataguardDetails.
-
fast_start_fail_over_lag_limit_in_seconds
¶ Gets the fast_start_fail_over_lag_limit_in_seconds of this EditAutonomousContainerDatabaseDataguardDetails. The lag time for my preference based on data loss tolerance in seconds.
Returns: The fast_start_fail_over_lag_limit_in_seconds of this EditAutonomousContainerDatabaseDataguardDetails. Return type: int
-
is_automatic_failover_enabled
¶ Gets the is_automatic_failover_enabled of this EditAutonomousContainerDatabaseDataguardDetails. Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association
Returns: The is_automatic_failover_enabled of this EditAutonomousContainerDatabaseDataguardDetails. Return type: bool
-
protection_mode
¶ Gets the protection_mode of this EditAutonomousContainerDatabaseDataguardDetails. The protection mode of this Autonomous Data Guard association. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”
Returns: The protection_mode of this EditAutonomousContainerDatabaseDataguardDetails. Return type: str
-