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

Volume

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

Volume describes a volume and parameters for it to be mounted to a VM.

interface Volume {
deviceName?: string;
gcs?: GCS;
mountOptions?: string[];
mountPath?: string;
nfs?: NFS;
}

§Properties

§
deviceName?: string
[src]

Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.

§
gcs?: GCS
[src]

A Google Cloud Storage (GCS) volume.

§
mountOptions?: string[]
[src]

For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).

§
mountPath?: string
[src]

The mount path for the volume, e.g. /mnt/disks/share.

§
nfs?: NFS
[src]

A Network File System (NFS) volume. For example, a Filestore file share.