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

NetworkInterface

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

NetworkInterface represents a NIC of a VM.

interface NetworkInterface {
externalIp?: string;
internalIp?: string;
network?: string;
subnetwork?: string;
}

§Properties

§
externalIp?: string
[src]

The external IP to define in the NIC.

§
internalIp?: string
[src]

The internal IP to define in the NIC. The formats accepted are: ephemeral \ ipv4 address \ a named address resource full path.

§
network?: string
[src]

The network to connect the NIC to.

§
subnetwork?: string
[src]

The subnetwork to connect the NIC to.