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

InstancePolicy

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

InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.

interface InstancePolicy {
accelerators?: Accelerator[];
bootDisk?: Disk;
disks?: AttachedDisk[];
machineType?: string;
minCpuPlatform?: string;
provisioningModel?:
| "PROVISIONING_MODEL_UNSPECIFIED"
| "STANDARD"
| "SPOT"
| "PREEMPTIBLE";
reservation?: string;
}

§Properties

§
accelerators?: Accelerator[]
[src]

The accelerators attached to each VM instance.

§
bootDisk?: Disk
[src]

Boot disk to be created and attached to each VM by this InstancePolicy. Boot disk will be deleted when the VM is deleted. Batch API now only supports booting from image.

§

Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted. A non-boot disk is a disk that can be of a device with a file system or a raw storage drive that is not ready for data storage and accessing.

§
machineType?: string
[src]

The Compute Engine machine type.

§
minCpuPlatform?: string
[src]
§
provisioningModel?: "PROVISIONING_MODEL_UNSPECIFIED" | "STANDARD" | "SPOT" | "PREEMPTIBLE"
[src]

The provisioning model.

§
reservation?: string
[src]

Optional. If not specified (default), VMs will consume any applicable reservation. If "NO_RESERVATION" is specified, VMs will not consume any reservation. Otherwise, if specified, VMs will consume only the specified reservation.