public sealed class PromoteClusterStatus : IMessage<PromoteClusterStatus>, IEquatable<PromoteClusterStatus>, IDeepCloneable<PromoteClusterStatus>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1beta API class PromoteClusterStatus.
Message for current status of the database during Promote Cluster operation.
Implements
IMessagePromoteClusterStatus, IEquatablePromoteClusterStatus, IDeepCloneablePromoteClusterStatus, IBufferMessage, IMessageNamespace
Google.Cloud.AlloyDb.V1BetaAssembly
Google.Cloud.AlloyDb.V1Beta.dll
Constructors
PromoteClusterStatus()
public PromoteClusterStatus()
PromoteClusterStatus(PromoteClusterStatus)
public PromoteClusterStatus(PromoteClusterStatus other)
Parameter | |
---|---|
Name | Description |
other |
PromoteClusterStatus |
Properties
State
public PromoteClusterStatus.Types.State State { get; set; }
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:
- PROMOTE_CLUSTER_AVAILABLE_FOR_READ, indicating that the promote operation has failed mid-way, the database is still only available for read.
- PROMOTE_CLUSTER_COMPLETED, indicating that a promote operation completed successfully. The database is available for both read and write requests
Property Value | |
---|---|
Type | Description |
PromoteClusterStatusTypesState |