Package org.ovirt.engine.sdk4.services
Interface InstanceTypesService.AddRequest
-
- All Superinterfaces:
Request<InstanceTypesService.AddRequest,InstanceTypesService.AddResponse>
- Enclosing interface:
- InstanceTypesService
public static interface InstanceTypesService.AddRequest extends Request<InstanceTypesService.AddRequest,InstanceTypesService.AddResponse>
Creates a new instance type. This requires only a name attribute and can include all hardware configurations of the virtual machine. [source] ---- POST /ovirt-engine/api/instancetypes ---- With a request body like this: [source,xml] ----myinstancetype ---- Creating an instance type with all hardware configurations with a request body like this: [source,xml] ----myinstancetype true 2 2 1 AMD Opteron_G2 q35 1 true true spice true 1 2 4294967296 true 268435456 inherit inherit 2 hd 200 2 true true native true
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceTypesService.AddRequest
instanceType(InstanceTypeBuilder instanceType)
InstanceTypesService.AddRequest
instanceType(InstanceType instanceType)
-
-
-
Method Detail
-
instanceType
InstanceTypesService.AddRequest instanceType(InstanceType instanceType)
-
instanceType
InstanceTypesService.AddRequest instanceType(InstanceTypeBuilder instanceType)
-
-