Package org.ovirt.engine.sdk4.services
Interface AffinityLabelsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
AffinityLabelsServiceImpl
public interface AffinityLabelsService extends Service
Manages the affinity labels available in the system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AffinityLabelsService.AddRequest
Creates a new label.static interface
AffinityLabelsService.AddResponse
Creates a new label.static interface
AffinityLabelsService.ListRequest
Lists all labels present in the system.static interface
AffinityLabelsService.ListResponse
Lists all labels present in the system.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AffinityLabelsService.AddRequest
add()
Creates a new label.AffinityLabelService
labelService(String id)
Link to a single label details.AffinityLabelsService.ListRequest
list()
Lists all labels present in the system.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
AffinityLabelsService.AddRequest add()
Creates a new label. The label is automatically attached to all entities mentioned in the vms or hosts lists.
-
list
AffinityLabelsService.ListRequest list()
Lists all labels present in the system. The order of the returned labels isn't guaranteed.
-
labelService
AffinityLabelService labelService(String id)
Link to a single label details.
-
-