package com.bocloud.ims.interfaces.resource.f5;

import com.bocloud.cmp.model.f5.MonitorModel;
import com.bocloud.common.model.BocloudResult;
import com.bocloud.common.model.GridBean;
import com.bocloud.common.model.Pager;
import com.bocloud.ims.entity.resource.f5.BiMonitor;

/**
 * @author kyw
 */
public interface F5BiMonitorService {
    /**
     * 列表
     * @param pager
     * @return
     */
    public BocloudResult<GridBean<BiMonitor>> list(Pager pager);

    /**
     * 添加
     *
     * @param biMonitor
     * @param userId
     * @return
     */
    public BocloudResult create(BiMonitor biMonitor, Long userId, MonitorModel monitorModel);

    /**
     * 更新
     *
     * @param biMonitor
     * @param userId
     * @return 操作结果
     */
    public BocloudResult modify(BiMonitor biMonitor, Long userId, MonitorModel monitorModel);

    /**
     * 移除
     *
     * @param id     ID
     * @param userId 操作者ID
     * @return 操作结果
     */
    public BocloudResult remove(Long id, Long userId);

    /**
     * 详细信息
     *
     * @param id ID
     * @return 详细信息
     */
    public BocloudResult<BiMonitor> detail(Long id);

}
