Google Cloud Sql Admin V1 Client - Class SqlInstanceState (0.10.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlInstanceState.

The current serving state of the database instance.

Protobuf type google.cloud.sql.v1.DatabaseInstance.SqlInstanceState

Namespace

Google \ Cloud \ Sql \ V1 \ DatabaseInstance

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

SQL_INSTANCE_STATE_UNSPECIFIED

Value: 0

The state of the instance is unknown.

Generated from protobuf enum SQL_INSTANCE_STATE_UNSPECIFIED = 0;

RUNNABLE

Value: 1

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

Generated from protobuf enum RUNNABLE = 1;

SUSPENDED

Value: 2

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

Generated from protobuf enum SUSPENDED = 2;

PENDING_DELETE

Value: 3

The instance is being deleted.

Generated from protobuf enum PENDING_DELETE = 3;

PENDING_CREATE

Value: 4

The instance is being created.

Generated from protobuf enum PENDING_CREATE = 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 maintenance.

Generated from protobuf enum FAILED = 6;

ONLINE_MAINTENANCE

Value: 7

Deprecated

Generated from protobuf enum ONLINE_MAINTENANCE = 7 [deprecated = true];