public class DataCenterServiceImpl extends ServiceImpl implements DataCenterService
DataCenterService.GetRequest, DataCenterService.GetResponse, DataCenterService.RemoveRequest, DataCenterService.RemoveResponse, DataCenterService.UpdateRequest, DataCenterService.UpdateResponse
Constructor and Description |
---|
DataCenterServiceImpl(HttpConnection connection,
String path) |
Modifier and Type | Method and Description |
---|---|
ClustersService |
clustersService() |
DataCenterService.GetRequest |
get() |
IscsiBondsService |
iscsiBondsService() |
NetworksService |
networksService() |
AssignedPermissionsService |
permissionsService() |
QossService |
qossService() |
QuotasService |
quotasService() |
DataCenterService.RemoveRequest |
remove()
Removes the data center.
|
Service |
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
|
AttachedStorageDomainsService |
storageDomainsService() |
String |
toString() |
DataCenterService.UpdateRequest |
update() |
checkAction, checkFault, getConnection, getPath, throwError
public DataCenterServiceImpl(HttpConnection connection, String path)
public DataCenterService.GetRequest get()
get
in interface DataCenterService
public DataCenterService.RemoveRequest remove()
DataCenterService
Removes the data center.
Without any special parameters, the storage domains attached to the data center are detached and then removed from the storage. If something fails when performing this operation, for example if there is no host available to remove the storage domains from the storage, the complete operation will fail.
If the force
parameter is true
then the operation will always succeed, even if something fails while removing
one storage domain, for example. The failure is just ignored and the data center is removed from the database
anyway.
remove
in interface DataCenterService
public DataCenterService.UpdateRequest update()
update
in interface DataCenterService
public ClustersService clustersService()
clustersService
in interface DataCenterService
public IscsiBondsService iscsiBondsService()
iscsiBondsService
in interface DataCenterService
public NetworksService networksService()
networksService
in interface DataCenterService
public AssignedPermissionsService permissionsService()
permissionsService
in interface DataCenterService
public QossService qossService()
qossService
in interface DataCenterService
public QuotasService quotasService()
quotasService
in interface DataCenterService
public AttachedStorageDomainsService storageDomainsService()
storageDomainsService
in interface DataCenterService
public Service service(String path)
DataCenterService
Service locator method, returns individual service on which the URI is dispatched.
service
in interface DataCenterService
Copyright © 2016. All rights reserved.