NatInfo
import type { NatInfo } from "https://googleapis.deno.dev/v1/networkmanagement:v1.ts";For display only. Metadata associated with NAT.
interface NatInfo {
cloudNatGatewayType?:
| "CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED"
| "PUBLIC_NAT44"
| "PUBLIC_NAT64"
| "PRIVATE_NAT_NCC"
| "PRIVATE_NAT_HYBRID"
| "PRIVATE_NAT64";
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"
| "GKE_POD_IP_MASQUERADING";
§Properties
§
cloudNatGatewayType?: "CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED" | "PUBLIC_NAT44" | "PUBLIC_NAT64" | "PRIVATE_NAT_NCC" | "PRIVATE_NAT_HYBRID" | "PRIVATE_NAT64"
[src]Type of Cloud NAT gateway. Only valid when type is CLOUD_NAT.
§
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.