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

import com.bocloud.common.model.BocloudResult;
import com.bocloud.common.model.GridBean;
import com.bocloud.common.model.Pager;
import com.bocloud.common.model.RequestContext;
import com.bocloud.ims.entity.resource.SangforAz;

import java.util.Map;

/**
 * 深信服资源池服务
 *
 * @author sxp
 * @since 2023/6/1
 */
public interface SangforAzService {
    /**
     * 列表查询
     *
     * @author sxp
     * @since 2023/6/1
     */
    public BocloudResult<GridBean<SangforAz>> list(Pager pager, RequestContext context);

    public BocloudResult<SangforAz> detail(String uuid);


    /**
     * 获取某个云平台下的深信服资源池UUID和资源池名称的散列表
     *
     * @author sxp
     * @since 2023/6/1
     */
    Map<String, String> getAllAzUuidNameMap();


    /**
     * 获取某个云平台下的深信服资源池UUID和资源池对象的散列表
     *
     * @author sxp
     * @since 2023/6/1
     */
    Map<String, SangforAz> getAllAzUuidMap();


}
