# Class ZoneDistributionConfig (0.5.1)

0.5.1 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.14

    ZoneDistributionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Zone distribution config for allocation of cluster resources.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `mode` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-redis-cluster/latest/google.cloud.redis_cluster_v1beta1.types.ZoneDistributionConfig.ZoneDistributionMode` Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified. |
| `zone` | `str` 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. |

## Classes

### ZoneDistributionMode

    ZoneDistributionMode(value)

Defines various modes of zone distribution.