1.1.0 (latest) 1.0.0

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ZoneDistributionConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ZoneDistributionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.ZoneDistributionConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ZoneDistributionConfig](https://docs.cloud.google.com/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](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Memorystore.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1)

## Assembly

Google.Cloud.Memorystore.V1.dll

## Constructors

### ZoneDistributionConfig()

    public ZoneDistributionConfig()

### ZoneDistributionConfig(ZoneDistributionConfig)

    public ZoneDistributionConfig(ZoneDistributionConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.ZoneDistributionConfig` |

## Properties

### ActiveZones

    public RepeatedField<string> ActiveZones { get; }

Output only. The exact list of zones where the instance currently has
active VMs.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Mode

    public ZoneDistributionConfig.Types.ZoneDistributionMode Mode { get; set; }

Optional. Current zone distribution mode. Defaults to MULTI_ZONE.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.ZoneDistributionConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.ZoneDistributionConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.ZoneDistributionConfig.Types.ZoneDistributionMode` |   |

### Zone

    public string Zone { get; set; }

Optional. Defines zone where all resources will be allocated with
SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Zones

    public RepeatedField<string> Zones { get; }

Optional. Specify the zones of a multi-zone instance where Memorystore
instance allocates resources. This flag isn't applicable for single-zone
instances.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |