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

NameTypeJSON nameDescription
AddressRangesList<string>?addressRangesThe 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.
AnnotationsModels.Network.VpnSite_annotations?annotationsAt most 256 KiB in all; never policy input.
AssociatedRouteTablestring?associatedRouteTableThe hub's route table the site's packets are looked up in (default `default`).
ConnectionModels.Network.VpnSiteConnection?connectionThe tunnel as the substrate last said.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
GatewayEndpointstring?gatewayEndpointWhere the branch sends its packets, once known.
GatewayPublicKeystring?gatewayPublicKeyThe hub gateway's WireGuard public key, once it runs.
Hubstring?hubThe hub's ID. It cannot be changed.
KeepaliveSecondsint?keepaliveSecondsSeconds between keepalives, 0 to 120 (default 25; 0 sends none).
LabelsModels.Network.VpnSite_labels?labelsAt most 64.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
PropagateToRouteTablesList<string>?propagateToRouteTablesThe hub's route tables the site's ranges are added to (default `["default"]`).
PublicAddressstring?publicAddressThe branch's public IPv4 address. A private, loopback, link-local, shared (100.64/10), benchmarking, multicast or reserved address is refused.
PublicKeystring?publicKeyThe branch's WireGuard public key: base64 of 32 bytes.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
StateModels.Network.NetworkState?stateCurrent lifecycle state.
StateDetailsstring?stateDetailsWhy the site carries no traffic, or what the substrate said, when it does not.
TunnelAddressstring?tunnelAddressThe site's address inside the hub's address space: the `Address` of its peer file.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property