Package org.ovirt.engine.sdk4.services
Interface InstanceTypeService.UpdateRequest
-
- All Superinterfaces:
Request<InstanceTypeService.UpdateRequest,InstanceTypeService.UpdateResponse>
- Enclosing interface:
- InstanceTypeService
public static interface InstanceTypeService.UpdateRequest extends Request<InstanceTypeService.UpdateRequest,InstanceTypeService.UpdateResponse>
Update a specific instance type and it's attributes. All the attributes are editable after creation. If a virtual machine was created using an instance type X and some configuration in instance type X was updated, the virtual machine's configuration will be updated automatically by the engine. [source] ---- PUT /ovirt-engine/api/instancetypes/123 ---- For example, to update the memory of instance type `123` to 1 GiB and set the cpu topology to 2 sockets and 1 core, send a request like this: [source, xml] ----1073741824 1 2 1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceTypeService.UpdateRequest
async(Boolean async)
Indicates if the update should be performed asynchronously.InstanceTypeService.UpdateRequest
instanceType(InstanceTypeBuilder instanceType)
InstanceTypeService.UpdateRequest
instanceType(InstanceType instanceType)
-
-
-
Method Detail
-
async
InstanceTypeService.UpdateRequest async(Boolean async)
Indicates if the update should be performed asynchronously.
-
instanceType
InstanceTypeService.UpdateRequest instanceType(InstanceType instanceType)
-
instanceType
InstanceTypeService.UpdateRequest instanceType(InstanceTypeBuilder instanceType)
-
-