Package org.ovirt.engine.sdk4.services
Interface VmPoolService.UpdateRequest
-
- All Superinterfaces:
Request<VmPoolService.UpdateRequest,VmPoolService.UpdateResponse>
- Enclosing interface:
- VmPoolService
public static interface VmPoolService.UpdateRequest extends Request<VmPoolService.UpdateRequest,VmPoolService.UpdateResponse>
Update the virtual machine pool. [source] ---- PUT /ovirt-engine/api/vmpools/123 ---- The `name`, `description`, `size`, `prestarted_vms` and `max_user_vms` attributes can be updated after the virtual machine pool has been created. [source,xml] ----VM_Pool_B Virtual Machine Pool B 3 1 2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmPoolService.UpdateRequest
async(Boolean async)
Indicates if the update should be performed asynchronously.VmPoolService.UpdateRequest
pool(VmPoolBuilder pool)
The virtual machine pool that is being updated.VmPoolService.UpdateRequest
pool(VmPool pool)
VmPoolService.UpdateRequest
seal(Boolean seal)
Specifies if virtual machines created for the pool should be sealed after creation.
-
-
-
Method Detail
-
async
VmPoolService.UpdateRequest async(Boolean async)
Indicates if the update should be performed asynchronously.
-
pool
VmPoolService.UpdateRequest pool(VmPool pool)
-
pool
VmPoolService.UpdateRequest pool(VmPoolBuilder pool)
The virtual machine pool that is being updated.
-
seal
VmPoolService.UpdateRequest 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 updated. For example, to update a virtual machine pool and to seal the additional virtual machines that are created, send a request like this: [source] ---- PUT /ovirt-engine/api/vmpools/123?seal=true ---- With the following body: [source,xml] ----VM_Pool_B Virtual Machine Pool B 7
-
-