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,["# AlloyDB v1alpha API - Class PromoteClusterStatus (1.0.0-alpha12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-alpha12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.PromoteClusterStatus)\n- [1.0.0-alpha11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/1.0.0-alpha11/Google.Cloud.AlloyDb.V1Alpha.PromoteClusterStatus) \n\n public sealed class PromoteClusterStatus : IMessage\u003cPromoteClusterStatus\u003e, IEquatable\u003cPromoteClusterStatus\u003e, IDeepCloneable\u003cPromoteClusterStatus\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1alpha API class PromoteClusterStatus.\n\nMessage for current status of the database during Promote Cluster operation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PromoteClusterStatus \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PromoteClusterStatus](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.PromoteClusterStatus), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PromoteClusterStatus](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.PromoteClusterStatus), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PromoteClusterStatus](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.PromoteClusterStatus), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AlloyDb.V1Alpha](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Alpha.dll\n\nConstructors\n------------\n\n### PromoteClusterStatus()\n\n public PromoteClusterStatus()\n\n### PromoteClusterStatus(PromoteClusterStatus)\n\n public PromoteClusterStatus(PromoteClusterStatus other)\n\nProperties\n----------\n\n### State\n\n public PromoteClusterStatus.Types.State State { get; set; }\n\nOutput only. The current state of the promoted secondary's database.\nOnce the operation is complete, the final state of the database in the\nLRO can be one of:\n\n1. PROMOTE_CLUSTER_AVAILABLE_FOR_READ, indicating that the promote operation has failed mid-way, the database is still only available for read.\n2. PROMOTE_CLUSTER_COMPLETED, indicating that a promote operation completed successfully. The database is available for both read and write requests"]]