/// <summary>
 /// 列出 MachineGroup 信息。
 /// </summary>
 /// <param name="client">client实例。</param>
 /// <param name="groupName">返回记录的起始位置,默认为 0。</param>
 /// <param name="offset">每页返回最大条目,默认 500(最大值)。</param>
 /// <param name="size">用于过滤的机器组名称(支持部分匹配)。</param>
 /// <param name="project">项目名,此参数将覆盖 client 中默认设置。</param>
 /// <returns>异步响应结果。</returns>
 /// <seealso cref="ILogServiceClient.ListMachineGroupAsync"/>
 public static Task <IResponse <ListMachineGroupResult> > ListMachineGroupAsync(this ILogServiceClient client,
                                                                                String groupName = null, Int32 offset = ListMachineGroupRequest.DefaultOffset, Int32 size = ListMachineGroupRequest.DefaultSize, String project = null)
 => client.ListMachineGroupAsync(new ListMachineGroupRequest
 {
     GroupName   = groupName,
     Offset      = offset,
     Size        = size,
     ProjectName = project
 });