AutoFailoverConfiguration¶
- class oci.database.models.AutoFailoverConfiguration(**kwargs)¶
Bases:
objectThe properties for defining auto failover configuration.
Attributes:
A constant which can be used with the managed_auto_failover property of a AutoFailoverConfiguration.
A constant which can be used with the managed_auto_failover property of a AutoFailoverConfiguration.
Gets the failover_targets of this AutoFailoverConfiguration.
Gets the managed_auto_failover of this AutoFailoverConfiguration.
Methods:
__init__(**kwargs)Initializes a new AutoFailoverConfiguration object with values from keyword arguments.
- MANAGED_AUTO_FAILOVER_DISABLE = 'DISABLE'¶
A constant which can be used with the managed_auto_failover property of a AutoFailoverConfiguration. This constant has a value of “DISABLE”
- MANAGED_AUTO_FAILOVER_ENABLE = 'ENABLE'¶
A constant which can be used with the managed_auto_failover property of a AutoFailoverConfiguration. This constant has a value of “ENABLE”
- __init__(**kwargs)¶
Initializes a new AutoFailoverConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
managed_auto_failover (str) – The value to assign to the managed_auto_failover property of this AutoFailoverConfiguration. Allowed values for this property are: “ENABLE”, “DISABLE”
failover_targets (list[str]) – The value to assign to the failover_targets property of this AutoFailoverConfiguration.
- property failover_targets¶
Gets the failover_targets of this AutoFailoverConfiguration. Specifies the DB_UNIQUE_NAME of the data guard group member databases.
- Returns
The failover_targets of this AutoFailoverConfiguration.
- Return type
list[str]
- property managed_auto_failover¶
Gets the managed_auto_failover of this AutoFailoverConfiguration. The state of managed auto failover.
Allowed values for this property are: “ENABLE”, “DISABLE”
- Returns
The managed_auto_failover of this AutoFailoverConfiguration.
- Return type
str