Skip to main content

AttachInstanceVolumeBody

Type Alias AttachInstanceVolumeBody 

Source
pub type AttachInstanceVolumeBody = AttachInstanceVolumeRequest;

Aliased Type§

pub struct AttachInstanceVolumeBody {
    pub volume: String,
    pub device: Option<String>,
    pub mount_path: Option<String>,
    pub fstype: Option<AttachInstanceVolumeRequestFstype>,
}

Fields§

§volume: String

Account-scoped volume reference (UUID, CRN or exact name).

§device: Option<String>

Optional device-name override; auto-picks the next free slot (vdb/vdc/…) when omitted.

§mount_path: Option<String>

When set, the in-guest agent formats the disk (only if blank) and mounts it at this path. Empty attaches the block device only.

§fstype: Option<AttachInstanceVolumeRequestFstype>

Filesystem the in-guest agent formats the disk with, and only when mount_path is set and the disk is blank. Rejected with 400 if it is neither value.