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,
String correlationId)
Deletes object.
|
Response |
delete(StorageDomain storagedomain,
Boolean async,
String correlationId)
Deletes object.
|
StorageDomainDisks |
getDisks()
Gets the value of the StorageDomainDisks 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.
|
StorageDomain |
update()
Updates StorageDomain object.
|
StorageDomain |
update(Boolean async,
String correlationId)
Updates StorageDomain object.
|
getAvailable, getCommitted, getDataCenter, getDestroy, getFormat, getHost, getMaster, getStatus, getStorage, getStorageFormat, getType, getUsed, isSetAvailable, isSetCommitted, isSetDataCenter, isSetDestroy, isSetFormat, isSetHost, isSetMaster, isSetStatus, isSetStorage, isSetStorageFormat, isSetType, isSetUsed, setAvailable, setCommitted, setDataCenter, setDestroy, setFormat, setHost, setMaster, setStatus, setStorage, setStorageFormat, setType, setUsed
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 StorageDomain(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic StorageDomainPermissions getPermissions()
StorageDomainPermissions
public StorageDomainVMs getVMs()
StorageDomainVMs
public StorageDomainTemplates getTemplates()
StorageDomainTemplates
public StorageDomainStorageConnections getStorageConnections()
StorageDomainStorageConnections
public StorageDomainDisks getDisks()
StorageDomainDisks
public StorageDomainImages getImages()
StorageDomainImages
public StorageDomainFiles getFiles()
StorageDomainFiles
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.host.id|name storagedomain.storage.logical_unit [storagedomain.name] [storagedomain.comment] [storagedomain.storage.override_luns]
StorageDomain
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 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.host.id|name storagedomain.storage.logical_unit [storagedomain.name] [storagedomain.comment] [storagedomain.storage.override_luns]
correlationId
- [any string]
async
- [true|false]
StorageDomain
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.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]
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