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

NetworkConfig

import type { NetworkConfig } from "https://googleapis.deno.dev/v1/tpu:v2.ts";

Network related configurations.

interface NetworkConfig {
canIpForward?: boolean;
enableExternalIps?: boolean;
network?: string;
queueCount?: number;
subnetwork?: string;
}

§Properties

§
canIpForward?: boolean
[src]

Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.

§
enableExternalIps?: boolean
[src]

Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.

§
network?: string
[src]

The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.

§
queueCount?: number
[src]

Optional. Specifies networking queue count for TPU VM instance's network interface.

§
subnetwork?: string
[src]

The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.