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.
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\u003eThis documentation details the \u003ccode\u003ePromoteClusterStatus\u003c/code\u003e class within the AlloyDB v1beta API, providing information on its structure and functionality for the .NET framework.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePromoteClusterStatus\u003c/code\u003e class is designed to represent the current status of a database during a cluster promotion operation, offering insights into the progress and completion state of the operation.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the \u003ccode\u003eobject\u003c/code\u003e class, offering it diverse capabilities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eState\u003c/code\u003e property, of type \u003ccode\u003ePromoteClusterStatus.Types.State\u003c/code\u003e, is a crucial property that reflects the database's state during and after the promotion, indicating if it is available for read-only, or read/write operations.\u003c/p\u003e\n"],["\u003cp\u003eThere are two versions provided, beta08, and beta09 which is the most current/latest, each with their own dedicated page, which details the class information and associated properties.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1beta API - Class PromoteClusterStatus (1.0.0-beta12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.PromoteClusterStatus)\n- [1.0.0-beta11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/1.0.0-beta11/Google.Cloud.AlloyDb.V1Beta.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 v1beta 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.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.PromoteClusterStatus), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PromoteClusterStatus](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.PromoteClusterStatus), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PromoteClusterStatus](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.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.V1Beta](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Beta.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"]]