1.11.0 (latest) 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ZoneDistributionConfig : IMessage<ZoneDistributionConfig>, IEquatable<ZoneDistributionConfig>, IDeepCloneable<ZoneDistributionConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API class ZoneDistributionConfig.

Zone distribution config for allocation of cluster 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.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.ZoneDistributionConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ZoneDistributionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.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.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.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.Redis.Cluster.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1)

## Assembly

Google.Cloud.Redis.Cluster.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.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.ZoneDistributionConfig` |

## Properties

### ActiveZones

    public RepeatedField<string> ActiveZones { get; }

Output only. The exact list of zones where the cluster 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. The mode of zone distribution. Defaults to MULTI_ZONE, when not
specified.

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

### Zone

    public string Zone { get; set; }

Optional. When SINGLE ZONE distribution is selected, zone field would be
used to allocate all resources in that zone. This is not applicable to
MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.

| **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 cluster where Redis Cluster
allocates resources. This flag isn't applicable for single-zone clusters.

| **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` |   |