Constructor and Description |
---|
Template(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Response |
delete()
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
Action |
exportTemplate(Action action)
Performs exportTemplate action.
|
Action |
exportTemplate(Action action,
String correlationId)
Performs exportTemplate action.
|
TemplateCdRoms |
getCdRoms()
Gets the value of the TemplateCdRoms property.
|
TemplateDisks |
getDisks()
Gets the value of the TemplateDisks property.
|
TemplateNICs |
getNics()
Gets the value of the TemplateNICs property.
|
TemplatePermissions |
getPermissions()
Gets the value of the TemplatePermissions property.
|
TemplateWatchDogs |
getWatchDogs()
Gets the value of the TemplateWatchDogs property.
|
Template |
update()
Updates Template object.
|
Template |
update(String correlationId)
Updates Template object.
|
getCluster, getConsole, getCpu, getCpuShares, getCreationTime, getDeleteProtected, getDisplay, getDomain, getHighAvailability, getMemory, getOrigin, getOs, getStateless, getStatus, getStorageDomain, getTimezone, getTunnelMigration, getType, getUsb, getVm, isSetCluster, isSetConsole, isSetCpu, isSetCpuShares, isSetCreationTime, isSetDeleteProtected, isSetDisplay, isSetDomain, isSetHighAvailability, isSetMemory, isSetOrigin, isSetOs, isSetPermissions, isSetStateless, isSetStatus, isSetStorageDomain, isSetTimezone, isSetTunnelMigration, isSetType, isSetUsb, isSetVm, setCluster, setConsole, setCpu, setCpuShares, setCreationTime, setDeleteProtected, setDisplay, setDomain, setHighAvailability, setMemory, setOrigin, setOs, setPermissions, setStateless, setStatus, setStorageDomain, setTimezone, setTunnelMigration, setType, setUsb, 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 Template(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic TemplateWatchDogs getWatchDogs()
TemplateWatchDogs
public TemplateCdRoms getCdRoms()
TemplateCdRoms
public TemplateNICs getNics()
TemplateNICs
public TemplatePermissions getPermissions()
getPermissions
in class Template
TemplatePermissions
public TemplateDisks getDisks()
TemplateDisks
public Template update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
template
- Template
[template.name] [template.memory] [template.cpu.topology.cores] [template.high_availability.enabled] [template.os.cmdline] [template.origin] [template.high_availability.priority] [template.timezone] [template.domain.name] [template.type] [template.stateless] [template.delete_protected] [template.console.enabled] [template.placement_policy.affinity] [template.description] [template.comment] [template.custom_properties.custom_property] [template.os.type] [template.os.boot] [template.cpu.topology.sockets] [template.cpu_shares] [template.os.kernel] [template.display.type] [template.display.monitors] [vm.display.single_qxl_pci] [template.display.allow_override] [template.display.smartcard_enabled] [template.display.keyboard_layout] [template.os.initRd] [template.usb.enabled] [template.usb.type] [template.tunnel_migration]
Template
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 Template update(String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
template
- Template
[template.name] [template.memory] [template.cpu.topology.cores] [template.high_availability.enabled] [template.os.cmdline] [template.origin] [template.high_availability.priority] [template.timezone] [template.domain.name] [template.type] [template.stateless] [template.delete_protected] [template.console.enabled] [template.placement_policy.affinity] [template.description] [template.comment] [template.custom_properties.custom_property] [template.os.type] [template.os.boot] [template.cpu.topology.sockets] [template.cpu_shares] [template.os.kernel] [template.display.type] [template.display.monitors] [vm.display.single_qxl_pci] [template.display.allow_override] [template.display.smartcard_enabled] [template.display.keyboard_layout] [template.os.initRd] [template.usb.enabled] [template.usb.type] [template.tunnel_migration]
correlationId
- [any string]
Template
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 exportTemplate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.storage_domain.id|name [action.async] [action.exclusive] [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 exportTemplate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.storage_domain.id|name [action.async] [action.exclusive] [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 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, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
correlationId
- [any string]
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0