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

RouterNatSubnetworkToNat

import type { RouterNatSubnetworkToNat } from "https://googleapis.deno.dev/v1/compute:v1.ts";

Defines the IP ranges that want to use NAT for a subnetwork.

interface RouterNatSubnetworkToNat {
name?: string;
secondaryIpRangeNames?: string[];
sourceIpRangesToNat?: "ALL_IP_RANGES" | "LIST_OF_SECONDARY_IP_RANGES" | "PRIMARY_IP_RANGE"[];
}

§Properties

§
name?: string
[src]

URL for the subnetwork resource that will use NAT.

§
secondaryIpRangeNames?: string[]
[src]

A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.

§
sourceIpRangesToNat?: "ALL_IP_RANGES" | "LIST_OF_SECONDARY_IP_RANGES" | "PRIMARY_IP_RANGE"[]
[src]

Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES]