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

SavedAttachedDisk

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

DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource.

interface SavedAttachedDisk {
autoDelete?: boolean;
boot?: boolean;
deviceName?: string;
diskEncryptionKey?: CustomerEncryptionKey;
diskSizeGb?: bigint;
diskType?: string;
guestOsFeatures?: GuestOsFeature[];
index?: number;
interface?: "NVME" | "SCSI";
kind?: string;
licenses?: string[];
mode?: "READ_ONLY" | "READ_WRITE";
source?: string;
storageBytes?: bigint;
storageBytesStatus?: "UPDATING" | "UP_TO_DATE";
type?: "PERSISTENT" | "SCRATCH";
}

§Properties

§
autoDelete?: boolean
[src]

Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).

§
boot?: boolean
[src]

Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.

§
deviceName?: string
[src]

Specifies the name of the disk attached to the source instance.

§
diskEncryptionKey?: CustomerEncryptionKey
[src]

The encryption key for the disk.

§
diskSizeGb?: bigint
[src]

The size of the disk in base-2 GB.

§
diskType?: string
[src]

[Output Only] URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd

§
guestOsFeatures?: GuestOsFeature[]
[src]

A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.

§
index?: number
[src]

Specifies zero-based index of the disk that is attached to the source instance.

§
interface?: "NVME" | "SCSI"
[src]

Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.

§
kind?: string
[src]

[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.

§
licenses?: string[]
[src]

[Output Only] Any valid publicly visible licenses.

§
mode?: "READ_ONLY" | "READ_WRITE"
[src]

The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.

§
source?: string
[src]

Specifies a URL of the disk attached to the source instance.

§
storageBytes?: bigint
[src]

[Output Only] A size of the storage used by the disk's snapshot by this machine image.

§
storageBytesStatus?: "UPDATING" | "UP_TO_DATE"
[src]

[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.

§
type?: "PERSISTENT" | "SCRATCH"
[src]

Specifies the type of the attached disk, either SCRATCH or PERSISTENT.