Package org.ovirt.engine.sdk4.services
Interface VmHostDeviceService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
VmHostDeviceServiceImpl
public interface VmHostDeviceService extends Service
A service to manage individual host device attached to a virtual machine.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
VmHostDeviceService.GetRequest
Retrieve information about particular host device attached to given virtual machine.static interface
VmHostDeviceService.GetResponse
Retrieve information about particular host device attached to given virtual machine.static interface
VmHostDeviceService.RemoveRequest
Remove the attachment of this host device from given virtual machine.static interface
VmHostDeviceService.RemoveResponse
Remove the attachment of this host device from given virtual machine.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmHostDeviceService.GetRequest
get()
Retrieve information about particular host device attached to given virtual machine.VmHostDeviceService.RemoveRequest
remove()
Remove the attachment of this host device from given virtual machine.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
get
VmHostDeviceService.GetRequest get()
Retrieve information about particular host device attached to given virtual machine. Example: [source] ---- GET /ovirt-engine/api/vms/123/hostdevices/456 ---- [source,xml] ----pci_0000_04_00_0 pci 30 true GM107GL [Quadro K2200] NVIDIA Corporation pci_0000_00_03_0
-
remove
VmHostDeviceService.RemoveRequest remove()
Remove the attachment of this host device from given virtual machine. NOTE: In case this device serves as an IOMMU placeholder, it cannot be removed (remove will result only in setting its `placeholder` flag to `true`). Note that all IOMMU placeholder devices will be removed automatically as soon as there will be no more non-placeholder devices (all devices from given IOMMU group are detached). [source] ---- DELETE /ovirt-engine/api/vms/123/hostdevices/456 ----
-
-