public sealed class ZoneDistributionConfig : IMessage<ZoneDistributionConfig>, IEquatable<ZoneDistributionConfig>, IDeepCloneable<ZoneDistributionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Memorystore v1 API class ZoneDistributionConfig.
Zone distribution configuration for allocation of instance resources.
[[["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 covers the \u003ccode\u003eZoneDistributionConfig\u003c/code\u003e class, which is part of the Google Cloud Memorystore v1 API and is used for managing the allocation of instance resources across zones.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eZoneDistributionConfig\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several 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\u003eThere are two constructors available for creating a \u003ccode\u003eZoneDistributionConfig\u003c/code\u003e object: a default constructor and one that takes another \u003ccode\u003eZoneDistributionConfig\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two key properties: \u003ccode\u003eMode\u003c/code\u003e, which defines the zone distribution mode (defaulting to \u003ccode\u003eMULTI_ZONE\u003c/code\u003e), and \u003ccode\u003eZone\u003c/code\u003e, which specifies the zone for resource allocation in \u003ccode\u003eSINGLE_ZONE\u003c/code\u003e mode.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eZoneDistributionConfig\u003c/code\u003e class is located within the \u003ccode\u003eGoogle.Cloud.Memorystore.V1\u003c/code\u003e namespace, and its code is found within the \u003ccode\u003eGoogle.Cloud.Memorystore.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Memorystore v1 API - Class ZoneDistributionConfig (1.0.0-beta03)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta03 (latest)](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.ZoneDistributionConfig)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/1.0.0-beta02/Google.Cloud.Memorystore.V1.ZoneDistributionConfig) \n\n public sealed class ZoneDistributionConfig : IMessage\u003cZoneDistributionConfig\u003e, IEquatable\u003cZoneDistributionConfig\u003e, IDeepCloneable\u003cZoneDistributionConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Memorystore v1 API class ZoneDistributionConfig.\n\nZone distribution configuration for allocation of instance resources. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ZoneDistributionConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ZoneDistributionConfig](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.ZoneDistributionConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ZoneDistributionConfig](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.ZoneDistributionConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ZoneDistributionConfig](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.ZoneDistributionConfig), [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.Memorystore.V1](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Memorystore.V1.dll\n\nConstructors\n------------\n\n### ZoneDistributionConfig()\n\n public ZoneDistributionConfig()\n\n### ZoneDistributionConfig(ZoneDistributionConfig)\n\n public ZoneDistributionConfig(ZoneDistributionConfig other)\n\nProperties\n----------\n\n### Mode\n\n public ZoneDistributionConfig.Types.ZoneDistributionMode Mode { get; set; }\n\nOptional. Current zone distribution mode. Defaults to MULTI_ZONE.\n\n### Zone\n\n public string Zone { get; set; }\n\nOptional. Defines zone where all resources will be allocated with\nSINGLE_ZONE mode. Ignored for MULTI_ZONE mode."]]