DataGuardGroupMember

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

Bases: object

The member of a Data Guard group. Represents either a PRIMARY or a STANDBY Data Guard instance.

Attributes

FAILOVER_READINESS_CRITICAL A constant which can be used with the failover_readiness property of a DataGuardGroupMember.
FAILOVER_READINESS_HEALTHY A constant which can be used with the failover_readiness property of a DataGuardGroupMember.
FAILOVER_READINESS_WARNING A constant which can be used with the failover_readiness property of a DataGuardGroupMember.
ROLE_DISABLED_STANDBY A constant which can be used with the role property of a DataGuardGroupMember.
ROLE_PRIMARY A constant which can be used with the role property of a DataGuardGroupMember.
ROLE_SNAPSHOT_STANDBY A constant which can be used with the role property of a DataGuardGroupMember.
ROLE_STANDBY A constant which can be used with the role property of a DataGuardGroupMember.
SWITCHOVER_READINESS_CRITICAL A constant which can be used with the switchover_readiness property of a DataGuardGroupMember.
SWITCHOVER_READINESS_HEALTHY A constant which can be used with the switchover_readiness property of a DataGuardGroupMember.
SWITCHOVER_READINESS_WARNING A constant which can be used with the switchover_readiness property of a DataGuardGroupMember.
TRANSPORT_TYPE_ASYNC A constant which can be used with the transport_type property of a DataGuardGroupMember.
TRANSPORT_TYPE_FASTSYNC A constant which can be used with the transport_type property of a DataGuardGroupMember.
TRANSPORT_TYPE_SYNC A constant which can be used with the transport_type property of a DataGuardGroupMember.
apply_lag Gets the apply_lag of this DataGuardGroupMember.
apply_rate Gets the apply_rate of this DataGuardGroupMember.
data_loss_exposure Gets the data_loss_exposure of this DataGuardGroupMember.
database_id [Required] Gets the database_id of this DataGuardGroupMember.
db_system_id [Required] Gets the db_system_id of this DataGuardGroupMember.
failover_readiness Gets the failover_readiness of this DataGuardGroupMember.
failover_readiness_message Gets the failover_readiness_message of this DataGuardGroupMember.
is_active_data_guard_enabled Gets the is_active_data_guard_enabled of this DataGuardGroupMember.
role [Required] Gets the role of this DataGuardGroupMember.
switchover_readiness Gets the switchover_readiness of this DataGuardGroupMember.
switchover_readiness_message Gets the switchover_readiness_message of this DataGuardGroupMember.
time_updated Gets the time_updated of this DataGuardGroupMember.
transport_lag Gets the transport_lag of this DataGuardGroupMember.
transport_lag_refresh Gets the transport_lag_refresh of this DataGuardGroupMember.
transport_type Gets the transport_type of this DataGuardGroupMember.

Methods

__init__(**kwargs) Initializes a new DataGuardGroupMember object with values from keyword arguments.
FAILOVER_READINESS_CRITICAL = 'CRITICAL'

A constant which can be used with the failover_readiness property of a DataGuardGroupMember. This constant has a value of “CRITICAL”

FAILOVER_READINESS_HEALTHY = 'HEALTHY'

A constant which can be used with the failover_readiness property of a DataGuardGroupMember. This constant has a value of “HEALTHY”

FAILOVER_READINESS_WARNING = 'WARNING'

A constant which can be used with the failover_readiness property of a DataGuardGroupMember. This constant has a value of “WARNING”

ROLE_DISABLED_STANDBY = 'DISABLED_STANDBY'

A constant which can be used with the role property of a DataGuardGroupMember. This constant has a value of “DISABLED_STANDBY”

ROLE_PRIMARY = 'PRIMARY'

A constant which can be used with the role property of a DataGuardGroupMember. This constant has a value of “PRIMARY”

ROLE_SNAPSHOT_STANDBY = 'SNAPSHOT_STANDBY'

A constant which can be used with the role property of a DataGuardGroupMember. This constant has a value of “SNAPSHOT_STANDBY”

ROLE_STANDBY = 'STANDBY'

A constant which can be used with the role property of a DataGuardGroupMember. This constant has a value of “STANDBY”

SWITCHOVER_READINESS_CRITICAL = 'CRITICAL'

A constant which can be used with the switchover_readiness property of a DataGuardGroupMember. This constant has a value of “CRITICAL”

SWITCHOVER_READINESS_HEALTHY = 'HEALTHY'

A constant which can be used with the switchover_readiness property of a DataGuardGroupMember. This constant has a value of “HEALTHY”

SWITCHOVER_READINESS_WARNING = 'WARNING'

A constant which can be used with the switchover_readiness property of a DataGuardGroupMember. This constant has a value of “WARNING”

TRANSPORT_TYPE_ASYNC = 'ASYNC'

A constant which can be used with the transport_type property of a DataGuardGroupMember. This constant has a value of “ASYNC”

TRANSPORT_TYPE_FASTSYNC = 'FASTSYNC'

A constant which can be used with the transport_type property of a DataGuardGroupMember. This constant has a value of “FASTSYNC”

TRANSPORT_TYPE_SYNC = 'SYNC'

A constant which can be used with the transport_type property of a DataGuardGroupMember. This constant has a value of “SYNC”

__init__(**kwargs)

