DbSystemStatusResult¶
- class oci.mysql.models.DbSystemStatusResult(**kwargs)¶
Bases:
objectThe status collected from the DB System.
Methods:
__init__(**kwargs)Initializes a new DbSystemStatusResult object with values from keyword arguments.
Attributes:
Gets the are_all_mysql_instances_healthy of this DbSystemStatusResult.
Gets the can_accept_client_connections of this DbSystemStatusResult.
Gets the channels_status of this DbSystemStatusResult.
Gets the gtid_set of this DbSystemStatusResult.
Gets the is_gtid_set_applied of this DbSystemStatusResult.
Gets the is_in_offline_mode of this DbSystemStatusResult.
Gets the is_storage_full of this DbSystemStatusResult.
Gets the is_writable of this DbSystemStatusResult.
- __init__(**kwargs)¶
Initializes a new DbSystemStatusResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
can_accept_client_connections (bool) – The value to assign to the can_accept_client_connections property of this DbSystemStatusResult.
is_in_offline_mode (bool) – The value to assign to the is_in_offline_mode property of this DbSystemStatusResult.
is_writable (bool) – The value to assign to the is_writable property of this DbSystemStatusResult.
are_all_mysql_instances_healthy (bool) – The value to assign to the are_all_mysql_instances_healthy property of this DbSystemStatusResult.
is_storage_full (bool) – The value to assign to the is_storage_full property of this DbSystemStatusResult.
gtid_set (str) – The value to assign to the gtid_set property of this DbSystemStatusResult.
is_gtid_set_applied (bool) – The value to assign to the is_gtid_set_applied property of this DbSystemStatusResult.
channels_status (list[oci.mysql.models.ChannelStatusResult]) – The value to assign to the channels_status property of this DbSystemStatusResult.
- property are_all_mysql_instances_healthy¶
Gets the are_all_mysql_instances_healthy of this DbSystemStatusResult. Specifies if the single MySQL instance in a standalone DB System or all MySQL instances in a highly available DB System (excluding read replicas) are healthy.
- Returns
The are_all_mysql_instances_healthy of this DbSystemStatusResult.
- Return type
bool
- property can_accept_client_connections¶
Gets the can_accept_client_connections of this DbSystemStatusResult. Specifies if the Read/Write endpoint of the DB System can accept client connections.
- Returns
The can_accept_client_connections of this DbSystemStatusResult.
- Return type
bool
- property channels_status¶
Gets the channels_status of this DbSystemStatusResult. A list showing the status of the channels attached to the DB System for the requested channel IDs.
- Returns
The channels_status of this DbSystemStatusResult.
- Return type
- property gtid_set¶
Gets the gtid_set of this DbSystemStatusResult. The GTID set on the DB System (either GTID_EXECUTED or GTID_AVAILABLE) as specified by the gtidSetType parameter in the request.
- Returns
The gtid_set of this DbSystemStatusResult.
- Return type
str
- property is_gtid_set_applied¶
Gets the is_gtid_set_applied of this DbSystemStatusResult. Specifies if the GTID set in the gtidSetToApply parameter (if provided in the request) is fully applied on the DB System. If gtidSetToApply is not provided in the request or is “”, this field will be empty.
- Returns
The is_gtid_set_applied of this DbSystemStatusResult.
- Return type
bool
- property is_in_offline_mode¶
Gets the is_in_offline_mode of this DbSystemStatusResult. Specifies if the DB System is in offline mode based on the value of the MySQL system variable offline_mode. If True, access is allowed only to users with specific privileges. If False, access is allowed for all MySQL user accounts.
- Returns
The is_in_offline_mode of this DbSystemStatusResult.
- Return type
bool
- property is_storage_full¶
Gets the is_storage_full of this DbSystemStatusResult. Specifies if there is any MySQL instance (excluding read replicas) whose storage capacity is below [storage reserve] (https://docs.oracle.com/en-us/iaas/mysql-database/doc/health-monitor.html#GUID-C6CE25C7-B728-4C80-B548-A76B42005C83.html).
- Returns
The is_storage_full of this DbSystemStatusResult.
- Return type
bool
- property is_writable¶
Gets the is_writable of this DbSystemStatusResult. Specifies if connected users can run write queries on the DB System.
- Returns
The is_writable of this DbSystemStatusResult.
- Return type
bool