package com.bocloud.cmp.provider.f5;

import com.bocloud.cmp.model.f5.ProfileModel;
import com.bocloud.cmp.provider.SuperProvider;
import com.bocloud.common.model.BocloudResult;

/**
 * f5 profile操作服务接口
 *
 * @author liuyuanyuan
 */
public interface ProfileProvider extends SuperProvider {
    /**
     * profile列表
     *
     * @return
     */
    public BocloudResult list(String category);

    /**
     * 创建profile
     *
     * @param profileModel
     * @param category
     * @param
     */
    public BocloudResult create(ProfileModel profileModel, String category);

    /**
     * 更新profile
     *
     * @param profileModel
     * @return
     */
    public BocloudResult update(ProfileModel profileModel, String category);

    /**
     * 删除profile
     *
     * @param name
     * @return
     */
    public BocloudResult remove(String name, String category);
}
