ManagedMySqlDatabaseGeneralReplicationInformation¶
-
class
oci.database_management.models.ManagedMySqlDatabaseGeneralReplicationInformation(**kwargs)¶ Bases:
objectGeneral information about the replication of a MySQL server.
Attributes
READ_ONLY_OFFA constant which can be used with the read_only property of a ManagedMySqlDatabaseGeneralReplicationInformation. READ_ONLY_ONA constant which can be used with the read_only property of a ManagedMySqlDatabaseGeneralReplicationInformation. READ_ONLY_SUPERA constant which can be used with the read_only property of a ManagedMySqlDatabaseGeneralReplicationInformation. apply_status_summaryGets the apply_status_summary of this ManagedMySqlDatabaseGeneralReplicationInformation. binary_log_formatGets the binary_log_format of this ManagedMySqlDatabaseGeneralReplicationInformation. binary_loggingGets the binary_logging of this ManagedMySqlDatabaseGeneralReplicationInformation. executed_gtid_setGets the executed_gtid_set of this ManagedMySqlDatabaseGeneralReplicationInformation. fetch_status_summaryGets the fetch_status_summary of this ManagedMySqlDatabaseGeneralReplicationInformation. gtid_modeGets the gtid_mode of this ManagedMySqlDatabaseGeneralReplicationInformation. high_availability_member_stateGets the high_availability_member_state of this ManagedMySqlDatabaseGeneralReplicationInformation. host_nameGets the host_name of this ManagedMySqlDatabaseGeneralReplicationInformation. inbound_replications_countGets the inbound_replications_count of this ManagedMySqlDatabaseGeneralReplicationInformation. instance_typeGets the instance_type of this ManagedMySqlDatabaseGeneralReplicationInformation. is_high_availability_enabledGets the is_high_availability_enabled of this ManagedMySqlDatabaseGeneralReplicationInformation. outbound_replications_countGets the outbound_replications_count of this ManagedMySqlDatabaseGeneralReplicationInformation. portGets the port of this ManagedMySqlDatabaseGeneralReplicationInformation. read_only[Required] Gets the read_only of this ManagedMySqlDatabaseGeneralReplicationInformation. seconds_behind_source_maxGets the seconds_behind_source_max of this ManagedMySqlDatabaseGeneralReplicationInformation. server_id[Required] Gets the server_id of this ManagedMySqlDatabaseGeneralReplicationInformation. server_uuid[Required] Gets the server_uuid of this ManagedMySqlDatabaseGeneralReplicationInformation. Methods
__init__(**kwargs)Initializes a new ManagedMySqlDatabaseGeneralReplicationInformation object with values from keyword arguments. -
READ_ONLY_OFF= 'OFF'¶ A constant which can be used with the read_only property of a ManagedMySqlDatabaseGeneralReplicationInformation. This constant has a value of “OFF”
-
READ_ONLY_ON= 'ON'¶ A constant which can be used with the read_only property of a ManagedMySqlDatabaseGeneralReplicationInformation. This constant has a value of “ON”
-
READ_ONLY_SUPER= 'SUPER'¶ A constant which can be used with the read_only property of a ManagedMySqlDatabaseGeneralReplicationInformation. This constant has a value of “SUPER”
-
__init__(**kwargs)¶ Initializes a new ManagedMySqlDatabaseGeneralReplicationInformation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - instance_type (str) – The value to assign to the instance_type property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- host_name (str) – The value to assign to the host_name property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- port (int) – The value to assign to the port property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- server_id (int) – The value to assign to the server_id property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- server_uuid (str) – The value to assign to the server_uuid property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- seconds_behind_source_max (int) – The value to assign to the seconds_behind_source_max property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- fetch_status_summary (str) – The value to assign to the fetch_status_summary property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- apply_status_summary (str) – The value to assign to the apply_status_summary property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- is_high_availability_enabled (bool) – The value to assign to the is_high_availability_enabled property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- high_availability_member_state (str) – The value to assign to the high_availability_member_state property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- inbound_replications_count (int) – The value to assign to the inbound_replications_count property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- read_only (str) – The value to assign to the read_only property of this ManagedMySqlDatabaseGeneralReplicationInformation. Allowed values for this property are: “ON”, “SUPER”, “OFF”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- gtid_mode (str) – The value to assign to the gtid_mode property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- executed_gtid_set (str) – The value to assign to the executed_gtid_set property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- binary_logging (str) – The value to assign to the binary_logging property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- binary_log_format (str) – The value to assign to the binary_log_format property of this ManagedMySqlDatabaseGeneralReplicationInformation.
- outbound_replications_count (int) – The value to assign to the outbound_replications_count property of this ManagedMySqlDatabaseGeneralReplicationInformation.
-
apply_status_summary¶ Gets the apply_status_summary of this ManagedMySqlDatabaseGeneralReplicationInformation. A summary of the current status of apply operations.
Returns: The apply_status_summary of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: str
-
binary_log_format¶ Gets the binary_log_format of this ManagedMySqlDatabaseGeneralReplicationInformation. The binary logging format used by this server.
Returns: The binary_log_format of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: str
-
binary_logging¶ Gets the binary_logging of this ManagedMySqlDatabaseGeneralReplicationInformation. The status of binary logging on this server.
Returns: The binary_logging of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: str
-
executed_gtid_set¶ Gets the executed_gtid_set of this ManagedMySqlDatabaseGeneralReplicationInformation. The set of global transaction identifiers for transactions that have been executed on this source server.
Returns: The executed_gtid_set of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: str
-
fetch_status_summary¶ Gets the fetch_status_summary of this ManagedMySqlDatabaseGeneralReplicationInformation. A summary of the current status of fetch operations.
Returns: The fetch_status_summary of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: str
-
gtid_mode¶ Gets the gtid_mode of this ManagedMySqlDatabaseGeneralReplicationInformation. The Global Transaction Identifier (GTID) mode of this server.
Returns: The gtid_mode of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: str
-
high_availability_member_state¶ Gets the high_availability_member_state of this ManagedMySqlDatabaseGeneralReplicationInformation. The state of this server as a group replication member.
Returns: The high_availability_member_state of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: str
-
host_name¶ Gets the host_name of this ManagedMySqlDatabaseGeneralReplicationInformation. This server’s host name.
Returns: The host_name of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: str
-
inbound_replications_count¶ Gets the inbound_replications_count of this ManagedMySqlDatabaseGeneralReplicationInformation. The number of sources this server is replicating from.
Returns: The inbound_replications_count of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: int
-
instance_type¶ Gets the instance_type of this ManagedMySqlDatabaseGeneralReplicationInformation. The type of the instance for example, Source, Replica, Primary Group Member, and Secondary Group Member. If the instance is replicating from one or more sources and has one or more replicas, which means, it belongs to a replication chain, the instance type can be Replica/Source.
Returns: The instance_type of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: str
-
is_high_availability_enabled¶ Gets the is_high_availability_enabled of this ManagedMySqlDatabaseGeneralReplicationInformation. Specifies if high availability is enabled on this server.
Returns: The is_high_availability_enabled of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: bool
-
outbound_replications_count¶ Gets the outbound_replications_count of this ManagedMySqlDatabaseGeneralReplicationInformation. The number of replicas replicating from this server.
Returns: The outbound_replications_count of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: int
-
port¶ Gets the port of this ManagedMySqlDatabaseGeneralReplicationInformation. The number of the port on which the server listens for TCP/IP connections.
Returns: The port of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: int
-
read_only¶ [Required] Gets the read_only of this ManagedMySqlDatabaseGeneralReplicationInformation. If the value is ON, the instance is configured as read_only. If the value is SUPER, the instance is configured as super_read_only. If the value is OFF, the instance is neither read_only nor super_read_only.
Allowed values for this property are: “ON”, “SUPER”, “OFF”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The read_only of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: str
-
seconds_behind_source_max¶ Gets the seconds_behind_source_max of this ManagedMySqlDatabaseGeneralReplicationInformation. The number of seconds the replica is behind the source. When multiple sources are involved, this is the maximum value across all sources.
Returns: The seconds_behind_source_max of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: int
-
server_id¶ [Required] Gets the server_id of this ManagedMySqlDatabaseGeneralReplicationInformation. This server’s ID.
Returns: The server_id of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: int
-
server_uuid¶ [Required] Gets the server_uuid of this ManagedMySqlDatabaseGeneralReplicationInformation. This server’s Universally Unique Identifier (UUID).
Returns: The server_uuid of this ManagedMySqlDatabaseGeneralReplicationInformation. Return type: str
-