SDK reference / Models / Network
VpnSite
Kind: class
Namespace: Egulu.Sdk.Models.Network
A VPN site (founder, 22 Nov 2026; proposed ADR-0686): a branch office attached to a hub through the hub's WireGuard gateway (ADR-0613 item 3: split tunnelonly, never a default route). The platform holds the branch's public key and ranges; the branch holds its private key, which the platform never sees.There is no IPsec (ADR-0613 says later). A project holds at most 20 sites in a location and a hub at most 10.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
AddressRanges | List<string>? | addressRanges | The branch's IPv4 ranges (1 to 16, no host bits, none a default route), outside the hub's address space and apart from every spoke and site. |
Annotations | Models.Network.VpnSite_annotations? | annotations | At most 256 KiB in all; never policy input. |
AssociatedRouteTable | string? | associatedRouteTable | The hub's route table the site's packets are looked up in (default `default`). |
Connection | Models.Network.VpnSiteConnection? | connection | The tunnel as the substrate last said. |
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. |
GatewayEndpoint | string? | gatewayEndpoint | Where the branch sends its packets, once known. |
GatewayPublicKey | string? | gatewayPublicKey | The hub gateway's WireGuard public key, once it runs. |
Hub | string? | hub | The hub's ID. It cannot be changed. |
KeepaliveSeconds | int? | keepaliveSeconds | Seconds between keepalives, 0 to 120 (default 25; 0 sends none). |
Labels | Models.Network.VpnSite_labels? | labels | At most 64. |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
PropagateToRouteTables | List<string>? | propagateToRouteTables | The hub's route tables the site's ranges are added to (default `["default"]`). |
PublicAddress | string? | publicAddress | The branch's public IPv4 address. A private, loopback, link-local, shared (100.64/10), benchmarking, multicast or reserved address is refused. |
PublicKey | string? | publicKey | The branch's WireGuard public key: base64 of 32 bytes. |
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 site carries no traffic, or what the substrate said, when it does not. |
TunnelAddress | string? | tunnelAddress | The site's address inside the hub's address space: the `Address` of its peer file. |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |