class StorageRestController extends HerdBaseController {

    @RequestMapping(value = "/storageAttributes/storages/{storageName}", method = RequestMethod.PUT, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_STORAGE_ATTRIBUTES_PUT)
    Storage updateStorageAttributes(@PathVariable("storageName") String storageName, @RequestBody StorageAttributesUpdateRequest storageAttributesUpdateRequest)
    {
        return storageService.updateStorageAttributes(new StorageKey(storageName), storageAttributesUpdateRequest);
    }

}