Cloud SQL Admin V1 API - Module Google::Cloud::Sql::V1::DatabaseInstance::SqlInstanceState (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API module Google::Cloud::Sql::V1::DatabaseInstance::SqlInstanceState.

The current serving state of the database instance.

Constants

SQL_INSTANCE_STATE_UNSPECIFIED

value: 0
The state of the instance is unknown.

RUNNABLE

value: 1
The instance is running, or has been stopped by owner.

SUSPENDED

value: 2
The instance is not available, for example due to problems with billing.

PENDING_DELETE

value: 3
The instance is being deleted.

PENDING_CREATE

value: 4
The instance is being created.

MAINTENANCE

value: 5
The instance is down for maintenance.

FAILED

value: 6
The creation of the instance failed or a fatal error occurred during maintenance.

ONLINE_MAINTENANCE

value: 7
Deprecated

REPAIRING

value: 8
(Applicable to read pool nodes only.) The read pool node needs to be repaired. The database might be unavailable.