/// <summary> /// 更新配置内容,如果配置被应用到机器组,对应机器也会同时更新。 /// </summary> /// <param name="client">client实例。</param> /// <param name="configName">日志配置名称, Project 下唯一。</param> /// <param name="inputType">输入类型,现在只支持 file。</param> /// <param name="inputDetail">输入详情。</param> /// <param name="outputType">输出类型,现在只支持 LogService。</param> /// <param name="outputDetail">输出详情。</param> /// <param name="project">项目名,此参数将覆盖 client 中默认设置。</param> /// <returns>异步响应结果。</returns> /// <seealso cref="ILogServiceClient.UpdateConfigAsync"/> public static Task <IResponse> UpdateConfigAsync(this ILogServiceClient client, String configName, String inputType, ConfigInputDetailInfo inputDetail, String outputType, ConfigOutputDetailInfo outputDetail, String project = null) => client.UpdateConfigAsync(new UpdateConfigRequest(configName, inputType, inputDetail, outputType, outputDetail) { ProjectName = project });