Package org.ovirt.engine.sdk4.services
Interface VmService.ExportToPathOnHostRequest
-
- All Superinterfaces:
Request<VmService.ExportToPathOnHostRequest,VmService.ExportToPathOnHostResponse>
- Enclosing interface:
- VmService
public static interface VmService.ExportToPathOnHostRequest extends Request<VmService.ExportToPathOnHostRequest,VmService.ExportToPathOnHostResponse>
Exports a virtual machine as an OVA file to a given path on a specified host.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmService.ExportToPathOnHostRequest
async(Boolean async)
Indicates if the export should be performed asynchronously.VmService.ExportToPathOnHostRequest
directory(String directory)
An absolute path of a directory on the host to generate the OVA file in.VmService.ExportToPathOnHostRequest
discardSnapshots(Boolean discardSnapshots)
Use the `discard_snapshots` parameter when the virtual machine should be exported with all of its snapshots collapsed.VmService.ExportToPathOnHostRequest
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.ExportToPathOnHostRequest
filename(String filename)
The name of the OVA file.VmService.ExportToPathOnHostRequest
host(HostBuilder host)
The host to generate the OVA file on.VmService.ExportToPathOnHostRequest
host(Host host)
VmService.ExportToPathOnHostRequest
storageDomain(StorageDomainBuilder storageDomain)
The (export) storage domain to export the virtual machine to.VmService.ExportToPathOnHostRequest
storageDomain(StorageDomain storageDomain)
-
-
-
Method Detail
-
async
VmService.ExportToPathOnHostRequest async(Boolean async)
Indicates if the export should be performed asynchronously.
-
directory
VmService.ExportToPathOnHostRequest directory(String directory)
An absolute path of a directory on the host to generate the OVA file in.
-
discardSnapshots
VmService.ExportToPathOnHostRequest discardSnapshots(Boolean discardSnapshots)
Use the `discard_snapshots` parameter when the virtual machine should be exported with all of its snapshots collapsed.
-
exclusive
VmService.ExportToPathOnHostRequest 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).
-
filename
VmService.ExportToPathOnHostRequest filename(String filename)
The name of the OVA file. This is an optional parameter, if it is not specified then the name of OVA file is determined according to the name of the virtual machine. It will conform the following pattern: ".ova".
-
host
VmService.ExportToPathOnHostRequest host(Host host)
-
host
VmService.ExportToPathOnHostRequest host(HostBuilder host)
The host to generate the OVA file on.
-
storageDomain
VmService.ExportToPathOnHostRequest storageDomain(StorageDomain storageDomain)
-
storageDomain
VmService.ExportToPathOnHostRequest storageDomain(StorageDomainBuilder storageDomain)
The (export) storage domain to export the virtual machine to.
-
-