Class ExternalVmImportsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.ExternalVmImportsServiceImpl
-
- All Implemented Interfaces:
Service
,ExternalVmImportsService
public class ExternalVmImportsServiceImpl extends ServiceImpl implements ExternalVmImportsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.ExternalVmImportsService
ExternalVmImportsService.AddRequest, ExternalVmImportsService.AddResponse
-
-
Constructor Summary
Constructors Constructor Description ExternalVmImportsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalVmImportsService.AddRequest
add()
This operation is used to import a virtual machine from external hypervisor, such as KVM, XEN or VMware.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
ExternalVmImportsServiceImpl
public ExternalVmImportsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public ExternalVmImportsService.AddRequest add()
Description copied from interface:ExternalVmImportsService
This operation is used to import a virtual machine from external hypervisor, such as KVM, XEN or VMware. For example import of a virtual machine from VMware can be facilitated using the following request: [source] ---- POST /externalvmimports ---- With request body of type <>, for example: [source,xml] ---- my_vm vm_name_as_is_in_vmware true vmware_user 123456 VMWARE vpx://wmware_user@vcenter-host/DataCenter/Cluster/esxi-host?no_verify=1 - Specified by:
add
in interfaceExternalVmImportsService
-
service
public Service service(String path)
Description copied from interface:ExternalVmImportsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceExternalVmImportsService
-
-