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