state property

String? state
getter/setter pair

The current serving state of the instance.

Output only. Possible string values are:

  • "STATE_UNSPECIFIED" : The state of the instance is unknown.
  • "READY" : The instance is active and running.
  • "STOPPED" : The instance is stopped. Instance name and IP resources are preserved.
  • "CREATING" : The instance is being created.
  • "DELETING" : The instance is being deleted.
  • "MAINTENANCE" : The instance is down for maintenance.
  • "FAILED" : The creation of the instance failed or a fatal error occurred during an operation on the instance. Note: Instances in this state would tried to be auto-repaired. And Customers should be able to restart, update or delete these instances.
  • "BOOTSTRAPPING" : The instance has been configured to sync data from some other source.
  • "PROMOTING" : The instance is being promoted.
  • "SWITCHOVER" : The instance has entered switchover state. All updates on instance are restricted while the instance is in this state.
  • "STOPPING" : The instance is being stopped.
  • "STARTING" : The instance is being started.

Implementation

core.String? state;