Struct xo_api_client::api::vm::VmProcedures[][src]

pub struct VmProcedures { /* fields omitted */ }

Implementations

This function will try to initiate a soft restart of the VM The there is no guarantee that the VM has started once the returned future resolves

xo-cli: vm.restart id= [force=]

Create snapshot of the specified VM

save_memory: Should the RAM memory of the VM be saved? Setting this to true does make the snapshot take a lot more time, may even freeze the VM for some time. If you are unsure, set this to false

xo-cli: vm.snapshot [description=] id= [name=] [saveMemory=]

Roll back Vm to an earlier snapshot

xo-cli: vm.revert snapshot=

This may be used for deleting snapshots as well as entire VMs, so be careful!

xo-cli: vm.delete id=

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.