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;
confidentialInstanceConfig?: ConfidentialInstanceConfig;
containerImage?: ContainerImage;
dataDisks?: DataDisk[];
disablePublicIp?: boolean;
enableIpForwarding?: boolean;
gpuDriverConfig?: GPUDriverConfig;
machineType?: string;
metadata?: {
[key: string]: string;
}
;
minCpuPlatform?: string;
networkInterfaces?: NetworkInterface[];
reservationAffinity?: ReservationAffinity;
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.

§
confidentialInstanceConfig?: ConfidentialInstanceConfig
[src]

Optional. Confidential instance configuration.

§
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.

§
minCpuPlatform?: string
[src]

Optional. The minimum CPU platform to use for this instance. The list of valid values can be found in https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform#availablezones

§
networkInterfaces?: NetworkInterface[]
[src]

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

§
reservationAffinity?: ReservationAffinity
[src]

Optional. Specifies the reservations that this instance can consume from.

§
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 network tags to add to runtime (see Add network tags).

§
vmImage?: VmImage
[src]

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