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.
§
mountOptions?: string[]
[src]Mount options vary based on the type of storage volume: * For a Cloud
Storage bucket, all the mount options provided by the gcsfuse
tool are supported. *
For an existing persistent disk, all mount options provided by the mount
command except writing
are supported. This is due to restrictions of multi-writer
mode.
- For any other disk or a Network File System (NFS), all the mount options
provided by the
mount
command are supported.