Package org.ovirt.engine.sdk4.services
Interface InstanceTypeService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
InstanceTypeServiceImpl
public interface InstanceTypeService extends Service
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
InstanceTypeService.GetRequest
Get a specific instance type and it's attributes.static interface
InstanceTypeService.GetResponse
Get a specific instance type and it's attributes.static interface
InstanceTypeService.RemoveRequest
Removes a specific instance type from the system.static interface
InstanceTypeService.RemoveResponse
Removes a specific instance type from the system.static interface
InstanceTypeService.UpdateRequest
Update a specific instance type and it's attributes.static interface
InstanceTypeService.UpdateResponse
Update a specific instance type and it's attributes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceTypeService.GetRequest
get()
Get a specific instance type and it's attributes.InstanceTypeGraphicsConsolesService
graphicsConsolesService()
Reference to the service that manages the graphic consoles that are attached to this instance type.InstanceTypeNicsService
nicsService()
Reference to the service that manages the NICs that are attached to this instance type.InstanceTypeService.RemoveRequest
remove()
Removes a specific instance type from the system.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.InstanceTypeService.UpdateRequest
update()
Update a specific instance type and it's attributes.InstanceTypeWatchdogsService
watchdogsService()
Reference to the service that manages the watchdogs that are attached to this instance type.
-
-
-
Method Detail
-
get
InstanceTypeService.GetRequest get()
Get a specific instance type and it's attributes. [source] ---- GET /ovirt-engine/api/instancetypes/123 ----
-
remove
InstanceTypeService.RemoveRequest remove()
Removes a specific instance type from the system. If a virtual machine was created using an instance type X after removal of the instance type the virtual machine's instance type will be set to `custom`. [source] ---- DELETE /ovirt-engine/api/instancetypes/123 ----
-
update
InstanceTypeService.UpdateRequest update()
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
-
graphicsConsolesService
InstanceTypeGraphicsConsolesService graphicsConsolesService()
Reference to the service that manages the graphic consoles that are attached to this instance type.
-
nicsService
InstanceTypeNicsService nicsService()
Reference to the service that manages the NICs that are attached to this instance type.
-
watchdogsService
InstanceTypeWatchdogsService watchdogsService()
Reference to the service that manages the watchdogs that are attached to this instance type.
-
-