Constructor and Description |
---|
TemplateDisk(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Action |
copy(Action action)
Performs copy action.
|
Action |
copy(Action action,
String correlationId)
Performs copy action.
|
Action |
copy(Action action,
String correlationId,
Boolean async)
Performs copy action.
|
Response |
delete()
Deletes object.
|
Response |
delete(Action action)
Deletes object.
|
Response |
delete(Action action,
Boolean async)
Deletes object.
|
Response |
delete(Action action,
Boolean async,
String correlationId)
Deletes object.
|
Response |
delete(Boolean async)
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
Action |
exportDisk(Action action)
Performs exportDisk action.
|
Action |
exportDisk(Action action,
String correlationId)
Performs exportDisk action.
|
Action |
exportDisk(Action action,
String correlationId,
Boolean async)
Performs exportDisk action.
|
getActive, getActualSize, getAlias, getBootable, getDiskProfile, getFormat, getImageId, getInterface, getLogicalName, getLunStorage, getOpenstackVolumeType, getPropagateErrors, getProvisionedSize, getQuota, getReadOnly, getSgio, getShareable, getSize, getSnapshot, getSparse, getStatistics, getStatus, getStorageDomain, getStorageDomains, getStorageType, getType, getUsesScsiReservation, getWipeAfterDelete, isSetActive, isSetActualSize, isSetAlias, isSetBootable, isSetDiskProfile, isSetFormat, isSetImageId, isSetInterface, isSetLogicalName, isSetLunStorage, isSetOpenstackVolumeType, isSetPropagateErrors, isSetProvisionedSize, isSetQuota, isSetReadOnly, isSetSgio, isSetShareable, isSetSize, isSetSnapshot, isSetSparse, isSetStatistics, isSetStatus, isSetStorageDomain, isSetStorageDomains, isSetStorageType, isSetType, isSetUsesScsiReservation, isSetWipeAfterDelete, setActive, setActualSize, setAlias, setBootable, setDiskProfile, setFormat, setImageId, setInterface, setLogicalName, setLunStorage, setOpenstackVolumeType, setPropagateErrors, setProvisionedSize, setQuota, setReadOnly, setSgio, setShareable, setSize, setSnapshot, setSparse, setStatistics, setStatus, setStorageDomain, setStorageDomains, setStorageType, setType, setUsesScsiReservation, setWipeAfterDelete
getInstanceType, getTemplate, getVm, getVms, isSetInstanceType, isSetTemplate, isSetVm, isSetVms, setInstanceType, setTemplate, setVm, setVms
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 TemplateDisk(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic Action copy(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
storagedomain.id|name [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 copy(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
storagedomain.id|name [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 copy(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
storagedomain.id|name [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 Response delete(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.storage_domain.id] [action.force] [action.async] [action.grace_period.expiry]
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(Action action, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.storage_domain.id] [action.force] [action.async] [action.grace_period.expiry]
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(Action action, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.storage_domain.id] [action.force] [action.async] [action.grace_period.expiry]
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 Action exportDisk(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
storagedomain.id|name [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 exportDisk(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
storagedomain.id|name [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 exportDisk(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
storagedomain.id|name [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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0