Class VmHostDeviceServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.VmHostDeviceServiceImpl
-
- All Implemented Interfaces:
Service
,VmHostDeviceService
public class VmHostDeviceServiceImpl extends ServiceImpl implements VmHostDeviceService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.VmHostDeviceService
VmHostDeviceService.GetRequest, VmHostDeviceService.GetResponse, VmHostDeviceService.RemoveRequest, VmHostDeviceService.RemoveResponse
-
-
Constructor Summary
Constructors Constructor Description VmHostDeviceServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete 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.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
VmHostDeviceServiceImpl
public VmHostDeviceServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public VmHostDeviceService.GetRequest get()
Description copied from interface:VmHostDeviceService
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 - Specified by:
get
in interfaceVmHostDeviceService
-
remove
public VmHostDeviceService.RemoveRequest remove()
Description copied from interface:VmHostDeviceService
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 ----- Specified by:
remove
in interfaceVmHostDeviceService
-
service
public Service service(String path)
Description copied from interface:VmHostDeviceService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceVmHostDeviceService
-
-