public enum DatabaseInstance.SqlInstanceState extends Enum<DatabaseInstance.SqlInstanceState> implements ProtocolMessageEnumThe current serving state of the database instance.
Protobuf enum google.cloud.sql.v1beta4.DatabaseInstance.SqlInstanceState
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
FAILED |
The creation of the instance failed or a fatal error occurred during maintenance. |
FAILED_VALUE |
The creation of the instance failed or a fatal error occurred during maintenance. |
MAINTENANCE |
The instance is down for maintenance. |
MAINTENANCE_VALUE |
The instance is down for maintenance. |
ONLINE_MAINTENANCE |
Deprecated |
ONLINE_MAINTENANCE_VALUE |
Deprecated |
PENDING_CREATE |
The instance is being created. |
PENDING_CREATE_VALUE |
The instance is being created. |
PENDING_DELETE |
The instance is being deleted. |
PENDING_DELETE_VALUE |
The instance is being deleted. |
REPAIRING |
(Applicable to read pool nodes only.) The read pool node needs to be repaired. The database might be unavailable. |
REPAIRING_VALUE |
(Applicable to read pool nodes only.) The read pool node needs to be repaired. The database might be unavailable. |
RUNNABLE |
The instance is running, or has been stopped by owner. |
RUNNABLE_VALUE |
The instance is running, or has been stopped by owner. |
SQL_INSTANCE_STATE_UNSPECIFIED |
The state of the instance is unknown. |
SQL_INSTANCE_STATE_UNSPECIFIED_VALUE |
The state of the instance is unknown. |
SUSPENDED |
The instance is not available, for example due to problems with billing. |
SUSPENDED_VALUE |
The instance is not available, for example due to problems with billing. |
UNRECOGNIZED |
|
Static Methods |
|
|---|---|
| Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
|
Methods |
|
|---|---|
| Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |
|