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

# LoadBalancer

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

A tenant Layer-4 load balancer inside a VPC (W123; ADR-0613 item 2): distributes TCP or UDP connections arriving at acell-allocated virtual IPv4 address (`listenAddress`) in the network's range across one or more attached instances of the sameproject and location (backed by an Incus OVN network load balancer in OVN mode). A network may have at most 16 load balancers.`network` and `listenAddress` are fixed at creation; update `backends`, `ports` or metadata with PATCH and If-Match.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Annotations` | `Models.Network.LoadBalancer_annotations?` | `annotations` | At most 256 KiB in all; never policy input. |
| `BackendHealth` | `List<Models.Network.LoadBalancerBackendHealth>?` | `backendHealth` | Each backend's health as the substrate last reported it; absent until a reconcile pass has read it, or when the substrate does not report health. |
| `Backends` | `List<Models.Network.LoadBalancerBackend>?` | `backends` | Named backend targets (1 to 16) inside the same project and location. |
| `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. |
| `Labels` | `Models.Network.LoadBalancer_labels?` | `labels` | At most 64. |
| `ListenAddress` | `string?` | `listenAddress` | The virtual IPv4 address the cell allocated for this load balancer inside the network's range. |
| `Name` | `string?` | `name` | The resource name, for example projects/p/locations/l/instances/i. |
| `Network` | `string?` | `network` | The parent network: its ID or resource name in the same project and location. |
| `Ports` | `List<Models.Network.LoadBalancerPort>?` | `ports` | Listener ports (1 to 16) forwarding to declared backend names. |
| `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. |
| `StateDetails` | `string?` | `stateDetails` | Why the load balancer is degraded or waiting on an unattached backend, when applicable. |
| `Uid` | `string?` | `uid` | UUIDv7, never reused. |
| `UpdateTime` | `DateTimeOffset?` | `updateTime` | The updateTime property |
