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/baremetalsolution:v2.ts";

A storage volume.

interface Volume {
readonly attached?: boolean;
autoGrownSizeGib?: bigint;
readonly bootVolume?: boolean;
currentSizeGib?: bigint;
emergencySizeGib?: bigint;
readonly expireTime?: Date;
id?: string;
readonly instances?: string[];
labels?: {
[key: string]: string;
}
;
maxSizeGib?: bigint;
readonly name?: string;
notes?: string;
originallyRequestedSizeGib?: bigint;
performanceTier?:
| "VOLUME_PERFORMANCE_TIER_UNSPECIFIED"
| "VOLUME_PERFORMANCE_TIER_SHARED"
| "VOLUME_PERFORMANCE_TIER_ASSIGNED"
| "VOLUME_PERFORMANCE_TIER_HT"
| "VOLUME_PERFORMANCE_TIER_QOS2_PERFORMANCE";
pod?: string;
readonly protocol?: "PROTOCOL_UNSPECIFIED" | "FIBRE_CHANNEL" | "NFS";
remainingSpaceGib?: bigint;
requestedSizeGib?: bigint;
snapshotAutoDeleteBehavior?:
| "SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED"
| "DISABLED"
| "OLDEST_FIRST"
| "NEWEST_FIRST";
snapshotEnabled?: boolean;
snapshotReservationDetail?: SnapshotReservationDetail;
state?:
| "STATE_UNSPECIFIED"
| "CREATING"
| "READY"
| "DELETING"
| "UPDATING"
| "COOL_OFF";
storageType?: "STORAGE_TYPE_UNSPECIFIED" | "SSD" | "HDD";
workloadProfile?: "WORKLOAD_PROFILE_UNSPECIFIED" | "GENERIC" | "HANA";
}

§Properties

§
readonly attached?: boolean
[src]

Output only. Is the Volume attached at at least one instance. This field is a lightweight counterpart of instances field. It is filled in List responses as well.

§
autoGrownSizeGib?: bigint
[src]

The size, in GiB, that this storage volume has expanded as a result of an auto grow policy. In the absence of auto-grow, the value is 0.

§
readonly bootVolume?: boolean
[src]

Output only. Whether this volume is a boot volume. A boot volume is one which contains a boot LUN.

§
currentSizeGib?: bigint
[src]

The current size of this storage volume, in GiB, including space reserved for snapshots. This size might be different than the requested size if the storage volume has been configured with auto grow or auto shrink.

§
emergencySizeGib?: bigint
[src]

Additional emergency size that was requested for this Volume, in GiB. current_size_gib includes this value.

§
readonly expireTime?: Date
[src]

Output only. Time after which volume will be fully deleted. It is filled only for volumes in COOLOFF state.

§
id?: string
[src]

An identifier for the Volume, generated by the backend.

§
readonly instances?: string[]
[src]

Output only. Instances this Volume is attached to. This field is set only in Get requests.

§
labels?: {
[key: string]: string;
}
[src]

Labels as key value pairs.

§
maxSizeGib?: bigint
[src]

Maximum size volume can be expanded to in case of evergency, in GiB.

§
readonly name?: string
[src]

Output only. The resource name of this Volume. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/volumes/{volume}

§
notes?: string
[src]

Input only. User-specified notes for new Volume. Used to provision Volumes that require manual intervention.

§
originallyRequestedSizeGib?: bigint
[src]

Originally requested size, in GiB.

§
performanceTier?: "VOLUME_PERFORMANCE_TIER_UNSPECIFIED" | "VOLUME_PERFORMANCE_TIER_SHARED" | "VOLUME_PERFORMANCE_TIER_ASSIGNED" | "VOLUME_PERFORMANCE_TIER_HT" | "VOLUME_PERFORMANCE_TIER_QOS2_PERFORMANCE"
[src]

Immutable. Performance tier of the Volume. Default is SHARED.

§
pod?: string
[src]

Immutable. Pod name. Pod is an independent part of infrastructure. Volume can only be connected to the instances allocated in the same pod.

§
readonly protocol?: "PROTOCOL_UNSPECIFIED" | "FIBRE_CHANNEL" | "NFS"
[src]

Output only. Storage protocol for the Volume.

§
remainingSpaceGib?: bigint
[src]

The space remaining in the storage volume for new LUNs, in GiB, excluding space reserved for snapshots.

§
requestedSizeGib?: bigint
[src]

The requested size of this storage volume, in GiB.

§
snapshotAutoDeleteBehavior?: "SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED" | "DISABLED" | "OLDEST_FIRST" | "NEWEST_FIRST"
[src]

The behavior to use when snapshot reserved space is full.

§
snapshotEnabled?: boolean
[src]

Whether snapshots are enabled.

§
snapshotReservationDetail?: SnapshotReservationDetail
[src]

Details about snapshot space reservation and usage on the storage volume.

§
state?: "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING" | "UPDATING" | "COOL_OFF"
[src]

The state of this storage volume.

§
storageType?: "STORAGE_TYPE_UNSPECIFIED" | "SSD" | "HDD"
[src]

The storage type for this volume.

§
workloadProfile?: "WORKLOAD_PROFILE_UNSPECIFIED" | "GENERIC" | "HANA"
[src]

The workload profile for the volume.