Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using the virtual datacenter ID, retrieve all virtual appliances.  Documentation for List virtual appliances.See https://wiki.abiquo.com/api/latest/VirtualAppliancesResource.html#list-virtual-appliances

Then retrieve the virtual appliance that the VM will be captured into. 

...

Retrieve all the virtual machines from the hypervisor, using sync=true. Identify the required virtual machine. Obtain  Obtain a flat representation of the virtual machine that includes the disks and network interface details (MAC address and sequence number).

Code Block
curl --verbose -u admin:xabiquo -X GET https://38testing.bcn.abiquo.com/api/admin/datacenters/4/racks/4/machines/82/virtualmachines/2120?sync=true -H accept:application/vnd.abiquo.virtualmachinesflat+json;version=3.8

...