Enum xo_api_client::ObjectType[][src]

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::Vdis)

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

Formats the value using the given formatter. Read more

Performs the conversion.

Converts the given value to a String. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.