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

GceSetup

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

The definition of how to configure a VM instance outside of Resources and Identity.

interface GceSetup {
acceleratorConfigs?: AcceleratorConfig[];
bootDisk?: BootDisk;
containerImage?: ContainerImage;
dataDisks?: DataDisk[];
disablePublicIp?: boolean;
enableIpForwarding?: boolean;
gpuDriverConfig?: GPUDriverConfig;
machineType?: string;
metadata?: {
[key: string]: string;
}
;
networkInterfaces?: NetworkInterface[];
serviceAccounts?: ServiceAccount[];
shieldedInstanceConfig?: ShieldedInstanceConfig;
tags?: string[];
vmImage?: VmImage;
}

§Properties

§
acceleratorConfigs?: AcceleratorConfig[]
[src]

Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has enough vCPUs and memory to support the machine_type you have selected. Currently supports only one accelerator configuration.

§
bootDisk?: BootDisk
[src]

Optional. The boot disk for the VM.

§
containerImage?: ContainerImage
[src]

Optional. Use a container image to start the notebook instance.

§
dataDisks?: DataDisk[]
[src]

Optional. Data disks attached to the VM instance. Currently supports only one data disk.

§
disablePublicIp?: boolean
[src]

Optional. If true, no external IP will be assigned to this VM instance.

§
enableIpForwarding?: boolean
[src]

Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward

§
gpuDriverConfig?: GPUDriverConfig
[src]

Optional. Configuration for GPU drivers.

§
machineType?: string
[src]

Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource

§
metadata?: {
[key: string]: string;
}
[src]

Optional. Custom metadata to apply to this instance.

§
networkInterfaces?: NetworkInterface[]
[src]

Optional. The network interfaces for the VM. Supports only one interface.

§
serviceAccounts?: ServiceAccount[]
[src]

Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.

§
shieldedInstanceConfig?: ShieldedInstanceConfig
[src]

Optional. Shielded VM configuration. Images using supported Shielded VM features.

§
tags?: string[]
[src]

Optional. The Compute Engine tags to add to runtime (see Tagging instances).

§
vmImage?: VmImage
[src]

Optional. Use a Compute Engine VM image to start the notebook instance.