[SDK reference](../../index.md) / [Models](../index.md) / [Network](index.md)

# Subnet

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Network`  

A subnet within a virtual network (W25, P0.6; ADR-0601): non-overlapping IPv4 CIDR containedin its parent network's CIDR, plus a deterministic /64 ULA IPv6 prefix.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Network.Subnet_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `DeleteTime` | `DateTimeOffset?` | `deleteTime` | The deleteTime property |
| `DisplayName` | `string?` | `displayName` | Up to 63 characters. |
| `Etag` | `string?` | `etag` | "{generation}"; send it back in If-Match. |
| `GatewayIpv4` | `string?` | `gatewayIpv4` | The logical router gateway IPv4 address (.1 of the subnet CIDR). |
| `Ipv4Cidr` | `string?` | `ipv4Cidr` | The IPv4 CIDR block (/29 to /16) contained within the parent network's ipv4Cidr. |
| `Ipv6Cidr` | `string?` | `ipv6Cidr` | The assigned /64 ULA IPv6 prefix from the parent network's /48 ULA block. |
| `Labels` | `Models.Network.Subnet_labels?` | `labels` | At most 64. |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `Network` | `string?` | `network` | The parent network ID or resource name in the same project and location. |
| `PurgeTime` | `DateTimeOffset?` | `purgeTime` | The purgeTime property |
| `Reconciling` | `bool?` | `reconciling` | True while the platform works toward the spec. |
| `State` | `Models.Network.NetworkState?` | `state` | Current lifecycle state. |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
