Class PromoteClusterStatus (0.4.1)

PromoteClusterStatus(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message for current status of the database during Promote Cluster operation.

Attribute

Name Description
state google.cloud.alloydb_v1alpha.types.PromoteClusterStatus.State
Output only. The current state of the promoted secondary's database. Once the operation is complete, the final state of the database in the LRO can be one of: 1. PROMOTE_CLUSTER_AVAILABLE_FOR_READ, indicating that the promote operation has failed mid-way, the database is still only available for read. 2. PROMOTE_CLUSTER_COMPLETED, indicating that a promote operation completed successfully. The database is available for both read and write requests

Classes

State

State(value)

State contains all valid states of the database during promote cluster operation. This is used for status reporting through the LRO metadata.