Package org.ovirt.engine.sdk4.services
Interface VmWatchdogsService.AddRequest
-
- All Superinterfaces:
Request<VmWatchdogsService.AddRequest,VmWatchdogsService.AddResponse>
- Enclosing interface:
- VmWatchdogsService
public static interface VmWatchdogsService.AddRequest extends Request<VmWatchdogsService.AddRequest,VmWatchdogsService.AddResponse>
Adds new watchdog to the virtual machine. For example, to add a watchdog to a virtual machine, send a request like this: [source] ---- POST /ovirt-engine/api/vms/123/watchdogspoweroff i6300esb poweroff i6300esb
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VmWatchdogsService.AddRequest
watchdog(WatchdogBuilder watchdog)
The information about the watchdog.VmWatchdogsService.AddRequest
watchdog(Watchdog watchdog)
-
-
-
Method Detail
-
watchdog
VmWatchdogsService.AddRequest watchdog(Watchdog watchdog)
-
watchdog
VmWatchdogsService.AddRequest watchdog(WatchdogBuilder watchdog)
The information about the watchdog. The request data must contain `model` element (such as `i6300esb`) and `action` element (one of `none`, `reset`, `poweroff`, `dump`, `pause`). The response data additionally contains references to the added watchdog and to the virtual machine.
-
-