tencentcloud-sdk-nodejs-teo 4.0.340 → 4.0.343

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.
@@ -16,6 +16,35 @@ export interface CreatePurgeTaskResponse {
16
16
  */
17
17
  RequestId?: string;
18
18
  }
19
+ /**
20
+ * DownloadL7Logs请求参数结构体
21
+ */
22
+ export interface DownloadL7LogsRequest {
23
+ /**
24
+ * 起始时间(需严格按照RFC3339标准传参)
25
+ */
26
+ StartTime: string;
27
+ /**
28
+ * 结束时间(需严格按照RFC3339标准传参)
29
+ */
30
+ EndTime: string;
31
+ /**
32
+ * 每页展示条数
33
+ */
34
+ PageSize: number;
35
+ /**
36
+ * 当前页
37
+ */
38
+ PageNo: number;
39
+ /**
40
+ * 站点集合
41
+ */
42
+ Zones?: Array<string>;
43
+ /**
44
+ * 域名集合
45
+ */
46
+ Domains?: Array<string>;
47
+ }
19
48
  /**
20
49
  * CreatePurgeTask请求参数结构体
21
50
  */
@@ -33,12 +62,20 @@ export interface CreatePurgeTaskRequest {
33
62
  */
34
63
  Type: string;
35
64
  /**
36
- * 内容,一行一个
37
- */
65
+ * 要刷新的资源列表,每个元素格式依据Type而定
66
+ 1) Type = purge_host 时
67
+ 形如:www.example.com 或 foo.bar.example.com
68
+ 2) Type = purge_prefix 时
69
+ 形如:http://www.example.com/example
70
+ 3) Type = purge_url 时
71
+ 形如:https://www.example.com/example.jpg
72
+ 4)Type = purge_all 时
73
+ Targets可为空,不需要填写
74
+ */
38
75
  Targets?: Array<string>;
39
76
  /**
40
77
  * 若有编码转换,仅清除编码转换后匹配的资源
41
- 若内容含有非 ASCII 字符集的字符,请打开 URL Encode 开关,编码转换(编码规则遵循 RFC3986)
78
+ 若内容含有非 ASCII 字符集的字符,请开启此开关,编码转换(编码规则遵循 RFC3986)
42
79
  */
43
80
  EncodeUrl?: boolean;
44
81
  }
@@ -153,6 +190,40 @@ export interface Zone {
153
190
  */
154
191
  ModifiedOn: string;
155
192
  }
193
+ /**
194
+ * DownloadL7Logs返回参数结构体
195
+ */
196
+ export interface DownloadL7LogsResponse {
197
+ /**
198
+ * 七层离线日志data
199
+ 注意:此字段可能返回 null,表示取不到有效值。
200
+ */
201
+ Data: Array<L7OfflineLog>;
202
+ /**
203
+ * 页面大小
204
+ 注意:此字段可能返回 null,表示取不到有效值。
205
+ */
206
+ PageSize: number;
207
+ /**
208
+ * 页号
209
+ 注意:此字段可能返回 null,表示取不到有效值。
210
+ */
211
+ PageNo: number;
212
+ /**
213
+ * 总页数
214
+ 注意:此字段可能返回 null,表示取不到有效值。
215
+ */
216
+ Pages: number;
217
+ /**
218
+ * 总条数
219
+ 注意:此字段可能返回 null,表示取不到有效值。
220
+ */
221
+ TotalSize: number;
222
+ /**
223
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
224
+ */
225
+ RequestId?: string;
226
+ }
156
227
  /**
157
228
  * DescribePrefetchTasks返回参数结构体
158
229
  */
@@ -227,8 +298,9 @@ export interface FailReason {
227
298
  */
228
299
  Reason: string;
229
300
  /**
230
- * 失败列表
231
- */
301
+ * 处理失败的资源列表。
302
+ 该列表元素来源于输入参数中的Targets,因此格式和入参中的Targets保持一致
303
+ */
232
304
  Targets: Array<string>;
233
305
  }
234
306
  /**
@@ -269,12 +341,14 @@ export interface CreatePrefetchTaskRequest {
269
341
  */
270
342
  ZoneId: string;
271
343
  /**
272
- * 预热的资源列表
273
- */
344
+ * 要预热的资源列表,每个元素格式类似如下:
345
+ http://www.example.com/example.txt
346
+ */
274
347
  Targets?: Array<string>;
275
348
  /**
276
- * 是否对url进行encode
277
- */
349
+ * 是否对url进行encode
350
+ 若内容含有非 ASCII 字符集的字符,请开启此开关,编码转换(编码规则遵循 RFC3986)
351
+ */
278
352
  EncodeUrl?: boolean;
279
353
  /**
280
354
  * 附带的http头部信息
@@ -359,3 +433,33 @@ export interface ZoneFilter {
359
433
  */
360
434
  Fuzzy?: boolean;
361
435
  }
436
+ /**
437
+ * 离线日志详细信息
438
+ */
439
+ export interface L7OfflineLog {
440
+ /**
441
+ * 日志打包开始时间
442
+ 注意:此字段可能返回 null,表示取不到有效值。
443
+ */
444
+ LogTime: number;
445
+ /**
446
+ * 站点名称
447
+ 注意:此字段可能返回 null,表示取不到有效值。
448
+ */
449
+ Domain: string;
450
+ /**
451
+ * 原始大小 单位byte
452
+ 注意:此字段可能返回 null,表示取不到有效值。
453
+ */
454
+ Size: number;
455
+ /**
456
+ * 下载地址
457
+ 注意:此字段可能返回 null,表示取不到有效值。
458
+ */
459
+ Url: string;
460
+ /**
461
+ * 日志数据包名
462
+ 注意:此字段可能返回 null,表示取不到有效值。
463
+ */
464
+ LogPacketName: string;
465
+ }