Class ExternalDiscoveredHostServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.ExternalDiscoveredHostServiceImpl
-
- All Implemented Interfaces:
Service
,ExternalDiscoveredHostService
public class ExternalDiscoveredHostServiceImpl extends ServiceImpl implements ExternalDiscoveredHostService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.ExternalDiscoveredHostService
ExternalDiscoveredHostService.GetRequest, ExternalDiscoveredHostService.GetResponse
-
-
Constructor Summary
Constructors Constructor Description ExternalDiscoveredHostServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalDiscoveredHostService.GetRequest
get()
Get discovered host info.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
-
ExternalDiscoveredHostServiceImpl
public ExternalDiscoveredHostServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public ExternalDiscoveredHostService.GetRequest get()
Description copied from interface:ExternalDiscoveredHostService
Get discovered host info. Retrieves information about an host that is managed in external provider management system, such as Foreman. The information includes hostname, address, subnet, base image and more. For example, to get the details of host `234` from provider `123`, send a request like this: .... GET /ovirt-engine/api/externalhostproviders/123/discoveredhosts/234 .... The result will be like this: [source,xml] ----mac001a4ad04040 10.34.67.43 2017-04-24 11:05:41 UTC 00:1a:4a:d0:40:40 sat0 - Specified by:
get
in interfaceExternalDiscoveredHostService
-
service
public Service service(String path)
Description copied from interface:ExternalDiscoveredHostService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceExternalDiscoveredHostService
-
-