SDK reference / Models / Network

PortForward

Kind: class

Namespace: Egulu.Sdk.Models.Network

A port forward on the cell's IPv4 (W25; ADR-0613 item 1): connections to externalAddress:externalPort reach targetPort of a VMof this project, with the client's own address, so the network's firewall policies decide whether they are let in. The cell giveseach project one block of 100 ports (20000 to 29999) and each forward the first free port of the block for its protocol. Immutable:delete it and create another.

Properties

NameTypeJSON nameDescription
AnnotationsModels.Network.PortForward_annotations?annotationsAt most 256 KiB in all; never policy input.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
ExternalAddressstring?externalAddressThe cell's IPv4 address the forward listens on.
ExternalPortint?externalPortThe port the cell gave the forward, inside the project's block.
LabelsModels.Network.PortForward_labels?labelsAt most 64.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
Networkstring?networkThe network ID or resource name, in the same project and location, the target VM is attached to.
ProtocolModels.Network.ForwardProtocol?protocolTCP or UDP.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
StateModels.Network.NetworkState?stateCurrent lifecycle state.
StateDetailsstring?stateDetailsWhy the forward reaches no VM, when it does not (for example, the instance is not attached to the network).
TargetInstancestring?targetInstanceThe target VM's instance ID in the same project and location.
TargetPortint?targetPortThe VM's port, 1 to 65535.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property