/// <summary> /// 删除特定 config,如果 config 已被 应用到机器组,则 Logtail 配置也会被删除。 /// </summary> /// <param name="client">client实例。</param> /// <param name="configName">日志配置名称。</param> /// <param name="project">项目名,此参数将覆盖 client 中默认设置。</param> /// <returns>异步响应结果。</returns> /// <seealso cref="ILogServiceClient.DeleteConfigAsync"/> public static Task <IResponse> DeleteConfigAsync(this ILogServiceClient client, String configName, String project = null) => client.DeleteConfigAsync(new DeleteConfigRequest(configName) { ProjectName = project });