Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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

§
natGatewayName?: string
[src]

The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.

§
networkUri?: string
[src]

URI of the network where NAT translation takes place.

§
newDestinationIp?: string
[src]

Destination IP address after NAT translation.

§
newDestinationPort?: number
[src]

Destination port after NAT translation. Only valid when protocol is TCP or UDP.

§
newSourceIp?: string
[src]

Source IP address after NAT translation.

§
newSourcePort?: number
[src]

Source port after NAT translation. Only valid when protocol is TCP or UDP.

§
oldDestinationIp?: string
[src]

Destination IP address before NAT translation.

§
oldDestinationPort?: number
[src]

Destination port before NAT translation. Only valid when protocol is TCP or UDP.

§
oldSourceIp?: string
[src]

Source IP address before NAT translation.

§
oldSourcePort?: number
[src]

Source port before NAT translation. Only valid when protocol is TCP or UDP.

§
protocol?: string
[src]

IP protocol in string format, for example: "TCP", "UDP", "ICMP".

§
routerUri?: string
[src]

Uri of the Cloud Router. Only valid when type is CLOUD_NAT.

§
type?: "TYPE_UNSPECIFIED" | "INTERNAL_TO_EXTERNAL" | "EXTERNAL_TO_INTERNAL" | "CLOUD_NAT" | "PRIVATE_SERVICE_CONNECT"
[src]

Type of NAT.