Class ExternalTemplateImportsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.ExternalTemplateImportsServiceImpl
-
- All Implemented Interfaces:
Service
,ExternalTemplateImportsService
public class ExternalTemplateImportsServiceImpl extends ServiceImpl implements ExternalTemplateImportsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.ExternalTemplateImportsService
ExternalTemplateImportsService.AddRequest, ExternalTemplateImportsService.AddResponse
-
-
Constructor Summary
Constructors Constructor Description ExternalTemplateImportsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalTemplateImportsService.AddRequest
add()
This operation is used to import a template from external hypervisor.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
-
ExternalTemplateImportsServiceImpl
public ExternalTemplateImportsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public ExternalTemplateImportsService.AddRequest add()
Description copied from interface:ExternalTemplateImportsService
This operation is used to import a template from external hypervisor. For example import of a template OVA can be facilitated using the following request: [source] ---- POST /externaltemplateimports ---- With request body of type <>, for example: [source,xml] ---- my_template ova:///mnt/ova/ova_template.ova - Specified by:
add
in interfaceExternalTemplateImportsService
-
service
public Service service(String path)
Description copied from interface:ExternalTemplateImportsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceExternalTemplateImportsService
-
-