| 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.
|
Action |
allocatevm(Action action,
String correlationId,
Boolean async)
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.
|
VmPool |
update(String correlationId,
Boolean async)
Updates VmPool object.
|
VmPool |
update(String correlationId,
Boolean async,
String expect)
Updates VmPool object.
|
getCluster, getDisplay, getMaxUserVms, getPrestartedVms, getRngDevice, getSize, getSoundcardEnabled, getTemplate, getType, getUseLatestTemplateVersion, getVm, isSetCluster, isSetDisplay, isSetMaxUserVms, isSetPrestartedVms, isSetRngDevice, isSetSize, isSetSoundcardEnabled, isSetTemplate, isSetType, isSetUseLatestTemplateVersion, isSetVm, setCluster, setDisplay, setMaxUserVms, setPrestartedVms, setRngDevice, setSize, setSoundcardEnabled, setTemplate, setType, setUseLatestTemplateVersion, setVmgetComment, 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 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 Action allocatevm(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[action.grace_period.expiry]
correlationId -
[any string]
async -
[true|false]
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
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 VmPool update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
vmpool - VmPool
[vm_pool.cluster.id|name]
[vm_pool.template.id|name]
[vm_pool.name]
[vm_pool.comment]
[vm_pool.size]
[vm_pool.max_user_vms]
[vm_pool.display.proxy]
[vm_pool.description]
[vm_pool.use_latest_template_version]
[vm_pool.prestarted_vms]
[vm_pool.type]
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
[vm_pool.cluster.id|name]
[vm_pool.template.id|name]
[vm_pool.name]
[vm_pool.comment]
[vm_pool.size]
[vm_pool.max_user_vms]
[vm_pool.display.proxy]
[vm_pool.description]
[vm_pool.use_latest_template_version]
[vm_pool.prestarted_vms]
[vm_pool.type]
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 VmPool update(String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
vmpool - VmPool
[vm_pool.cluster.id|name]
[vm_pool.template.id|name]
[vm_pool.name]
[vm_pool.comment]
[vm_pool.size]
[vm_pool.max_user_vms]
[vm_pool.display.proxy]
[vm_pool.description]
[vm_pool.use_latest_template_version]
[vm_pool.prestarted_vms]
[vm_pool.type]
correlationId -
[any string]
async -
[true|false]
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, Boolean async, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
vmpool - VmPool
[vm_pool.cluster.id|name]
[vm_pool.template.id|name]
[vm_pool.name]
[vm_pool.comment]
[vm_pool.size]
[vm_pool.max_user_vms]
[vm_pool.display.proxy]
[vm_pool.description]
[vm_pool.use_latest_template_version]
[vm_pool.prestarted_vms]
[vm_pool.type]
correlationId -
[any string]
async -
[true|false]
expect -
[202-accepted]
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0