Google Cloud Sql Admin V1 Client - Class SqlInstanceState (1.5.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
Name Description
value mixed

static::value

Parameter
Name Description
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];

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月21日 UTC.