| Constructor and Description |
|---|
Template(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.
|
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.
|
TemplateTags |
getTags()
Gets the value of the TemplateTags property.
|
TemplateWatchDogs |
getWatchDogs()
Gets the value of the TemplateWatchDogs property.
|
Template |
update()
Updates Template object.
|
Template |
update(String correlationId)
Updates Template object.
|
getBios, getCluster, getConsole, getCpu, getCpuProfile, getCpuShares, getCreationTime, getCustomProperties, getDeleteProtected, getDisplay, getDomain, getHighAvailability, getMemory, getMigrationDowntime, getOrigin, getOs, getRngDevice, getSerialNumber, getSoundcardEnabled, getSso, getStateless, getStatus, getStorageDomain, getTimezone, getTunnelMigration, getType, getUsb, getVersion, getVirtioScsi, getVm, isSetBios, isSetCluster, isSetConsole, isSetCpu, isSetCpuProfile, isSetCpuShares, isSetCreationTime, isSetCustomProperties, isSetDeleteProtected, isSetDisplay, isSetDomain, isSetHighAvailability, isSetMemory, isSetMigrationDowntime, isSetOrigin, isSetOs, isSetPermissions, isSetRngDevice, isSetSerialNumber, isSetSoundcardEnabled, isSetSso, isSetStateless, isSetStatus, isSetStorageDomain, isSetTimezone, isSetTunnelMigration, isSetType, isSetUsb, isSetVersion, isSetVirtioScsi, isSetVm, setBios, setCluster, setConsole, setCpu, setCpuProfile, setCpuShares, setCreationTime, setCustomProperties, setDeleteProtected, setDisplay, setDomain, setHighAvailability, setMemory, setMigrationDowntime, setOrigin, setOs, setPermissions, setRngDevice, setSerialNumber, setSoundcardEnabled, setSso, setStateless, setStatus, setStorageDomain, setTimezone, setTunnelMigration, setType, setUsb, setVersion, setVirtioScsi, setVmgetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic Template(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic TemplateWatchDogs getWatchDogs()
TemplateWatchDogspublic TemplateTags getTags()
TemplateTagspublic TemplateCdRoms getCdRoms()
TemplateCdRomspublic TemplateNICs getNics()
TemplateNICspublic TemplatePermissions getPermissions()
getPermissions in class TemplateTemplatePermissionspublic TemplateDisks getDisks()
TemplateDiskspublic 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.sso.methods.method]
[vm.rng_device.rate.bytes]
[vm.rng_device.rate.period]
[vm.rng_device.source]
[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.cpu.architecture]
[template.os.kernel]
[template.display.type]
[template.display.monitors]
[vm.display.single_qxl_pci]
[template.display.allow_override]
[template.display.smartcard_enabled]
[vm.display.file_transfer_enabled]
[vm.display.copy_paste_enabled]
[template.display.keyboard_layout]
[template.os.initRd]
[template.usb.enabled]
[template.usb.type]
[template.tunnel_migration]
[template.migration_downtime]
[template.virtio_scsi.enabled]
[template.soundcard_enabled]
[template.version.version_name]
[template.serial_number.policy]
[template.serial_number.value]
[template.bios.boot_menu.enabled]
[template.cpu_profile.id]
Templateorg.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.sso.methods.method]
[vm.rng_device.rate.bytes]
[vm.rng_device.rate.period]
[vm.rng_device.source]
[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.cpu.architecture]
[template.os.kernel]
[template.display.type]
[template.display.monitors]
[vm.display.single_qxl_pci]
[template.display.allow_override]
[template.display.smartcard_enabled]
[vm.display.file_transfer_enabled]
[vm.display.copy_paste_enabled]
[template.display.keyboard_layout]
[template.os.initRd]
[template.usb.enabled]
[template.usb.type]
[template.tunnel_migration]
[template.migration_downtime]
[template.virtio_scsi.enabled]
[template.soundcard_enabled]
[template.version.version_name]
[template.serial_number.policy]
[template.serial_number.value]
[template.bios.boot_menu.enabled]
[template.cpu_profile.id]
correlationId -
[any string]
Templateorg.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]
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 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]
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