示例#1
0
        /// <summary>查询某个组的组信息
        /// </summary>
        /// <param name="groupName">组名</param>
        /// <param name="clusterName">集群名称</param>
        /// <returns></returns>
        public async ValueTask <GroupInfo> ListOneGroupInfoAsync(string groupName, string clusterName = "")
        {
            var request  = new ListOneGroup(groupName);
            var response = await _executer.Execute(request, clusterName);

            return(response.GroupInfo);
        }
示例#2
0
        /// <summary>查询某个组的组信息
        /// </summary>
        /// <param name="groupName">组名</param>
        /// <returns></returns>
        public async Task <GroupInfo> ListOneGroupInfoAsync(string groupName)
        {
            var request  = new ListOneGroup(groupName);
            var response = await _executer.Execute(request);

            return(response.GroupInfo);
        }