SDK reference / Models / Network

NatGateway

Kind: class

Namespace: Egulu.Sdk.Models.Network

A NAT gateway (founder, 22 Nov 2026; NET-1, NET-4; proposed ADR-0675): the outbound address of one network and its caps. Outbound traffic of the networkis translated to reservedAddress (a reserved address of the project, which the gateway then holds) or, without one, to the cell's shared address. Anetwork has one gateway; it needs egressMode NAT; it cannot be combined with a dedicated egress address. Outbound TCP/25 is dropped on every network anda gateway cannot allow it: 25 is always in blockedTcpPorts, whatever a request says. A gateway is metered by the hour (nat-gateway-hours) while itexists. The platform enforces the address first; the caps are enforced where the cell's substrate can, and stateDetails says when it cannot yet.

Properties

NameTypeJSON nameDescription
AnnotationsModels.Network.NatGateway_annotations?annotationsAt most 256 KiB in all; never policy input.
BlockedTcpPortsList<int?>?blockedTcpPortsTCP ports that never leave the network, at most 16. Port 25 is always one of them.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
IdleTimeoutSecondsint?idleTimeoutSecondsHow long an idle connection is kept, 30 to 7200 seconds. 300 when omitted.
LabelsModels.Network.NatGateway_labels?labelsAt most 64.
MaxConnectionsint?maxConnectionsThe most connections the network holds at once, 1000 to 1,000,000. 65,536 when omitted.
MaxNewConnectionsPerSecondint?maxNewConnectionsPerSecondThe most new connections a second, 10 to 100,000. 1000 when omitted.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
Networkstring?networkThe network: its ID or resource name in the same project and location. It cannot be changed.
OutboundAddressstring?outboundAddressThe address the network's outbound traffic leaves from now: the reserved address, or empty while the cell's shared address is used.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
ReservedAddressstring?reservedAddressThe reserved address the network's outbound traffic leaves from: its ID, in the same project and location. It must not be attached to anything. Empty: the cell's shared address.
StateModels.Network.NetworkState?stateCurrent lifecycle state.
StateDetailsstring?stateDetailsWhat is not enforced yet, or what the substrate said, when something is not.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property