Class ExternalHostGroupsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.ExternalHostGroupsServiceImpl
-
- All Implemented Interfaces:
Service
,ExternalHostGroupsService
public class ExternalHostGroupsServiceImpl extends ServiceImpl implements ExternalHostGroupsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.ExternalHostGroupsService
ExternalHostGroupsService.ListRequest, ExternalHostGroupsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description ExternalHostGroupsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalHostGroupService
groupService(String id)
This service manages hostgroup instance.ExternalHostGroupsService.ListRequest
list()
Get host groups list from external host provider.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
-
ExternalHostGroupsServiceImpl
public ExternalHostGroupsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
list
public ExternalHostGroupsService.ListRequest list()
Description copied from interface:ExternalHostGroupsService
Get host groups list from external host provider. Host group is a term of host providers - the host group includes provision details. This API returns all possible hostgroups exposed by the external provider. For example, to get the details of all host groups of provider `123`, send a request like this: .... GET /ovirt-engine/api/externalhostproviders/123/hostgroups .... The response will be like this: [source,xml] ----rhel7 x86_64 example.com RedHat 7.3 sat0 - Specified by:
list
in interfaceExternalHostGroupsService
-
groupService
public ExternalHostGroupService groupService(String id)
Description copied from interface:ExternalHostGroupsService
This service manages hostgroup instance.- Specified by:
groupService
in interfaceExternalHostGroupsService
-
service
public Service service(String path)
Description copied from interface:ExternalHostGroupsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceExternalHostGroupsService
-
-