pub struct GetOutputItems {Show 21 fields
pub cgroup_mode: Option<u64>,
pub content: Option<String>,
pub cpu: Option<f64>,
pub disk: Option<u64>,
pub hastate: Option<String>,
pub id: String,
pub level: Option<String>,
pub maxcpu: Option<f64>,
pub maxdisk: Option<u64>,
pub maxmem: Option<u64>,
pub mem: Option<u64>,
pub name: Option<String>,
pub node: Option<String>,
pub plugintype: Option<String>,
pub pool: Option<String>,
pub status: Option<String>,
pub storage: Option<String>,
pub ty: Type,
pub uptime: Option<u64>,
pub vmid: Option<VmId>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§cgroup_mode: Option<u64>
The cgroup mode the node operates under (when type == node).
content: Option<String>
Allowed storage content types (when type == storage).
cpu: Option<f64>
CPU utilization (when type in node,qemu,lxc).
disk: Option<u64>
Used disk space in bytes (when type in storage), used root image spave for VMs (type in qemu,lxc).
hastate: Option<String>
HA service status (for HA managed VMs).
id: String
Resource id.
level: Option<String>
Support level (when type == node).
maxcpu: Option<f64>
Number of available CPUs (when type in node,qemu,lxc).
maxdisk: Option<u64>
Storage size in bytes (when type in storage), root image size for VMs (type in qemu,lxc).
maxmem: Option<u64>
Number of available memory in bytes (when type in node,qemu,lxc).
mem: Option<u64>
Used memory in bytes (when type in node,qemu,lxc).
name: Option<String>
Name of the resource.
node: Option<String>
The cluster node name (when type in node,storage,qemu,lxc).
plugintype: Option<String>
More specific type, if available.
pool: Option<String>
The pool name (when type in pool,qemu,lxc).
status: Option<String>
Resource type dependent status.
storage: Option<String>
The storage identifier (when type == storage).
ty: Type
Resource type.
uptime: Option<u64>
Node uptime in seconds (when type in node,qemu,lxc).
vmid: Option<VmId>
The numerical vmid (when type in qemu,lxc).
additional_properties: HashMap<String, Value>
Implementations§
Trait Implementations§
Source§impl Clone for GetOutputItems
impl Clone for GetOutputItems
Source§fn clone(&self) -> GetOutputItems
fn clone(&self) -> GetOutputItems
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more