Package org.ovirt.engine.sdk4.services
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 myhost /home/ovirt myvm.ova
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmService.ExportRequest
async(Boolean async)
Indicates if the export should be performed asynchronously.VmService.ExportRequest
discardSnapshots(Boolean discardSnapshots)
Use the `discard_snapshots` parameter when the virtual machine should be exported with all of its snapshots collapsed.VmService.ExportRequest
exclusive(Boolean exclusive)
Use the `exclusive` parameter when the virtual machine should be exported even if another copy of it already exists in the export domain (override).VmService.ExportRequest
storageDomain(StorageDomainBuilder storageDomain)
The (export) storage domain to export the virtual machine to.VmService.ExportRequest
storageDomain(StorageDomain storageDomain)
-
-
-
Method Detail
-
async
VmService.ExportRequest async(Boolean async)
Indicates if the export should be performed asynchronously.
-
discardSnapshots
VmService.ExportRequest discardSnapshots(Boolean discardSnapshots)
Use the `discard_snapshots` parameter when the virtual machine should be exported with all of its snapshots collapsed.
-
exclusive
VmService.ExportRequest exclusive(Boolean exclusive)
Use the `exclusive` parameter when the virtual machine should be exported even if another copy of it already exists in the export domain (override).
-
storageDomain
VmService.ExportRequest storageDomain(StorageDomain storageDomain)
-
storageDomain
VmService.ExportRequest storageDomain(StorageDomainBuilder storageDomain)
The (export) storage domain to export the virtual machine to.
-
-