Interface VmService.ExportRequest

  • All Superinterfaces:
    Request<VmService.ExportRequest,​VmService.ExportResponse>
    Enclosing interface:
    VmService

    public static interface VmService.ExportRequest
    extends Request<VmService.ExportRequest,​VmService.ExportResponse>
    Exports the virtual machine. A virtual machine can be exported to an export domain. For example, to export virtual machine `123` to the export domain `myexport`: [source] ---- POST /ovirt-engine/api/vms/123/export ---- With a request body like this: [source,xml] ---- myexport true true ---- Since version 4.2 of the engine it is also possible to export a virtual machine as a virtual appliance (OVA). For example, to export virtual machine `123` as an OVA file named `myvm.ova` that is placed in the directory `/home/ovirt/` on host `myhost`: [source] ---- POST /ovirt-engine/api/vms/123/export ---- With a request body like this: [source,xml] ---- myhost /home/ovirt myvm.ova ---- NOTE: Confirm that the export operation has completed before attempting any actions on the export domain.