public sealed class Cluster.Types.SecondaryConfig : IMessage<Cluster.Types.SecondaryConfig>, IEquatable<Cluster.Types.SecondaryConfig>, IDeepCloneable<Cluster.Types.SecondaryConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1alpha API class Cluster.Types.SecondaryConfig.
Configuration information for the secondary cluster. This should be set
if and only if the cluster is of type SECONDARY.
[[["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 document provides reference information for the \u003ccode\u003eCluster.Types.SecondaryConfig\u003c/code\u003e class within the AlloyDB v1alpha API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCluster.Types.SecondaryConfig\u003c/code\u003e is designed to manage configuration details for secondary clusters, and it is relevant only when the cluster type is set to \u003ccode\u003eSECONDARY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a property called \u003ccode\u003ePrimaryClusterName\u003c/code\u003e which is of type string and represents the fully qualified name of the primary cluster.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors, one default constructor and another that copies an existing \u003ccode\u003eSecondaryConfig\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1alpha API - Class Cluster.Types.SecondaryConfig (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.Cluster.Types.SecondaryConfig)\n- [1.0.0-alpha11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/1.0.0-alpha11/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types.SecondaryConfig) \n\n public sealed class Cluster.Types.SecondaryConfig : IMessage\u003cCluster.Types.SecondaryConfig\u003e, IEquatable\u003cCluster.Types.SecondaryConfig\u003e, IDeepCloneable\u003cCluster.Types.SecondaryConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1alpha API class Cluster.Types.SecondaryConfig.\n\nConfiguration information for the secondary cluster. This should be set\nif and only if the cluster is of type SECONDARY. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Cluster.Types.SecondaryConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Cluster](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types)[SecondaryConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types.SecondaryConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Cluster](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types)[SecondaryConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types.SecondaryConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Cluster](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types)[SecondaryConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Alpha/latest/Google.Cloud.AlloyDb.V1Alpha.Cluster.Types.SecondaryConfig), [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### SecondaryConfig()\n\n public SecondaryConfig()\n\n### SecondaryConfig(SecondaryConfig)\n\n public SecondaryConfig(Cluster.Types.SecondaryConfig other)\n\nProperties\n----------\n\n### PrimaryClusterName\n\n public string PrimaryClusterName { get; set; }\n\nThe name of the primary cluster name with the format:\n\n- projects/{project}/locations/{region}/clusters/{cluster_id}"]]