Constructor and Description |
---|
Disk(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(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.
|
DiskPermissions |
getPermissions()
Gets the value of the DiskPermissions property.
|
DiskStatistics |
getStatistics()
Gets the value of the DiskStatistics property.
|
Action |
move(Action action)
Performs move action.
|
Action |
move(Action action,
String correlationId)
Performs move action.
|
Action |
move(Action action,
String correlationId,
Boolean async)
Performs move action.
|
getActive, getActualSize, getAlias, getBootable, getDiskProfile, getFormat, getImageId, getInterface, getLogicalName, getLunStorage, getOpenstackVolumeType, getPropagateErrors, getProvisionedSize, getQuota, getReadOnly, getSgio, getShareable, getSize, getSnapshot, getSparse, 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 Disk(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic DiskPermissions getPermissions()
DiskPermissions
public DiskStatistics getStatistics()
getStatistics
in class Disk
DiskStatistics
public Action copy(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.storage_domain.id|name [action.disk.name|alias] [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
action.storage_domain.id|name [action.disk.name|alias] [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
action.storage_domain.id|name [action.disk.name|alias] [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 Action exportDisk(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.storage_domain.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
action.storage_domain.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
action.storage_domain.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 Action move(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.storage_domain.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 move(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.storage_domain.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 move(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.storage_domain.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