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

NewSpotInstancesConfig

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

When set in a ComputeResourceConfig, indicates that spot VM instances should be created.

interface NewSpotInstancesConfig {
machineType?: string;
terminationAction?: "TERMINATION_ACTION_UNSPECIFIED" | "STOP" | "DELETE";
zone?: string;
}

§Properties

§
machineType?: string
[src]

Required. Immutable. Name of the Compute Engine machine type to use, e.g. n2-standard-2.

§
terminationAction?: "TERMINATION_ACTION_UNSPECIFIED" | "STOP" | "DELETE"
[src]

Optional. Specifies the termination action of the instance

§
zone?: string
[src]

Required. Immutable. Name of the zone in which VM instances should run, e.g., us-central1-a. Must be in the same region as the cluster, and must match the zone of any other resources specified in the cluster.