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

VolumeConfig

import type { VolumeConfig } from "https://googleapis.deno.dev/v1/baremetalsolution:v2.ts";

Configuration parameters for a new volume.

interface VolumeConfig {
gcpService?: string;
id?: string;
lunRanges?: LunRange[];
machineIds?: string[];
readonly name?: string;
nfsExports?: NfsExport[];
performanceTier?:
| "VOLUME_PERFORMANCE_TIER_UNSPECIFIED"
| "VOLUME_PERFORMANCE_TIER_SHARED"
| "VOLUME_PERFORMANCE_TIER_ASSIGNED"
| "VOLUME_PERFORMANCE_TIER_HT"
| "VOLUME_PERFORMANCE_TIER_QOS2_PERFORMANCE";
protocol?: "PROTOCOL_UNSPECIFIED" | "PROTOCOL_FC" | "PROTOCOL_NFS";
sizeGb?: number;
snapshotsEnabled?: boolean;
type?: "TYPE_UNSPECIFIED" | "FLASH" | "DISK";
userNote?: string;
}

§Properties

§
gcpService?: string
[src]

The GCP service of the storage volume. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.

§
id?: string
[src]

A transient unique identifier to identify a volume within an ProvisioningConfig request.

§
lunRanges?: LunRange[]
[src]

LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.

§
machineIds?: string[]
[src]

Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.

§
readonly name?: string
[src]

Output only. The name of the volume config.

§
nfsExports?: NfsExport[]
[src]

NFS exports. Set only when protocol is PROTOCOL_NFS.

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

Performance tier of the Volume. Default is SHARED.

§
protocol?: "PROTOCOL_UNSPECIFIED" | "PROTOCOL_FC" | "PROTOCOL_NFS"
[src]

Volume protocol.

§
sizeGb?: number
[src]

The requested size of this volume, in GB.

§
snapshotsEnabled?: boolean
[src]

Whether snapshots should be enabled.

§
type?: "TYPE_UNSPECIFIED" | "FLASH" | "DISK"
[src]

The type of this Volume.

§
userNote?: string
[src]

User note field, it can be used by customers to add additional information for the BMS Ops team .