Class ExternalComputeResourcesServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.ExternalComputeResourcesServiceImpl
-
- All Implemented Interfaces:
Service
,ExternalComputeResourcesService
public class ExternalComputeResourcesServiceImpl extends ServiceImpl implements ExternalComputeResourcesService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.ExternalComputeResourcesService
ExternalComputeResourcesService.ListRequest, ExternalComputeResourcesService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description ExternalComputeResourcesServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalComputeResourcesService.ListRequest
list()
Retrieves a list of external compute resources.ExternalComputeResourceService
resourceService(String id)
This service manages compute resource instanceService
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
-
ExternalComputeResourcesServiceImpl
public ExternalComputeResourcesServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
list
public ExternalComputeResourcesService.ListRequest list()
Description copied from interface:ExternalComputeResourcesService
Retrieves a list of external compute resources. For example, to retrieve the compute resources of external host provider `123`, send a request like this: .... GET /ovirt-engine/api/externalhostproviders/123/computeresources .... It will return a response like this: [source,xml] ----hostname oVirt https://address/api admin@internal - Specified by:
list
in interfaceExternalComputeResourcesService
-
resourceService
public ExternalComputeResourceService resourceService(String id)
Description copied from interface:ExternalComputeResourcesService
This service manages compute resource instance- Specified by:
resourceService
in interfaceExternalComputeResourcesService
-
service
public Service service(String path)
Description copied from interface:ExternalComputeResourcesService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceExternalComputeResourcesService
-
-