state property

String? state
getter/setter pair

The current serving state of the Cloud SQL instance.

This can be one of the following. SQL_INSTANCE_STATE_UNSPECIFIED: The state of the instance is unknown. RUNNABLE: The instance is running, or has been stopped by owner. SUSPENDED: The instance is not available, for example due to problems with billing. PENDING_DELETE: The instance is being deleted. PENDING_CREATE: The instance is being created. MAINTENANCE: The instance is down for maintenance. FAILED: The instance creation failed. Possible string values are:

  • "SQL_INSTANCE_STATE_UNSPECIFIED" : The state of the instance is unknown.
  • "RUNNABLE" : The instance is running, or has been stopped by owner.
  • "SUSPENDED" : The instance is not available, for example due to problems with billing.
  • "PENDING_DELETE" : The instance is being deleted.
  • "PENDING_CREATE" : The instance is being created.
  • "MAINTENANCE" : The instance is down for maintenance.
  • "FAILED" : The creation of the instance failed or a fatal error occurred during maintenance.
  • "ONLINE_MAINTENANCE" : The instance is under maintenance operations and the database is available.

Implementation

core.String? state;