AutoFailoverConfiguration

class oci.database.models.AutoFailoverConfiguration(**kwargs)

Bases: object

The properties for defining auto failover configuration.

Attributes

MANAGED_AUTO_FAILOVER_DISABLE A constant which can be used with the managed_auto_failover property of a AutoFailoverConfiguration.
MANAGED_AUTO_FAILOVER_ENABLE A constant which can be used with the managed_auto_failover property of a AutoFailoverConfiguration.
failover_targets Gets the failover_targets of this AutoFailoverConfiguration.
managed_auto_failover 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.
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]
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