Class ExternalDiscoveredHostsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.ExternalDiscoveredHostsServiceImpl
-
- All Implemented Interfaces:
Service
,ExternalDiscoveredHostsService
public class ExternalDiscoveredHostsServiceImpl extends ServiceImpl implements ExternalDiscoveredHostsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.ExternalDiscoveredHostsService
ExternalDiscoveredHostsService.ListRequest, ExternalDiscoveredHostsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description ExternalDiscoveredHostsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalDiscoveredHostService
hostService(String id)
ExternalDiscoveredHostsService.ListRequest
list()
Get list of discovered hosts' information.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
-
ExternalDiscoveredHostsServiceImpl
public ExternalDiscoveredHostsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
list
public ExternalDiscoveredHostsService.ListRequest list()
Description copied from interface:ExternalDiscoveredHostsService
Get list of discovered hosts' information. Discovered hosts are fetched from third-party providers such as Foreman. To list all discovered hosts for provider `123` send the following: [source] ---- GET /ovirt-engine/api/externalhostproviders/123/discoveredhost ---- [source,xml] ----mac001a4ad04031 10.34.67.42 2017-04-24 11:05:41 UTC 00:1a:4a:d0:40:31 sat0 mac001a4ad04040 10.34.67.43 2017-04-24 11:05:41 UTC 00:1a:4a:d0:40:40 sat0 - Specified by:
list
in interfaceExternalDiscoveredHostsService
-
hostService
public ExternalDiscoveredHostService hostService(String id)
- Specified by:
hostService
in interfaceExternalDiscoveredHostsService
-
service
public Service service(String path)
Description copied from interface:ExternalDiscoveredHostsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceExternalDiscoveredHostsService
-
-