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 Detail

      • 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`.