Google Cloud AlloyDB for PostgreSQL V1 Client - Class State (0.10.2)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class State.

Instance State

Protobuf type google.cloud.alloydb.v1.Instance.State

Namespace

Google \ Cloud \ AlloyDb \ V1 \ Instance

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

The state of the instance is unknown.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

READY

Value: 1

The instance is active and running.

Generated from protobuf enum READY = 1;

STOPPED

Value: 2

The instance is stopped. Instance name and IP resources are preserved.

Generated from protobuf enum STOPPED = 2;

CREATING

Value: 3

The instance is being created.

Generated from protobuf enum CREATING = 3;

DELETING

Value: 4

The instance is being deleted.

Generated from protobuf enum DELETING = 4;

MAINTENANCE

Value: 5

The instance is down for maintenance.

Generated from protobuf enum MAINTENANCE = 5;

FAILED

Value: 6

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.

Generated from protobuf enum FAILED = 6;

BOOTSTRAPPING

Value: 8

Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that index unused in case that state also needs to exposed via consumer apis in future.

The instance has been configured to sync data from some other source.

Generated from protobuf enum BOOTSTRAPPING = 8;

PROMOTING

Value: 9

The instance is being promoted.

Generated from protobuf enum PROMOTING = 9;