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, setVm
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinks
getActions, isSetActions, setActions
public VmPool(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic VmPoolPermissions getPermissions()
VmPoolPermissions
public Action allocatevm(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.async] [action.grace_period.expiry]
Action
org.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]
Action
org.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]
Action
org.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
Response
org.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]
Response
org.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]
Response
org.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]
VmPool
org.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]
VmPool
org.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]
VmPool
org.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]
VmPool
org.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