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 v1 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 webpage provides documentation for the \u003ccode\u003eCluster.Types.SecondaryConfig\u003c/code\u003e class within the Google Cloud AlloyDB v1 API, specifically for the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecondaryConfig\u003c/code\u003e class is used to define configuration settings for a secondary cluster, and it is exclusively applicable when the cluster type is set to \u003ccode\u003eSECONDARY\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists the available versions of the API, with the latest being version 1.9.0, and older versions going as far back as version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the inheritance, implemented interfaces, and inherited members of the \u003ccode\u003eSecondaryConfig\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecondaryConfig\u003c/code\u003e class can be instantiated using a default constructor, \u003ccode\u003eSecondaryConfig()\u003c/code\u003e, or a copy constructor, \u003ccode\u003eSecondaryConfig(Cluster.Types.SecondaryConfig other)\u003c/code\u003e, and it includes a \u003ccode\u003ePrimaryClusterName\u003c/code\u003e property which must contain the name of the primary cluster.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1 API - Class Cluster.Types.SecondaryConfig (1.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster.Types.SecondaryConfig)\n- [1.10.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.10.0/Google.Cloud.AlloyDb.V1.Cluster.Types.SecondaryConfig)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.9.0/Google.Cloud.AlloyDb.V1.Cluster.Types.SecondaryConfig)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.8.0/Google.Cloud.AlloyDb.V1.Cluster.Types.SecondaryConfig)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.7.0/Google.Cloud.AlloyDb.V1.Cluster.Types.SecondaryConfig)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.6.0/Google.Cloud.AlloyDb.V1.Cluster.Types.SecondaryConfig)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.5.0/Google.Cloud.AlloyDb.V1.Cluster.Types.SecondaryConfig)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.4.0/Google.Cloud.AlloyDb.V1.Cluster.Types.SecondaryConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.3.0/Google.Cloud.AlloyDb.V1.Cluster.Types.SecondaryConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.2.0/Google.Cloud.AlloyDb.V1.Cluster.Types.SecondaryConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.1.0/Google.Cloud.AlloyDb.V1.Cluster.Types.SecondaryConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.0.0/Google.Cloud.AlloyDb.V1.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 v1 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.V1/latest/Google.Cloud.AlloyDb.V1.Cluster)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster.Types)[SecondaryConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster.Types.SecondaryConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Cluster](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster.Types)[SecondaryConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.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.V1/latest/Google.Cloud.AlloyDb.V1.Cluster)[Types](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.Cluster.Types)[SecondaryConfig](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.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.V1](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1.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}"]]