Class VmWatchdogServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.VmWatchdogServiceImpl
-
- All Implemented Interfaces:
Service
,VmWatchdogService
public class VmWatchdogServiceImpl extends ServiceImpl implements VmWatchdogService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.VmWatchdogService
VmWatchdogService.GetRequest, VmWatchdogService.GetResponse, VmWatchdogService.RemoveRequest, VmWatchdogService.RemoveResponse, VmWatchdogService.UpdateRequest, VmWatchdogService.UpdateResponse
-
-
Constructor Summary
Constructors Constructor Description VmWatchdogServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VmWatchdogService.GetRequest
get()
Returns the information about the watchdog.VmWatchdogService.RemoveRequest
remove()
Removes the watchdog from the virtual machine.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
VmWatchdogService.UpdateRequest
update()
Updates the information about the watchdog.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
VmWatchdogServiceImpl
public VmWatchdogServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public VmWatchdogService.GetRequest get()
Description copied from interface:VmWatchdogService
Returns the information about the watchdog.- Specified by:
get
in interfaceVmWatchdogService
-
remove
public VmWatchdogService.RemoveRequest remove()
Description copied from interface:VmWatchdogService
Removes the watchdog from the virtual machine. For example, to remove a watchdog from a virtual machine, send a request like this: [source] ---- DELETE /ovirt-engine/api/vms/123/watchdogs/00000000-0000-0000-0000-000000000000 ----- Specified by:
remove
in interfaceVmWatchdogService
-
update
public VmWatchdogService.UpdateRequest update()
Description copied from interface:VmWatchdogService
Updates the information about the watchdog. You can update the information using `action` and `model` elements. For example, to update a watchdog, send a request like this: [source] ---- PUT /ovirt-engine/api/vms/123/watchdogsreset reset i6300esb - Specified by:
update
in interfaceVmWatchdogService
-
service
public Service service(String path)
Description copied from interface:VmWatchdogService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceVmWatchdogService
-
-