Package org.ovirt.engine.sdk4.services
Interface HostService.FenceRequest
-
- All Superinterfaces:
Request<HostService.FenceRequest,HostService.FenceResponse>
- Enclosing interface:
- HostService
public static interface HostService.FenceRequest extends Request<HostService.FenceRequest,HostService.FenceResponse>
Controls the host's power management device. For example, to start the host. This can be done via: [source] ---- #!/bin/sh -ex url="https://engine.example.com/ovirt-engine/api" user="admin@internal" password="..." curl \ --verbose \ --cacert /etc/pki/ovirt-engine/ca.pem \ --user "${user}:${password}" \ --request POST \ --header "Version: 4" \ --header "Content-Type: application/xml" \ --header "Accept: application/xml" \ --data 'start
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HostService.FenceRequest
async(Boolean async)
Indicates if the fencing should be performed asynchronously.HostService.FenceRequest
fenceType(String fenceType)
HostService.FenceRequest
maintenanceAfterRestart(Boolean maintenanceAfterRestart)
Indicates if host should be put into maintenance after restart.
-
-
-
Method Detail
-
async
HostService.FenceRequest async(Boolean async)
Indicates if the fencing should be performed asynchronously.
-
fenceType
HostService.FenceRequest fenceType(String fenceType)
-
maintenanceAfterRestart
HostService.FenceRequest maintenanceAfterRestart(Boolean maintenanceAfterRestart)
Indicates if host should be put into maintenance after restart.
-
-