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
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_STANDBY
A constant which can be used with the role 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. database_id
[Required] Gets the database_id of this DataGuardGroupMember. db_system_id
[Required] Gets the db_system_id 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. 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. -
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_STANDBY
= 'STANDBY'¶ A constant which can be used with the role property of a DataGuardGroupMember. This constant has a value of “STANDBY”
-
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”, ‘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.
-
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
-
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
-
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”, ‘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
-
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
-