| Constructor and Description |
|---|
HostAgent(HttpProxyBroker proxy) |
| Modifier and Type | Method and Description |
|---|---|
Response |
delete()
Deletes object.
|
Response |
delete(Boolean async)
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
HostAgent |
update()
Updates HostAgent object.
|
HostAgent |
update(Boolean async)
Updates HostAgent object.
|
HostAgent |
update(Boolean async,
String correlationId)
Updates HostAgent object.
|
HostAgent |
update(Boolean async,
String correlationId,
String expect)
Updates HostAgent object.
|
getAddress, getConcurrent, getEncryptOptions, getHost, getOptions, getOrder, getPassword, getPort, getType, getUsername, isSetAddress, isSetConcurrent, isSetEncryptOptions, isSetHost, isSetOptions, isSetOrder, isSetPassword, isSetPort, isSetType, isSetUsername, setAddress, setConcurrent, setEncryptOptions, setHost, setOptions, setOrder, setPassword, setPort, setType, setUsernamegetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic HostAgent(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic Response delete() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
Responseorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Response delete(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async -
[true|false]
Responseorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public Response delete(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async -
[true|false]
correlationId -
[any string]
Responseorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public HostAgent update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
agent - Agent
[agent.address]
[agent.order]
[agent.type]
[agent.username]
[agent.password]
[agent.port]
[agent.options]
[encrypt_options]
HostAgentorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public HostAgent update(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
agent - Agent
[agent.address]
[agent.order]
[agent.type]
[agent.username]
[agent.password]
[agent.port]
[agent.options]
[encrypt_options]
async -
[true|false]
HostAgentorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public HostAgent update(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
agent - Agent
[agent.address]
[agent.order]
[agent.type]
[agent.username]
[agent.password]
[agent.port]
[agent.options]
[encrypt_options]
async -
[true|false]
correlationId -
[any string]
HostAgentorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public HostAgent update(Boolean async, String correlationId, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
agent - Agent
[agent.address]
[agent.order]
[agent.type]
[agent.username]
[agent.password]
[agent.port]
[agent.options]
[encrypt_options]
async -
[true|false]
correlationId -
[any string]
expect -
[202-accepted]
HostAgentorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0