public class StorageDomain extends StorageDomain
StorageDomain providing relation and functional services
to StorageDomain.
| Constructor and Description |
|---|
StorageDomain(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.
|
Response |
delete(StorageDomain storagedomain)
Deletes object.
|
Response |
delete(StorageDomain storagedomain,
Boolean async)
Deletes object.
|
Response |
delete(StorageDomain storagedomain,
Boolean async,
String correlationId)
Deletes object.
|
StorageDomainDiskProfiles |
getDiskProfiles()
Gets the value of the StorageDomainDiskProfiles property.
|
StorageDomainDisks |
getDisks()
Gets the value of the StorageDomainDisks property.
|
StorageDomainDiskSnapshots |
getDiskSnapshots()
Gets the value of the StorageDomainDiskSnapshots property.
|
StorageDomainFiles |
getFiles()
Gets the value of the StorageDomainFiles property.
|
StorageDomainImages |
getImages()
Gets the value of the StorageDomainImages property.
|
StorageDomainPermissions |
getPermissions()
Gets the value of the StorageDomainPermissions property.
|
StorageDomainStorageConnections |
getStorageConnections()
Gets the value of the StorageDomainStorageConnections property.
|
StorageDomainTemplates |
getTemplates()
Gets the value of the StorageDomainTemplates property.
|
StorageDomainVMs |
getVMs()
Gets the value of the StorageDomainVMs property.
|
Action |
isattached(Action action)
Performs isattached action.
|
Action |
isattached(Action action,
Boolean async)
Performs isattached action.
|
Action |
isattached(Action action,
Boolean async,
String correlationId)
Performs isattached action.
|
Action |
refreshluns(Action action)
Performs refreshluns action.
|
Action |
refreshluns(Action action,
Boolean async)
Performs refreshluns action.
|
Action |
refreshluns(Action action,
Boolean async,
String correlationId)
Performs refreshluns action.
|
StorageDomain |
update()
Updates StorageDomain object.
|
StorageDomain |
update(Boolean async)
Updates StorageDomain object.
|
StorageDomain |
update(Boolean async,
String correlationId)
Updates StorageDomain object.
|
StorageDomain |
update(Boolean async,
String correlationId,
String expect)
Updates StorageDomain object.
|
getAvailable, getCommitted, getCriticalSpaceActionBlocker, getDataCenter, getDataCenters, getDestroy, getExternalStatus, getFormat, getHost, getImport, getMaster, getStatus, getStorage, getStorageFormat, getType, getUsed, getWarningLowSpaceIndicator, getWipeAfterDelete, isSetAvailable, isSetCommitted, isSetCriticalSpaceActionBlocker, isSetDataCenter, isSetDataCenters, isSetDestroy, isSetExternalStatus, isSetFormat, isSetHost, isSetImport, isSetMaster, isSetStatus, isSetStorage, isSetStorageFormat, isSetType, isSetUsed, isSetWarningLowSpaceIndicator, isSetWipeAfterDelete, setAvailable, setCommitted, setCriticalSpaceActionBlocker, setDataCenter, setDataCenters, setDestroy, setExternalStatus, setFormat, setHost, setImport, setMaster, setStatus, setStorage, setStorageFormat, setType, setUsed, setWarningLowSpaceIndicator, setWipeAfterDeletegetComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinksgetActions, isSetActions, setActionspublic StorageDomain(HttpProxyBroker proxy)
proxy - HttpProxyBrokerpublic StorageDomainDiskProfiles getDiskProfiles()
StorageDomainDiskProfilespublic StorageDomainDisks getDisks()
StorageDomainDiskspublic StorageDomainDiskSnapshots getDiskSnapshots()
StorageDomainDiskSnapshotspublic StorageDomainFiles getFiles()
StorageDomainFilespublic StorageDomainImages getImages()
StorageDomainImagespublic StorageDomainPermissions getPermissions()
StorageDomainPermissionspublic StorageDomainStorageConnections getStorageConnections()
StorageDomainStorageConnectionspublic StorageDomainTemplates getTemplates()
StorageDomainTemplatespublic StorageDomainVMs getVMs()
StorageDomainVMspublic 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
async -
[true|false]
correlationId -
[any string]
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(StorageDomain storagedomain) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storagedomain - StorageDomain
storagedomain.host.id|name
[storagedomain.format]
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(StorageDomain storagedomain, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storagedomain - StorageDomain
storagedomain.host.id|name
[storagedomain.format]
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(StorageDomain storagedomain, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storagedomain - StorageDomain
storagedomain.host.id|name
[storagedomain.format]
async -
[true|false]
correlationId -
[any string]
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 isattached(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.host.id
[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 isattached(Action action, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.host.id
[action.async]
[action.grace_period.expiry]
async -
[true|false]
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 isattached(Action action, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
action.host.id
[action.async]
[action.grace_period.expiry]
async -
[true|false]
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 refreshluns(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.logical_units.logical_unit]
[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 refreshluns(Action action, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.logical_units.logical_unit]
[action.async]
[action.grace_period.expiry]
async -
[true|false]
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 refreshluns(Action action, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action - Action
[action.logical_units.logical_unit]
[action.async]
[action.grace_period.expiry]
async -
[true|false]
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 StorageDomain update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storagedomain - StorageDomain
Overload 1:
update the storage domain
[storagedomain.name]
Overload 2:
update the storage domain
storagedomain.storage.logical_unit
[storagedomain.host.id]
[storagedomain.name]
[storagedomain.comment]
[storagedomain.storage.override_luns]
[storagedomain.wipe_after_delete]
[storagedomain.warning_low_space_indicator]
[storagedomain.critical_space_action_blocker]
StorageDomainorg.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 StorageDomain update(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storagedomain - StorageDomain
Overload 1:
update the storage domain
[storagedomain.name]
Overload 2:
update the storage domain
storagedomain.storage.logical_unit
[storagedomain.host.id]
[storagedomain.name]
[storagedomain.comment]
[storagedomain.storage.override_luns]
[storagedomain.wipe_after_delete]
[storagedomain.warning_low_space_indicator]
[storagedomain.critical_space_action_blocker]
async -
[true|false]
StorageDomainorg.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 StorageDomain update(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storagedomain - StorageDomain
Overload 1:
update the storage domain
[storagedomain.name]
Overload 2:
update the storage domain
storagedomain.storage.logical_unit
[storagedomain.host.id]
[storagedomain.name]
[storagedomain.comment]
[storagedomain.storage.override_luns]
[storagedomain.wipe_after_delete]
[storagedomain.warning_low_space_indicator]
[storagedomain.critical_space_action_blocker]
async -
[true|false]
correlationId -
[any string]
StorageDomainorg.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 StorageDomain update(Boolean async, String correlationId, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
storagedomain - StorageDomain
Overload 1:
update the storage domain
[storagedomain.name]
Overload 2:
update the storage domain
storagedomain.storage.logical_unit
[storagedomain.host.id]
[storagedomain.name]
[storagedomain.comment]
[storagedomain.storage.override_luns]
[storagedomain.wipe_after_delete]
[storagedomain.warning_low_space_indicator]
[storagedomain.critical_space_action_blocker]
async -
[true|false]
correlationId -
[any string]
expect -
[202-accepted]
StorageDomainorg.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