use of com.emc.storageos.vnxe.models.VNXUnityTreeQuota in project coprhd-controller by CoprHD.
the class FileSystemQuotaRequests method updateFileSystemQuotaConfig.
/**
* update file system quota config
*
* @param quotaId
* Id of the quota whose quota config is to updated
* @param param
* FileSystemQuotaConfigParam
* @return VNXeCommandResult
* @throws VNXeException
*/
public VNXeCommandJob updateFileSystemQuotaConfig(String quotaId, FileSystemQuotaConfigParam param) throws VNXeException {
VNXUnityTreeQuota quotaObj = null;
if (quotaId != null) {
quotaObj = getFileSystemQuota(quotaId);
}
FileSystemQuotaConfigRequests req = new FileSystemQuotaConfigRequests(_client);
_logger.info("updating quota config for quota ID: " + quotaId);
return req.updateFileSystemQuotaConfig(quotaObj.getQuotaConfigId(), param);
}
Aggregations