Skip to main content

GetImageResource

Type Alias GetImageResource 

Source
pub type GetImageResource = Image;

Aliased Type§

pub struct GetImageResource {
Show 21 fields pub id: String, pub crn: String, pub name: String, pub description: Option<String>, pub os: Option<String>, pub os_version: Option<String>, pub architecture: String, pub version: String, pub is_current: Option<bool>, pub eol_date: Option<String>, pub size_bytes: Option<i64>, pub min_disk_gb: Option<i64>, pub min_ram_mb: Option<i64>, pub status: ImageStatus, pub withdrawal_reason: Option<String>, pub deletion_retention: Option<ImageDeletionRetention>, pub faults: Vec<Fault>, pub tags: Option<BTreeMap<String, String>>, pub attributes: Option<BTreeMap<String, String>>, pub created_at: String, pub updated_at: String,
}

Fields§

§id: String§crn: String§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>§os: Option<String>§os_version: Option<String>§architecture: String§version: String

The build’s identity within its name. Unique there: a name is a movable tag, so it can’t also be what tells two builds apart. Stamped as a UTC timestamp when the uploader didn’t choose one.

§is_current: Option<bool>

Whether this is the version resolve-by-name returns for its (name, architecture) — i.e. the name’s current tag target.

§eol_date: Option<String>

The day this image’s OS release stops receiving free security updates for a default install. Absent when nobody has recorded one — which means unknown, not “supported indefinitely”. Platform images are withdrawn from the catalog a grace period after this date. They stay bootable by id until then, and the date is published well ahead of it so you can plan the move.

§size_bytes: Option<i64>§min_disk_gb: Option<i64>§min_ram_mb: Option<i64>§status: ImageStatus

Error exactly while an active error fault exists; import and deletion progress remain independently retryable.

§withdrawal_reason: Option<String>

Why this image was withdrawn. Present for withdrawn images, including those with an independent error fault: end_of_life for platform release withdrawal (see eol_date), or legacy for a migrated withdrawal whose original reason is unknown. Withdrawn images retain their data but cannot be launched.

§deletion_retention: Option<ImageDeletionRetention>

Present in owner list/detail responses while image deletion is waiting for existing instance, source-reservation, or instance-pool references. Counts include all referencing accounts without disclosing their identities. The backing data remains intact; cleanup resumes when references are gone. Independent faults may still set status to error.

§faults: Vec<Fault>

Active faults, newest first. Empty for a healthy image. Error faults set status to error without disabling an eligible import or cleanup retry.

§tags: Option<BTreeMap<String, String>>§attributes: Option<BTreeMap<String, String>>§created_at: String§updated_at: String