Package org.ovirt.engine.sdk4.services
Interface VmPoolsService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
VmPoolsServiceImpl
public interface VmPoolsService extends Service
Provides read-write access to virtual machines pools.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
VmPoolsService.AddRequest
Creates a new virtual machine pool.static interface
VmPoolsService.AddResponse
Creates a new virtual machine pool.static interface
VmPoolsService.ListRequest
Get a list of available virtual machines pools.static interface
VmPoolsService.ListResponse
Get a list of available virtual machines pools.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmPoolsService.AddRequest
add()
Creates a new virtual machine pool.VmPoolsService.ListRequest
list()
Get a list of available virtual machines pools.VmPoolService
poolService(String id)
Reference to the service that manages a specific virtual machine pool.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
VmPoolsService.AddRequest add()
Creates a new virtual machine pool. A new pool requires the `name`, `cluster` and `template` attributes. Identify the cluster and template with the `id` or `name` nested attributes: [source] ---- POST /ovirt-engine/api/vmpools ---- With the following body: [source,xml] ----mypool
-
list
VmPoolsService.ListRequest list()
Get a list of available virtual machines pools. [source] ---- GET /ovirt-engine/api/vmpools ---- You will receive the following response: [source,xml] ----... ...
-
poolService
VmPoolService poolService(String id)
Reference to the service that manages a specific virtual machine pool.
-
-