Package org.ovirt.engine.sdk4.services
Interface AffinityGroupVmLabelsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
AffinityGroupVmLabelsServiceImpl
public interface AffinityGroupVmLabelsService extends Service
This service manages a collection of all virtual machine labels assigned to an affinity group.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AffinityGroupVmLabelsService.AddRequest
Adds a virtual machine label to the affinity group.static interface
AffinityGroupVmLabelsService.AddResponse
Adds a virtual machine label to the affinity group.static interface
AffinityGroupVmLabelsService.ListRequest
List all virtual machine labels assigned to this affinity group.static interface
AffinityGroupVmLabelsService.ListResponse
List all virtual machine labels assigned to this affinity group.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AffinityGroupVmLabelsService.AddRequest
add()
Adds a virtual machine label to the affinity group.AffinityGroupVmLabelService
labelService(String id)
Access the service that manages the virtual machine label assignment to this affinity group.AffinityGroupVmLabelsService.ListRequest
list()
List all virtual machine 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
AffinityGroupVmLabelsService.AddRequest add()
Adds a virtual machine 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/vmlabels .... With the following body: [source,xml] --------
-
list
AffinityGroupVmLabelsService.ListRequest list()
List all virtual machine labels assigned to this affinity group. The order of the returned labels isn't guaranteed.
-
labelService
AffinityGroupVmLabelService labelService(String id)
Access the service that manages the virtual machine label assignment to this affinity group.
-
-