# GDC Hardware Management v1alpha API - Class ZoneNetworkConfig (1.0.0-alpha08)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-alpha08 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.ZoneNetworkConfig)
- [1.0.0-alpha07](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/1.0.0-alpha07/Google.Cloud.GdcHardwareManagement.V1Alpha.ZoneNetworkConfig)

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

Reference documentation and code samples for the GDC Hardware Management v1alpha API class ZoneNetworkConfig.

Networking configuration for a zone.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.GdcHardwareManagement.V1Alpha.dll

## Constructors

### ZoneNetworkConfig()

    public ZoneNetworkConfig()

### ZoneNetworkConfig(ZoneNetworkConfig)

    public ZoneNetworkConfig(ZoneNetworkConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.ZoneNetworkConfig` |

## Properties

### DnsIpv4Addresses

    public RepeatedField<string> DnsIpv4Addresses { get; }

Optional. DNS nameservers.
The GDC Infrastructure will resolve DNS queries via these IPs.
If unspecified, Google DNS is used.

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

### KubernetesControlPlaneIpv4Range

    public string KubernetesControlPlaneIpv4Range { get; set; }

Required. An IPv4 address block for kubernetes control plane.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per cluster in the Zone.
Should be in `kubernetes_ipv4_subnet`, and disjoint with other address
ranges.

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

### KubernetesIpv4Subnet

    public Subnet KubernetesIpv4Subnet { get; set; }

Optional. An IPv4 subnet for the kubernetes network.
If unspecified, the kubernetes subnet will be the same as the management
subnet.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.Subnet` |   |

### KubernetesNodeIpv4Range

    public string KubernetesNodeIpv4Range { get; set; }

Required. An IPv4 address block for kubernetes nodes.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in `kubernetes_ipv4_subnet`, and disjoint with other address
ranges.

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

### KubernetesPrimaryVlanId

    public int KubernetesPrimaryVlanId { get; set; }

Optional. Kubernetes VLAN ID.
By default, the kubernetes node, including the primary kubernetes network,
are in the same VLAN as the machine management network.
For network segmentation purposes, these can optionally be separated.

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

### MachineMgmtIpv4Range

    public string MachineMgmtIpv4Range { get; set; }

Required. An IPv4 address block for machine management.
Should be a private RFC1918 or public CIDR block large enough to allocate
at least one address per machine in the Zone.
Should be in `management_ipv4_subnet`, and disjoint with other address
ranges.

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

### ManagementIpv4Subnet

    public Subnet ManagementIpv4Subnet { get; set; }

Required. An IPv4 subnet for the management network.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GdcHardwareManagement.V1Alpha/latest/Google.Cloud.GdcHardwareManagement.V1Alpha.Subnet` |   |