| Constructor and Description |
|---|
VMDisk(HttpProxyBroker proxy) |
| Modifier and Type | Method and Description |
|---|---|
Action |
activate(Action action)
Performs activate action.
|
Action |
activate(Action action,
String correlationId)
Performs activate action.
|
Action |
deactivate(Action action)
Performs deactivate action.
|
Action |
deactivate(Action action,
String correlationId)
Performs deactivate action.
|
Response |
delete()
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.
|
VMDiskPermissions |
getPermissions()
Gets the value of the VMDiskPermissions property.
|
VMDiskStatistics |
getStatistics()
Gets the value of the VMDiskStatistics property.
|
Action |
move(Action action)
Performs move action.
|
Action |
move(Action action,
String correlationId)
Performs move action.
|
VMDisk |
update()
Updates VMDisk object.
|
VMDisk |
update(String correlationId)
Updates VMDisk object.
|
getActive, getActualSize, getAlias, getBootable, getDiskProfile, getFormat, getImageId, getInterface, getLogicalName, getLunStorage, getPropagateErrors, getProvisionedSize, getQuota, getReadOnly, getSgio, getShareable, getSize, getSnapshot, getSparse, getStatus, getStorageDomain, getStorageDomains, getType, getWipeAfterDelete, isSetActive, isSetActualSize, isSetAlias, isSetBootable, isSetDiskProfile, isSetFormat, isSetImageId, isSetInterface, isSetLogicalName, isSetLunStorage, isSetPropagateErrors, isSetProvisionedSize, isSetQuota, isSetReadOnly, isSetSgio, isSetShareable, isSetSize, isSetSnapshot, isSetSparse, isSetStatistics, isSetStatus, isSetStorageDomain, isSetStorageDomains, isSetType, isSetWipeAfterDelete, setActive, setActualSize, setAlias, setBootable, setDiskProfile, setFormat, setImageId, setInterface, setLogicalName, setLunStorage, setPropagateErrors, setProvisionedSize, setQuota, setReadOnly, setSgio, setShareable, setSize, setSnapshot, setSparse, setStatistics, setStatus, setStorageDomain, setStorageDomains, setType, setWipeAfterDeletegetTemplate, getVm, isSetTemplate, isSetVm, setTemplate, setVmgetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic VMDisk(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic VMDiskPermissions getPermissions()
VMDiskPermissionspublic VMDiskStatistics getStatistics()
getStatistics in class DiskVMDiskStatisticspublic Action activate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[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 activate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[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 VMDisk update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
disk - Disk
[size]
[provisioned_size]
[disk.interface]
[disk.format]
[disk.sparse]
[disk.bootable]
[disk.shareable]
[disk.propagate_errors]
[disk.wipe_after_delete]
[disk.quota.id]
[disk.disk_profile.id]
[disk.sgio]
[disk.read_only]
[description]
VMDiskorg.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 VMDisk update(String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
disk - Disk
[size]
[provisioned_size]
[disk.interface]
[disk.format]
[disk.sparse]
[disk.bootable]
[disk.shareable]
[disk.propagate_errors]
[disk.wipe_after_delete]
[disk.quota.id]
[disk.disk_profile.id]
[disk.sgio]
[disk.read_only]
[description]
correlationId -
[any string]
VMDiskorg.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]
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 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]
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.public Response delete(Action action, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.detach
[action.async]
[action.grace_period.expiry]
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(Action action, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.detach
[action.async]
[action.grace_period.expiry]
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.public Action deactivate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[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 deactivate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.async]
[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 Action move(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
storagedomain.id|name
[action.async]
[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 move(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]
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0