class StorageRestController extends HerdBaseController {

    @RequestMapping(value = STORAGE_URI_PREFIX + "/{storageName}", method = RequestMethod.PUT, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_STORAGES_PUT)
    Storage updateStorage(@PathVariable("storageName") String storageName, @RequestBody StorageUpdateRequest storageUpdateRequest)
    {
        return storageService.updateStorage(new StorageKey(storageName), storageUpdateRequest);
    }

}