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.
    • 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] ---- ----
      • vmService

        AffinityGroupVmService vmService​(String id)
        Access the service that manages the virtual machine assignment to this affinity group.
      • service

        Service service​(String path)
        Service locator method, returns individual service on which the URI is dispatched.