pub struct ComputeMachineOption {
pub machine: String,
pub series: String,
pub category: InstanceFamily,
pub label: String,
pub profile: MachineProfile,
pub nested_virtualization: bool,
pub local_storage: Option<u64>,
pub available: bool,
pub unavailable_reasons: Vec<MachineUnavailableReason>,
pub recommended: bool,
pub primary: bool,
}Expand description
One concrete provider machine option.
Fields§
§machine: StringProvider machine name.
series: StringProvider series the machine belongs to, such as m8i or n2-standard.
category: InstanceFamilyCategory the machine’s series belongs to.
label: StringHow the series is shown to people choosing a machine.
profile: MachineProfileMachine hardware profile.
nested_virtualization: boolWhether the machine exposes nested virtualization to guest VMs.
local_storage: Option<u64>Local instance disk the provider reports for the machine, in bytes. Absent when the machine has none and its storage is a provider disk.
available: boolWhether the machine can run this pool.
Why the machine cannot run this pool. Empty when available is true.
recommended: boolWhether this machine is the planner’s default recommendation.
primary: boolWhether the machine picker lists the series first: on AWS the current plain, d and -flex
families of the newest generation those reach in their category and processor, their bare
metal, and every GPU series; every GCP and Azure series.