Package org.ovirt.engine.sdk4.services
Interface AffinityLabelHostsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
AffinityLabelHostsServiceImpl
public interface AffinityLabelHostsService extends Service
This service represents list of hosts that have a specific label when accessed through the affinitylabels/hosts subcollection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AffinityLabelHostsService.AddRequest
Add a label to a host.static interface
AffinityLabelHostsService.AddResponse
Add a label to a host.static interface
AffinityLabelHostsService.ListRequest
List all hosts with the label.static interface
AffinityLabelHostsService.ListResponse
List all hosts with the label.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AffinityLabelHostsService.AddRequest
add()
Add a label to a host.AffinityLabelHostService
hostService(String id)
A link to the specific label-host assignment to allow label removal.AffinityLabelHostsService.ListRequest
list()
List all hosts with the label.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
AffinityLabelHostsService.AddRequest add()
Add a label to a host.
-
list
AffinityLabelHostsService.ListRequest list()
List all hosts with the label. The order of the returned hosts isn't guaranteed.
-
hostService
AffinityLabelHostService hostService(String id)
A link to the specific label-host assignment to allow label removal.
-
-