export
storage domain. A destination storage domain must be specified with a storage_domain
reference. By default, the export action overwrites any existing virtual machine of the same name in the destination domain. An API user changes this behaviour by setting the overwrite
parameter to true
. Finally, if snapshots of the virtual machine are not included with the exported virtual machine, the discard_snapshots
parameter is set to true
.
POST /api/vms/5114bb3e-a4e6-44b2-b783-b3eea7d84720/export HTTP/1.1 Accept: application/xml Content-type: application/xml <action> <storage_domain> <name>export1</name> </storage_domain> <overwrite>true<overwrite/> <discard_snapshots>true<discard_snapshots/> </action>