public class DataCenter extends DataCenter
DataCenter providing relation and functional services
to DataCenter
.
Constructor and Description |
---|
DataCenter(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Response |
delete()
Deletes object.
|
Response |
delete(Action action)
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.
|
DataCenterClusters |
getClusters()
Gets the value of the DataCenterClusters property.
|
DataCenterIscsiBonds |
getIscsiBonds()
Gets the value of the DataCenterIscsiBonds property.
|
DataCenterNetworks |
getNetworks()
Gets the value of the DataCenterNetworks property.
|
DataCenterPermissions |
getPermissions()
Gets the value of the DataCenterPermissions property.
|
DataCenterQoSs |
getQoSs()
Gets the value of the DataCenterQoSs property.
|
DataCenterQuotas |
getQuotas()
Gets the value of the DataCenterQuotas property.
|
DataCenterStorageDomains |
getStorageDomains()
Gets the value of the DataCenterStorageDomains property.
|
DataCenter |
update()
Updates DataCenter object.
|
DataCenter |
update(String correlationId)
Updates DataCenter object.
|
DataCenter |
update(String correlationId,
Boolean async)
Updates DataCenter object.
|
DataCenter |
update(String correlationId,
Boolean async,
String expect)
Updates DataCenter object.
|
getLocal, getMacPool, getQuotaMode, getStatus, getStorageFormat, getStorageType, getSupportedVersions, getVersion, isSetLocal, isSetMacPool, isSetQuotaMode, isSetStatus, isSetStorageFormat, isSetStorageType, isSetSupportedVersions, isSetVersion, setLocal, setMacPool, setQuotaMode, setStatus, setStorageFormat, setStorageType, setSupportedVersions, setVersion
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 DataCenter(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic DataCenterClusters getClusters()
DataCenterClusters
public DataCenterIscsiBonds getIscsiBonds()
DataCenterIscsiBonds
public DataCenterNetworks getNetworks()
DataCenterNetworks
public DataCenterPermissions getPermissions()
DataCenterPermissions
public DataCenterQoSs getQoSs()
DataCenterQoSs
public DataCenterQuotas getQuotas()
DataCenterQuotas
public DataCenterStorageDomains getStorageDomains()
DataCenterStorageDomains
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 Response delete(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.force] [action.async] [action.grace_period.expiry]
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(Action action, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.force] [action.async] [action.grace_period.expiry]
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(Action action, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.force] [action.async] [action.grace_period.expiry]
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 DataCenter update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
datacenter
- DataCenter
[datacenter.name] [datacenter.description] [datacenter.comment] [datacenter.storage_type] [datacenter.local] [datacenter.version.major] [datacenter.version.minor] [datacenter.storage_format] [datacenter.mac_pool.id]
DataCenter
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 DataCenter update(String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
datacenter
- DataCenter
[datacenter.name] [datacenter.description] [datacenter.comment] [datacenter.storage_type] [datacenter.local] [datacenter.version.major] [datacenter.version.minor] [datacenter.storage_format] [datacenter.mac_pool.id]
correlationId
- [any string]
DataCenter
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 DataCenter update(String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
datacenter
- DataCenter
[datacenter.name] [datacenter.description] [datacenter.comment] [datacenter.storage_type] [datacenter.local] [datacenter.version.major] [datacenter.version.minor] [datacenter.storage_format] [datacenter.mac_pool.id]
correlationId
- [any string]
async
- [true|false]
DataCenter
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 DataCenter update(String correlationId, Boolean async, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
datacenter
- DataCenter
[datacenter.name] [datacenter.description] [datacenter.comment] [datacenter.storage_type] [datacenter.local] [datacenter.version.major] [datacenter.version.minor] [datacenter.storage_format] [datacenter.mac_pool.id]
correlationId
- [any string]
async
- [true|false]
expect
- [202-accepted]
DataCenter
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