pub enum ObjectType {
Show 20 variants
GpuGroup,
Host,
Message,
Network,
Pbd,
Pci,
Pgpu,
Pif,
Pool,
Sr,
Task,
Vbd,
Vdi,
VdiSnapshot,
VdiUnmanaged,
Vif,
Vm,
VmController,
VmSnapshot,
VmTemplate,
}
Expand description
Object type
This is most often used with [crate::Client::get_objects_of_type
] to specify what type
of objects to fetch
NOTE: This is only checked by running
xo-cli --list-objects --type | grep type | sort | uniq
on an existing XO-setup. Thus there may be more types
Variants§
GpuGroup
Host
A virualization host, likely XCP-ng or similar
Message
Network
Pbd
Pci
Pgpu
Physical graphics card
Pif
Physical network interface of a host
Pool
Pool of hosts
Sr
Storage repository - Place where the disks of VMs are stored (Self::Vdi
s)
Task
Vbd
Vdi
Virtual disk, the disks of virtual machines
VdiSnapshot
VdiUnmanaged
Vif
Virtual network interface of a VM
Vm
A virtual machine
VmController
VmSnapshot
Snapshot of a VM
VmTemplate
Virtual machine template, used to easily create preconfigured VMs
Trait Implementations§
Source§impl Debug for ObjectType
impl Debug for ObjectType
Source§impl From<ObjectType> for JsonValue
impl From<ObjectType> for JsonValue
Source§fn from(val: ObjectType) -> Self
fn from(val: ObjectType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ObjectType
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more