Constructor and Description |
---|
StorageDomainDisk(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Response |
delete()
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.
|
StorageDomainDiskPermissions |
getPermissions()
Gets the value of the StorageDomainDiskPermissions property.
|
StorageDomainDiskStatistics |
getStatistics()
Gets the value of the StorageDomainDiskStatistics property.
|
getActive, getActualSize, getAlias, getBootable, getFormat, getImageId, getInterface, getLunStorage, getPropagateErrors, getProvisionedSize, getQuota, getSgio, getShareable, getSize, getSparse, getStatus, getStorageDomain, getStorageDomains, getType, getWipeAfterDelete, isSetActive, isSetActualSize, isSetAlias, isSetBootable, isSetFormat, isSetImageId, isSetInterface, isSetLunStorage, isSetPropagateErrors, isSetProvisionedSize, isSetQuota, isSetSgio, isSetShareable, isSetSize, isSetSparse, isSetStatistics, isSetStatus, isSetStorageDomain, isSetStorageDomains, isSetType, isSetWipeAfterDelete, setActive, setActualSize, setAlias, setBootable, setFormat, setImageId, setInterface, setLunStorage, setPropagateErrors, setProvisionedSize, setQuota, setSgio, setShareable, setSize, setSparse, setStatistics, setStatus, setStorageDomain, setStorageDomains, setType, setWipeAfterDelete
getTemplate, getVm, isSetTemplate, isSetVm, setTemplate, 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 StorageDomainDisk(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic StorageDomainDiskStatistics getStatistics()
getStatistics
in class Disk
StorageDomainDiskStatistics
public StorageDomainDiskPermissions getPermissions()
StorageDomainDiskPermissions
public Action exportDisk(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
storagedomain.id|name
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
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