/// <summary> /// 删除机器组,如果机器组上有配置,则 Logtail 上对应的配置也会被删除。 /// </summary> /// <param name="client">client实例。</param> /// <param name="groupName">机器分组名称。</param> /// <param name="project">项目名,此参数将覆盖 client 中默认设置。</param> /// <returns>异步响应结果。</returns> /// <seealso cref="ILogServiceClient.DeleteMachineGroupAsync"/> public static Task <IResponse> DeleteMachineGroupAsync(this ILogServiceClient client, String groupName, String project = null) => client.DeleteMachineGroupAsync(new DeleteMachineGroupRequest(groupName) { ProjectName = project });