Reference documentation and code samples for the AlloyDB V1ALPHA API module Google::Cloud::AlloyDB::V1alpha::PromoteClusterStatus::State.
State contains all valid states of the database during promote cluster operation. This is used for status reporting through the LRO metadata.
Constants
STATE_UNSPECIFIED
value: 0
The state of the database is unknown.
PROMOTE_CLUSTER_AVAILABLE_FOR_READ
value: 1
The database is only available for read.
PROMOTE_CLUSTER_AVAILABLE_FOR_WRITE
value: 2
The database is available for both read and write. The promote operation
is near completion.
PROMOTE_CLUSTER_COMPLETED
value: 3
The promote operation is completed and the database is available for
write.