Initializes a new DataGuardGroupMember object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • db_system_id (str) – The value to assign to the db_system_id property of this DataGuardGroupMember.
  • database_id (str) – The value to assign to the database_id property of this DataGuardGroupMember.
  • role (str) – The value to assign to the role property of this DataGuardGroupMember. Allowed values for this property are: “PRIMARY”, “STANDBY”, “DISABLED_STANDBY”, “SNAPSHOT_STANDBY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • apply_lag (str) – The value to assign to the apply_lag property of this DataGuardGroupMember.
  • apply_rate (str) – The value to assign to the apply_rate property of this DataGuardGroupMember.
  • transport_lag (str) – The value to assign to the transport_lag property of this DataGuardGroupMember.
  • transport_lag_refresh (str) – The value to assign to the transport_lag_refresh property of this DataGuardGroupMember.
  • transport_type (str) – The value to assign to the transport_type property of this DataGuardGroupMember. Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_active_data_guard_enabled (bool) – The value to assign to the is_active_data_guard_enabled property of this DataGuardGroupMember.
  • switchover_readiness (str) – The value to assign to the switchover_readiness property of this DataGuardGroupMember. Allowed values for this property are: “HEALTHY”, “WARNING”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • switchover_readiness_message (str) – The value to assign to the switchover_readiness_message property of this DataGuardGroupMember.
  • failover_readiness (str) – The value to assign to the failover_readiness property of this DataGuardGroupMember. Allowed values for this property are: “HEALTHY”, “WARNING”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • failover_readiness_message (str) – The value to assign to the failover_readiness_message property of this DataGuardGroupMember.
  • data_loss_exposure (str) – The value to assign to the data_loss_exposure property of this DataGuardGroupMember.
  • time_updated (datetime) – The value to assign to the time_updated property of this DataGuardGroupMember.
apply_lag

Gets the apply_lag of this DataGuardGroupMember. The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database.

Example: 1 second

Returns:The apply_lag of this DataGuardGroupMember.
Return type:str
apply_rate

Gets the apply_rate of this DataGuardGroupMember. The rate at which redo logs are synced between the associated databases.

Example: 102.96 MByte/s

Returns:The apply_rate of this DataGuardGroupMember.
Return type:str
data_loss_exposure

Gets the data_loss_exposure of this DataGuardGroupMember. The Data loss exposure is the redo transport lag between the primary and standby databases.

Example: 2 seconds

Returns:The data_loss_exposure of this DataGuardGroupMember.
Return type:str
database_id

[Required] Gets the database_id of this DataGuardGroupMember. The OCID of the Database.

Returns:The database_id of this DataGuardGroupMember.
Return type:str
db_system_id

[Required] Gets the db_system_id of this DataGuardGroupMember. The OCID of the DB system, Cloud VM cluster or VM cluster.

Returns:The db_system_id of this DataGuardGroupMember.
Return type:str
failover_readiness

Gets the failover_readiness of this DataGuardGroupMember. The failover readiness status of the Data Guard member.

Allowed values for this property are: “HEALTHY”, “WARNING”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The failover_readiness of this DataGuardGroupMember.
Return type:str
failover_readiness_message

Gets the failover_readiness_message of this DataGuardGroupMember. The message explaining failover readiness status. Example: This standby database is not failover ready.

Returns:The failover_readiness_message of this DataGuardGroupMember.
Return type:str
is_active_data_guard_enabled

Gets the is_active_data_guard_enabled of this DataGuardGroupMember. True if active Data Guard is enabled.

Returns:The is_active_data_guard_enabled of this DataGuardGroupMember.
Return type:bool
role

[Required] Gets the role of this DataGuardGroupMember. The role of the reporting database in this Data Guard association.

Allowed values for this property are: “PRIMARY”, “STANDBY”, “DISABLED_STANDBY”, “SNAPSHOT_STANDBY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The role of this DataGuardGroupMember.
Return type:str
switchover_readiness

Gets the switchover_readiness of this DataGuardGroupMember. The switchover readiness status of the Data Guard member.

Allowed values for this property are: “HEALTHY”, “WARNING”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The switchover_readiness of this DataGuardGroupMember.
Return type:str
switchover_readiness_message

Gets the switchover_readiness_message of this DataGuardGroupMember. The message explaining switchover readiness status. Example: Address failed checks to avoid extended downtime.

Returns:The switchover_readiness_message of this DataGuardGroupMember.
Return type:str
time_updated

Gets the time_updated of this DataGuardGroupMember. The date and time when the last successful Data Guard refresh occurred.

Returns:The time_updated of this DataGuardGroupMember.
Return type:datetime
transport_lag

Gets the transport_lag of this DataGuardGroupMember. The rate at which redo logs are transported between the associated databases.

Example: 1 second

Returns:The transport_lag of this DataGuardGroupMember.
Return type:str
transport_lag_refresh

Gets the transport_lag_refresh of this DataGuardGroupMember. The date and time when last redo transport has been done.

Returns:The transport_lag_refresh of this DataGuardGroupMember.
Return type:str
transport_type

Gets the transport_type of this DataGuardGroupMember. The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
  • MAXIMUM_PERFORMANCE - ASYNC
  • MAXIMUM_PROTECTION - SYNC

For more information, see Redo Transport Services in the Oracle Data Guard documentation.

IMPORTANT - The only transport type currently supported by the Database service is ASYNC.

Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The transport_type of this DataGuardGroupMember.
Return type:str