Interface InstanceTypeService

    • 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.
      • service

        Service service​(String path)
        Service locator method, returns individual service on which the URI is dispatched.