Package org.ovirt.engine.sdk4.services
Interface AffinityGroupsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
AffinityGroupsServiceImpl
public interface AffinityGroupsService extends Service
The affinity groups service manages virtual machine relationships and dependencies.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AffinityGroupsService.AddRequest
Create a new affinity group.static interface
AffinityGroupsService.AddResponse
Create a new affinity group.static interface
AffinityGroupsService.ListRequest
List existing affinity groups.static interface
AffinityGroupsService.ListResponse
List existing affinity groups.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AffinityGroupsService.AddRequest
add()
Create a new affinity group.AffinityGroupService
groupService(String id)
Access the affinity group service that manages the affinity group specified by an ID.AffinityGroupsService.ListRequest
list()
List existing affinity groups.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
AffinityGroupsService.AddRequest add()
Create a new affinity group. Post a request like in the example below to create a new affinity group: [source] ---- POST /ovirt-engine/api/clusters/000-000/affinitygroups ---- And use the following example in its body: [source,xml] ----AF_GROUP_001 true true false
-
list
AffinityGroupsService.ListRequest list()
List existing affinity groups. The order of the affinity groups results isn't guaranteed.
-
groupService
AffinityGroupService groupService(String id)
Access the affinity group service that manages the affinity group specified by an ID.
-
-