| Constructor and Description |
|---|
VmPool(HttpProxyBroker proxy) |
| Modifier and Type | Method and Description |
|---|---|
Action |
allocatevm(Action action)
Performs allocatevm action.
|
Action |
allocatevm(Action action,
String correlationId)
Performs allocatevm action.
|
Response |
delete()
Deletes object.
|
Response |
delete(Boolean async)
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
VmPoolPermissions |
getPermissions()
Gets the value of the VmPoolPermissions property.
|
VmPool |
update()
Updates VmPool object.
|
VmPool |
update(String correlationId)
Updates VmPool object.
|
getCluster, getDisplay, getMaxUserVms, getPrestartedVms, getRngDevice, getSize, getSoundcardEnabled, getTemplate, isSetCluster, isSetDisplay, isSetMaxUserVms, isSetPrestartedVms, isSetRngDevice, isSetSize, isSetSoundcardEnabled, isSetTemplate, setCluster, setDisplay, setMaxUserVms, setPrestartedVms, setRngDevice, setSize, setSoundcardEnabled, setTemplategetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic VmPool(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic VmPoolPermissions getPermissions()
VmPoolPermissionspublic VmPool update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
vmpool - VmPool
[vmpool.cluster.id|name]
[vmpool.template.id|name]
[vmpool.name]
[vmpool.comment]
[vmpool.size]
[vmpool.max_user_vms]
[vmpool.display.proxy]
[vmpool.description]
VmPoolorg.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 VmPool update(String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
vmpool - VmPool
[vmpool.cluster.id|name]
[vmpool.template.id|name]
[vmpool.name]
[vmpool.comment]
[vmpool.size]
[vmpool.max_user_vms]
[vmpool.display.proxy]
[vmpool.description]
correlationId -
[any string]
VmPoolorg.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 Action allocatevm(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
Actionorg.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 Action allocatevm(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
Actionorg.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() 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
correlationId -
[any string]
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0