GcePersistentDisk
import type { GcePersistentDisk } from "https://googleapis.deno.dev/v1/workstations:v1.ts";
An EphemeralDirectory is backed by a Compute Engine persistent disk.
interface GcePersistentDisk {
diskType?: string;
readOnly?: boolean;
sourceImage?: string;
sourceSnapshot?: string;
}§Properties
§
readOnly?: boolean
[src]Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.
§
sourceImage?: string
[src]Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. This field is mutable.
§
sourceSnapshot?: string
[src]Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. This field is mutable.