Skip to main content

GetVolumeResource

Type Alias GetVolumeResource 

Source
pub type GetVolumeResource = Volume;

Aliased Type§

pub struct GetVolumeResource {
Show 16 fields pub id: String, pub crn: String, pub name: String, pub description: Option<String>, pub tags: BTreeMap<String, String>, pub volume_type: VolumeTypeName, pub size_gb: i64, pub performance: VolumePerformance, pub included_io_limits: IncludedIOLimits, pub status: VolumeStatus, pub bootable: bool, pub faults: Vec<Fault>, pub created_at: String, pub updated_at: String, pub source_image: VolumeSourceImage, pub source_snapshot: VolumeSourceSnapshot,
}

Fields§

§id: String§crn: String

Cloud Resource Name (name-based, region-scoped).

§name: String

Resource names must not start with the literal crn: prefix or be UUIDs (canonical, compact, braced, or urn:uuid: forms, in either case).

§description: Option<String>§tags: BTreeMap<String, String>§volume_type: VolumeTypeName§size_gb: i64§performance: VolumePerformance§included_io_limits: IncludedIOLimits§status: VolumeStatus§bootable: bool

Set at create time when the volume is provisioned from a bootable image. Immutable after creation.

§faults: Vec<Fault>

Active faults, newest first. Empty when healthy. Status is error if and only if an active error-severity fault exists. Resolved history is retained internally.

§created_at: String§updated_at: String§source_image: VolumeSourceImage

Source image identity, or null when this volume was not created from an image.

§source_snapshot: VolumeSourceSnapshot

Source snapshot identity, or null when not created from a snapshot.