SDK reference / Models / Network

HubConnection

Kind: class

Namespace: Egulu.Sdk.Models.Network

A hub connection (a spoke; founder, 22 Nov 2026; proposed ADR-0686): a network of the project attached to a virtual hub of the same location. The network'srange is the spoke's prefix; it must not overlap the hub's address space, another spoke, a site or a prefix learned over a link, and a refusal names theconflicting range. A network attaches to one hub. associatedRouteTable is the table its own packets are looked up in; propagateToRouteTables are thetables its range appears in. A project holds at most 40 connections in a location and a hub at most 20.

Properties

NameTypeJSON nameDescription
AddressSpacestring?addressSpaceThe spoke's prefix: the network's IPv4 range, as it was when attached.
AnnotationsModels.Network.HubConnection_annotations?annotationsAt most 256 KiB in all; never policy input.
AssociatedRouteTablestring?associatedRouteTableThe hub's route table this spoke's packets are looked up in (default `default`).
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
Hubstring?hubThe hub's ID. It cannot be changed: detach and attach again to move a spoke.
LabelsModels.Network.HubConnection_labels?labelsAt most 64.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
Networkstring?networkThe network to attach: its ID or resource name in the same project and location. It cannot be changed.
PropagateToRouteTablesList<string>?propagateToRouteTablesThe hub's route tables the spoke's range is added to (default `["default"]`); an empty list keeps it out of every table.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
StateModels.Network.NetworkState?stateCurrent lifecycle state.
StateDetailsstring?stateDetailsWhy the spoke carries no traffic, or what the substrate said, when it does not.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property