Package org.ovirt.engine.sdk4.services
Interface AffinityGroupHostLabelsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
AffinityGroupHostLabelsServiceImpl
public interface AffinityGroupHostLabelsService extends Service
This service manages a collection of all host labels assigned to an affinity group.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AffinityGroupHostLabelsService.AddRequest
Adds a host label to the affinity group.static interface
AffinityGroupHostLabelsService.AddResponse
Adds a host label to the affinity group.static interface
AffinityGroupHostLabelsService.ListRequest
List all host labels assigned to this affinity group.static interface
AffinityGroupHostLabelsService.ListResponse
List all host labels assigned to this affinity group.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AffinityGroupHostLabelsService.AddRequest
add()
Adds a host label to the affinity group.AffinityGroupHostLabelService
labelService(String id)
Access the service that manages the host label assignment to this affinity group.AffinityGroupHostLabelsService.ListRequest
list()
List all host labels assigned to this affinity group.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
AffinityGroupHostLabelsService.AddRequest add()
Adds a host label to the affinity group. For example, to add the label `789` to the affinity group `456` of cluster `123`, send a request like this: .... POST /ovirt-engine/api/clusters/123/affinitygroups/456/hostlabels .... With the following body: [source,xml] --------
-
list
AffinityGroupHostLabelsService.ListRequest list()
List all host labels assigned to this affinity group. The order of the returned labels isn't guaranteed.
-
labelService
AffinityGroupHostLabelService labelService(String id)
Access the service that manages the host label assignment to this affinity group.
-
-