public sealed class PromoteClusterStatus : IMessage<PromoteClusterStatus>, IEquatable<PromoteClusterStatus>, IDeepCloneable<PromoteClusterStatus>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1alpha API class PromoteClusterStatus.
Message for current status of the database during Promote Cluster operation.
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePromoteClusterStatus\u003c/code\u003e class in the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Alpha\u003c/code\u003e namespace provides information about the status of a database during a promote cluster operation.\u003c/p\u003e\n"],["\u003cp\u003eThis class is implemented with interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for enhanced functionality.\u003c/p\u003e\n"],["\u003cp\u003eIt contains a \u003ccode\u003eState\u003c/code\u003e property which indicates the current state of the database with values like \u003ccode\u003ePROMOTE_CLUSTER_AVAILABLE_FOR_READ\u003c/code\u003e or \u003ccode\u003ePROMOTE_CLUSTER_COMPLETED\u003c/code\u003e after the promote operation.\u003c/p\u003e\n"],["\u003cp\u003eTwo versions of the API are documented, \u003ccode\u003e1.0.0-alpha10 (latest)\u003c/code\u003e and \u003ccode\u003e1.0.0-alpha09\u003c/code\u003e, offering reference documentation and code samples for the \u003ccode\u003ePromoteClusterStatus\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]