NatInfo
import type { NatInfo } from "https://googleapis.deno.dev/v1/networkmanagement:v1.ts";
For display only. Metadata associated with NAT.
interface NatInfo {
natGatewayName?: string;
networkUri?: string;
newDestinationIp?: string;
newDestinationPort?: number;
newSourceIp?: string;
newSourcePort?: number;
oldDestinationIp?: string;
oldDestinationPort?: number;
oldSourceIp?: string;
oldSourcePort?: number;
protocol?: string;
routerUri?: string;
type?:
} | "TYPE_UNSPECIFIED"
| "INTERNAL_TO_EXTERNAL"
| "EXTERNAL_TO_INTERNAL"
| "CLOUD_NAT"
| "PRIVATE_SERVICE_CONNECT";
§Properties
§
newDestinationPort?: number
[src]Destination port after NAT translation. Only valid when protocol is TCP or UDP.
§
newSourcePort?: number
[src]Source port after NAT translation. Only valid when protocol is TCP or UDP.
§
oldDestinationPort?: number
[src]Destination port before NAT translation. Only valid when protocol is TCP or UDP.