public class DataCenterStorageDomain extends StorageDomain
DataCenterStorageDomain providing relation and functional services
to StorageDomain
.
Constructor and Description |
---|
DataCenterStorageDomain(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(Boolean async,
String correlationId)
Deletes object.
|
DataCenterStorageDomainDisks |
getDisks()
Gets the value of the DataCenterStorageDomainDisks property.
|
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 DataCenterStorageDomain(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic DataCenterStorageDomainDisks getDisks()
DataCenterStorageDomainDisks
public Action activate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
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 activate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
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.public Action deactivate(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
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 deactivate(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0