Search in sources :

Example 1 with DeleteStorageResourceParam

use of com.emc.storageos.vnxe.models.DeleteStorageResourceParam in project coprhd-controller by CoprHD.

the class DeleteStorageResourceRequest method deleteResourceAsync.

private VNXeCommandJob deleteResourceAsync(String resourceId, boolean isForceSnapDeletion) {
    _url = URL + resourceId;
    DeleteStorageResourceParam parm = new DeleteStorageResourceParam();
    parm.setForceSnapDeletion(isForceSnapDeletion);
    return deleteRequestAsync(parm);
}
Also used : DeleteStorageResourceParam(com.emc.storageos.vnxe.models.DeleteStorageResourceParam)

Example 2 with DeleteStorageResourceParam

use of com.emc.storageos.vnxe.models.DeleteStorageResourceParam in project coprhd-controller by CoprHD.

the class DeleteStorageResourceRequest method deleteResourceSync.

private VNXeCommandResult deleteResourceSync(String resourceId, boolean isForceSnapDeletion) {
    _url = URL + resourceId;
    DeleteStorageResourceParam parm = new DeleteStorageResourceParam();
    parm.setForceSnapDeletion(isForceSnapDeletion);
    deleteRequest(parm);
    VNXeCommandResult result = new VNXeCommandResult();
    result.setSuccess(true);
    return result;
}
Also used : VNXeCommandResult(com.emc.storageos.vnxe.models.VNXeCommandResult) DeleteStorageResourceParam(com.emc.storageos.vnxe.models.DeleteStorageResourceParam)

Aggregations

DeleteStorageResourceParam (com.emc.storageos.vnxe.models.DeleteStorageResourceParam)2 VNXeCommandResult (com.emc.storageos.vnxe.models.VNXeCommandResult)1