Package org.ovirt.engine.sdk4.services
Interface DataCenterService.RemoveRequest
-
- All Superinterfaces:
Request<DataCenterService.RemoveRequest,DataCenterService.RemoveResponse>
- Enclosing interface:
- DataCenterService
public static interface DataCenterService.RemoveRequest extends Request<DataCenterService.RemoveRequest,DataCenterService.RemoveResponse>
Removes the data center. [source] ---- DELETE /ovirt-engine/api/datacenters/123 ---- 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
async
DataCenterService.RemoveRequest async(Boolean async)
Indicates if the remove should be performed asynchronously.
-
force
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`.
-
-