NetworkInterface
import type { NetworkInterface } from "https://googleapis.deno.dev/v1/notebooks:v2.ts";
The definition of a network interface resource attached to a VM.
interface NetworkInterface {
accessConfigs?: AccessConfig[];
network?: string;
nicType?: "NIC_TYPE_UNSPECIFIED" | "VIRTIO_NET" | "GVNIC";
subnet?: string;
}§Properties
§
accessConfigs?: AccessConfig[]
[src]Optional. An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified, the instance will have an external internet access through an ephemeral external IP address.
§
network?: string
[src]Optional. The name of the VPC that this VM instance is in. Format:
projects/{project_id}/global/networks/{network_id}