tencentcloud-sdk-nodejs-teo 4.1.263 → 4.1.265
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1076,59 +1076,59 @@ export interface RateLimitConfig {
|
|
|
1076
1076
|
*/
|
|
1077
1077
|
export interface CreateRealtimeLogDeliveryTaskRequest {
|
|
1078
1078
|
/**
|
|
1079
|
-
*
|
|
1079
|
+
* <p>站点 ID。</p>
|
|
1080
1080
|
*/
|
|
1081
1081
|
ZoneId: string;
|
|
1082
1082
|
/**
|
|
1083
|
-
*
|
|
1083
|
+
* <p>数据投递区域,可选值:<ul><li>mainland:中国大陆境内;</li><li>overseas:全球(不含中国大陆)。</li></ul></p>
|
|
1084
1084
|
*/
|
|
1085
1085
|
Area: string;
|
|
1086
1086
|
/**
|
|
1087
|
-
*
|
|
1087
|
+
* <p>数据投递类型,可选值:<ul><li>l7-access-logs:七层访问日志;</li><li>application:四层代理日志;</li><li>function:边缘函数运行日志;</li><li>web-attack:托管规则日志;</li></ul>以下类型日志合并入 l7-access-logs,不再支持新增:</p><ul><li>domain:站点加速日志;</li><li>web-rateLiming:速率限制和 CC 攻击防护日志;</li><li>web-rule:自定义规则日志;</li><li>web-bot:Bot 管理日志。</li></ul>
|
|
1088
1088
|
*/
|
|
1089
1089
|
LogType: string;
|
|
1090
1090
|
/**
|
|
1091
|
-
*
|
|
1091
|
+
* <p>实时日志投递任务的名称,格式为数字、英文、-和_组合,最多 200 个字符。</p>
|
|
1092
1092
|
*/
|
|
1093
1093
|
TaskName: string;
|
|
1094
1094
|
/**
|
|
1095
|
-
*
|
|
1095
|
+
* <p>实时日志投递任务类型,取值有:<ul><li>cls: 推送到腾讯云 CLS;</li><li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li><li>s3:推送到 AWS S3 兼容存储桶地址;</li><li>log_analysis:推送到 EdgeOne 日志分析,仅当 LogType = l7-access-logs 或 web-attack 时支持。</li></ul></p>
|
|
1096
1096
|
*/
|
|
1097
1097
|
TaskType: string;
|
|
1098
1098
|
/**
|
|
1099
|
-
*
|
|
1099
|
+
* <p>实时日志投递任务对应的实体列表。取值示例如下:<ul><li>七层域名:domain.example.com</li><li>四层代理实例:sid-2s69eb5wcms7</li><li>边缘函数实例:test-zone-2mxigizoh9l9-1257626257</li></ul></p><p>取值参考:<a href="https://cloud.tencent.com/document/api/1552/103413">DescribeL4Proxy</a></p>
|
|
1100
1100
|
*/
|
|
1101
1101
|
EntityList: Array<string>;
|
|
1102
1102
|
/**
|
|
1103
|
-
*
|
|
1103
|
+
* <p>投递的预设字段列表。取值参考:<ul><li><a href="https://cloud.tencent.com/document/product/1552/105791">七层访问日志(站点加速日志)</a></li><li><a href="https://cloud.tencent.com/document/product/1552/105792">四层代理日志</a></li><li><a href="https://cloud.tencent.com/document/product/1552/115585">边缘函数运行日志</a></li></ul></p><p>取值参考:DescribeLogFields</p>
|
|
1104
1104
|
*/
|
|
1105
1105
|
Fields: Array<string>;
|
|
1106
1106
|
/**
|
|
1107
|
-
*
|
|
1107
|
+
* <p>投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie、请求正文中提取指定内容。<br>自定义字段名称不能重复,仅七层访问日志(LogType= l7-access-logs 或 domain)支持添加自定义字段。<br>允许配置的自定义字段个数有配额限制,如遇配额不足请 [联系我们](https://cloud.tencent.com/online-service?from=sales&source=PRESALE)。</p>
|
|
1108
1108
|
*/
|
|
1109
1109
|
CustomFields?: Array<CustomField>;
|
|
1110
1110
|
/**
|
|
1111
|
-
*
|
|
1111
|
+
* <p>日志投递的过滤条件,不填表示投递全量日志。</p>
|
|
1112
1112
|
*/
|
|
1113
1113
|
DeliveryConditions?: Array<DeliveryCondition>;
|
|
1114
1114
|
/**
|
|
1115
|
-
*
|
|
1115
|
+
* <p>采样比例,采用千分制,取值范围为1-1000,例如:填写 605 表示采样比例为 60.5%。不填表示采样比例为 100%。</p>
|
|
1116
1116
|
*/
|
|
1117
1117
|
Sample?: number;
|
|
1118
1118
|
/**
|
|
1119
|
-
*
|
|
1119
|
+
* <p>日志投递的输出格式,使用详情见 <a href="https://cloud.tencent.com/document/product/1552/110448">自定义日志输出格式</a>。不填表示为默认格式,默认格式逻辑如下:<ul><li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li><li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines;</li></ul>特别地,当 TaskType 取值为 cls 或 log_analysis 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。</p>
|
|
1120
1120
|
*/
|
|
1121
1121
|
LogFormat?: LogFormat;
|
|
1122
1122
|
/**
|
|
1123
|
-
* CLS 的配置信息。当 TaskType 取值为 cls
|
|
1123
|
+
* <p>CLS 的配置信息。当 TaskType 取值为 cls 时,该参数必填。</p>
|
|
1124
1124
|
*/
|
|
1125
1125
|
CLS?: CLSTopic;
|
|
1126
1126
|
/**
|
|
1127
|
-
*
|
|
1127
|
+
* <p>自定义 HTTP 服务的配置信息。当 TaskType 取值为 custom_endpoint 时,该参数必填。</p>
|
|
1128
1128
|
*/
|
|
1129
1129
|
CustomEndpoint?: CustomEndpoint;
|
|
1130
1130
|
/**
|
|
1131
|
-
* AWS S3 兼容存储桶的配置信息。当 TaskType 取值为 s3
|
|
1131
|
+
* <p>AWS S3 兼容存储桶的配置信息。当 TaskType 取值为 s3 时,该参数必填。</p>
|
|
1132
1132
|
*/
|
|
1133
1133
|
S3?: S3;
|
|
1134
1134
|
}
|
|
@@ -2421,77 +2421,75 @@ export interface CreateL7AccRulesRequest {
|
|
|
2421
2421
|
*/
|
|
2422
2422
|
export interface RealtimeLogDeliveryTask {
|
|
2423
2423
|
/**
|
|
2424
|
-
*
|
|
2424
|
+
* <p>实时日志投递任务 ID。</p>
|
|
2425
2425
|
*/
|
|
2426
2426
|
TaskId?: string;
|
|
2427
2427
|
/**
|
|
2428
|
-
*
|
|
2428
|
+
* <p>实时日志投递任务的名称。</p>
|
|
2429
2429
|
*/
|
|
2430
2430
|
TaskName?: string;
|
|
2431
2431
|
/**
|
|
2432
|
-
*
|
|
2432
|
+
* <p>实时日志投递任务的状态,取值有: <li>enabled: 已启用;</li> <li>disabled: 已停用;</li><li>deleted: 异常删除状态,请检查目的地腾讯云 CLS 日志集/日志主题是否已被删除。</li></p>
|
|
2433
2433
|
*/
|
|
2434
2434
|
DeliveryStatus?: string;
|
|
2435
2435
|
/**
|
|
2436
|
-
*
|
|
2436
|
+
* <p>实时日志投递任务类型,取值有: <li>cls: 推送到腾讯云 CLS;</li> <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li> <li>s3:推送到 AWS S3 兼容存储桶地址;</li><li>log_analysis:推送到 EdgeOne 日志分析。</li></p>
|
|
2437
2437
|
*/
|
|
2438
2438
|
TaskType?: string;
|
|
2439
2439
|
/**
|
|
2440
|
-
*
|
|
2440
|
+
* <p>实时日志投递任务对应的实体(七层域名或者四层代理实例)列表。取值示例如下: <li>七层域名:domain.example.com;</li> <li>四层代理实例:sid-2s69eb5wcms7。</li></p>
|
|
2441
2441
|
*/
|
|
2442
2442
|
EntityList?: Array<string>;
|
|
2443
2443
|
/**
|
|
2444
|
-
*
|
|
2444
|
+
* <p>数据投递类型,取值有: <li>l7-access-logs:七层访问日志;</li><li>application:四层代理日志;</li> <li>function:边缘函数运行日志;</li> <li>web-attack:托管规则日志;</li> <li>domain:站点加速日志;</li> <li>web-rateLiming:速率限制和 CC 攻击防护日志;</li><li>web-rule:自定义规则日志;</li> <li>web-bot:Bot 管理日志。</li></p>
|
|
2445
2445
|
*/
|
|
2446
2446
|
LogType?: string;
|
|
2447
2447
|
/**
|
|
2448
|
-
*
|
|
2448
|
+
* <p>数据投递区域,取值有: <li>mainland:中国大陆境内;</li> <li>overseas:全球(不含中国大陆)。</li></p>
|
|
2449
2449
|
*/
|
|
2450
2450
|
Area?: string;
|
|
2451
2451
|
/**
|
|
2452
|
-
*
|
|
2452
|
+
* <p>投递的预设字段列表。</p>
|
|
2453
2453
|
*/
|
|
2454
2454
|
Fields?: Array<string>;
|
|
2455
2455
|
/**
|
|
2456
|
-
*
|
|
2456
|
+
* <p>投递的自定义字段列表。</p>
|
|
2457
2457
|
*/
|
|
2458
2458
|
CustomFields?: Array<CustomField>;
|
|
2459
2459
|
/**
|
|
2460
|
-
*
|
|
2460
|
+
* <p>日志投递的过滤条件。</p>
|
|
2461
2461
|
*/
|
|
2462
2462
|
DeliveryConditions?: Array<DeliveryCondition>;
|
|
2463
2463
|
/**
|
|
2464
|
-
*
|
|
2464
|
+
* <p>采样比例,采用千分制,取值范围为1-1000,例如:605 表示采样比例为 60.5%。</p>
|
|
2465
2465
|
*/
|
|
2466
2466
|
Sample?: number;
|
|
2467
2467
|
/**
|
|
2468
|
-
*
|
|
2469
|
-
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li>
|
|
2470
|
-
<li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li>
|
|
2468
|
+
* <p>日志投递的输出格式。出参为 null 时表示为默认格式,默认格式逻辑如下:</p><li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li><li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li>
|
|
2471
2469
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2472
2470
|
*/
|
|
2473
2471
|
LogFormat?: LogFormat;
|
|
2474
2472
|
/**
|
|
2475
|
-
* CLS
|
|
2473
|
+
* <p>CLS 的配置信息。</p>
|
|
2476
2474
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2477
2475
|
*/
|
|
2478
2476
|
CLS?: CLSTopic;
|
|
2479
2477
|
/**
|
|
2480
|
-
*
|
|
2478
|
+
* <p>自定义 HTTP 服务的配置信息。</p>
|
|
2481
2479
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2482
2480
|
*/
|
|
2483
2481
|
CustomEndpoint?: CustomEndpoint;
|
|
2484
2482
|
/**
|
|
2485
|
-
* AWS S3
|
|
2483
|
+
* <p>AWS S3 兼容存储桶的配置信息。</p>
|
|
2486
2484
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2487
2485
|
*/
|
|
2488
2486
|
S3?: S3;
|
|
2489
2487
|
/**
|
|
2490
|
-
*
|
|
2488
|
+
* <p>创建时间。</p>
|
|
2491
2489
|
*/
|
|
2492
2490
|
CreateTime?: string;
|
|
2493
2491
|
/**
|
|
2494
|
-
*
|
|
2492
|
+
* <p>更新时间。</p>
|
|
2495
2493
|
*/
|
|
2496
2494
|
UpdateTime?: string;
|
|
2497
2495
|
}
|
|
@@ -10177,7 +10175,7 @@ export interface FileAscriptionInfo {
|
|
|
10177
10175
|
*/
|
|
10178
10176
|
export interface CreateRealtimeLogDeliveryTaskResponse {
|
|
10179
10177
|
/**
|
|
10180
|
-
*
|
|
10178
|
+
* <p>创建成功的任务ID。</p>
|
|
10181
10179
|
*/
|
|
10182
10180
|
TaskId?: string;
|
|
10183
10181
|
/**
|