public static interface DataCenterService.RemoveRequest extends Request<DataCenterService.RemoveRequest,DataCenterService.RemoveResponse>
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.
Modifier and Type | Method and Description |
---|---|
DataCenterService.RemoveRequest |
async(Boolean async)
Indicates if the remove should be performed asynchronously.
|
DataCenterService.RemoveRequest |
force(Boolean force)
Indicates if the operation should succeed, and the storage domain removed from the database, even if
something fails during the operation.
|
DataCenterService.RemoveRequest async(Boolean async)
Indicates if the remove should be performed asynchronously.
DataCenterService.RemoveRequest force(Boolean force)
Indicates if the operation should succeed, and the storage domain removed from the database, even if something fails during the operation.
This parameter is optional, and the default value is false
.
Copyright © 2016. All rights reserved.