Package org.ovirt.engine.sdk4.services
Interface VmPoolsService.AddRequest
-
- All Superinterfaces:
Request<VmPoolsService.AddRequest,VmPoolsService.AddResponse>
- Enclosing interface:
- VmPoolsService
public static interface VmPoolsService.AddRequest extends Request<VmPoolsService.AddRequest,VmPoolsService.AddResponse>
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmPoolsService.AddRequest
pool(VmPoolBuilder pool)
Pool to add.VmPoolsService.AddRequest
pool(VmPool pool)
VmPoolsService.AddRequest
seal(Boolean seal)
Specifies if virtual machines created for the pool should be sealed after creation.
-
-
-
Method Detail
-
pool
VmPoolsService.AddRequest pool(VmPool pool)
-
pool
VmPoolsService.AddRequest pool(VmPoolBuilder pool)
Pool to add.
-
seal
VmPoolsService.AddRequest seal(Boolean seal)
Specifies if virtual machines created for the pool should be sealed after creation. If this optional parameter is provided, and its value is `true`, virtual machines created for the pool will be sealed after creation. If the value is 'false', the virtual machines will not be sealed. If the parameter is not provided, the virtual machines will be sealed, only if they are created from a sealed template and their guest OS is not set to Windows. This parameter affects only the virtual machines created when the pool is created. For example, to create a virtual machine pool with 5 virtual machines and to seal them, send a request like this: [source] ---- POST /ovirt-engine/api/vmpools?seal=true ---- With the following body: [source,xml] ----mypool 5
-
-