Package org.ovirt.engine.sdk4.services
Interface FenceAgentService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
FenceAgentServiceImpl
public interface FenceAgentService extends Service
A service to manage fence agent for a specific host.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
FenceAgentService.GetRequest
Gets details of this fence agent.static interface
FenceAgentService.GetResponse
Gets details of this fence agent.static interface
FenceAgentService.RemoveRequest
Removes a fence agent for a specific host.static interface
FenceAgentService.RemoveResponse
Removes a fence agent for a specific host.static interface
FenceAgentService.UpdateRequest
Update a fencing-agent.static interface
FenceAgentService.UpdateResponse
Update a fencing-agent.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FenceAgentService.GetRequest
get()
Gets details of this fence agent.FenceAgentService.RemoveRequest
remove()
Removes a fence agent for a specific host.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.FenceAgentService.UpdateRequest
update()
Update a fencing-agent.
-
-
-
Method Detail
-
get
FenceAgentService.GetRequest get()
Gets details of this fence agent. [source] ---- GET /ovirt-engine/api/hosts/123/fenceagents/0 ---- And here is sample response: [source,xml] ----apc 1 192.168.1.101 user xxx 9 name1=value1, name2=value2
-
remove
FenceAgentService.RemoveRequest remove()
Removes a fence agent for a specific host. [source] ---- DELETE /ovirt-engine/api/hosts/123/fenceagents/0 ----
-
update
FenceAgentService.UpdateRequest update()
Update a fencing-agent.
-
-