tencentcloud-sdk-nodejs 4.0.407 → 4.0.410

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +375 -0
  2. package/SERVICE_CHANGELOG.md +444 -14
  3. package/package.json +1 -1
  4. package/products.md +22 -22
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apm/v20210622/apm_models.ts +16 -0
  7. package/src/services/bda/v20200324/bda_models.ts +12 -0
  8. package/src/services/car/v20220110/car_models.ts +7 -0
  9. package/src/services/cat/v20180409/cat_models.ts +1 -5
  10. package/src/services/cbs/v20170312/cbs_models.ts +31 -19
  11. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  12. package/src/services/cdn/v20180606/cdn_models.ts +12 -0
  13. package/src/services/cls/v20201016/cls_models.ts +1 -1
  14. package/src/services/cpdp/v20190820/cpdp_client.ts +9 -36
  15. package/src/services/cpdp/v20190820/cpdp_models.ts +19 -260
  16. package/src/services/cvm/v20170312/cvm_models.ts +2 -2
  17. package/src/services/dnspod/v20210323/dnspod_models.ts +5 -0
  18. package/src/services/es/v20180416/es_models.ts +5 -0
  19. package/src/services/ess/v20201111/ess_client.ts +17 -2
  20. package/src/services/ess/v20201111/ess_models.ts +107 -12
  21. package/src/services/faceid/v20180301/faceid_models.ts +19 -3
  22. package/src/services/iai/v20200303/iai_models.ts +1 -1
  23. package/src/services/ocr/v20181119/ocr_models.ts +1 -1
  24. package/src/services/tcr/v20190924/tcr_models.ts +2 -2
  25. package/src/services/tem/v20210701/tem_client.ts +197 -22
  26. package/src/services/tem/v20210701/tem_models.ts +1091 -182
  27. package/src/services/teo/v20220106/teo_models.ts +22 -7
  28. package/tencentcloud/common/sdk_version.d.ts +1 -1
  29. package/tencentcloud/common/sdk_version.js +1 -1
  30. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +13 -0
  31. package/tencentcloud/services/bda/v20200324/bda_models.d.ts +10 -0
  32. package/tencentcloud/services/car/v20220110/car_models.d.ts +6 -0
  33. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +1 -5
  34. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +25 -15
  35. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  36. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -0
  37. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
  38. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +4 -12
  39. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +4 -16
  40. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +16 -218
  41. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
  42. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -0
  43. package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
  44. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +6 -1
  45. package/tencentcloud/services/ess/v20201111/ess_client.js +7 -0
  46. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +92 -12
  47. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +16 -3
  48. package/tencentcloud/services/iai/v20200303/iai_models.d.ts +1 -1
  49. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
  50. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +2 -2
  51. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +63 -7
  52. package/tencentcloud/services/tem/v20210701/tem_client.js +92 -8
  53. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +930 -159
  54. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +20 -7
  55. package/test/cpdp.v20190820.test.js +2 -22
  56. package/test/ess.v20201111.test.js +10 -0
  57. package/test/tem.v20210701.test.js +144 -4
@@ -8,6 +8,11 @@ on:开启
8
8
  off:关闭
9
9
  */
10
10
  Switch: string;
11
+ /**
12
+ * 支持的压缩算法列表
13
+ 注意:此字段可能返回 null,表示取不到有效值。
14
+ */
15
+ Algorithms?: Array<string>;
11
16
  }
12
17
  /**
13
18
  * web攻击日志Data
@@ -2072,7 +2077,7 @@ export interface WafConfig {
2072
2077
  */
2073
2078
  Mode: string;
2074
2079
  /**
2075
- * 门神黑白名单
2080
+ * 托管规则黑白名单
2076
2081
  */
2077
2082
  WafRules: WafRule;
2078
2083
  /**
@@ -2321,7 +2326,10 @@ export interface OriginRecord {
2321
2326
  /**
2322
2327
  * 当源站配置类型Type=weight时,表示权重
2323
2328
  取值范围为[1-100]
2324
- 源站组内多个源站权重总和应为100
2329
+ 源站组内多个源站权重总和应为100
2330
+ 当源站配置类型Type=proto,表示权重
2331
+ 取值范围为[1-100]
2332
+ 源站组内Proto相同的多个源站权重总和应为100。
2325
2333
  */
2326
2334
  Weight: number;
2327
2335
  /**
@@ -2344,6 +2352,11 @@ export interface OriginRecord {
2344
2352
  注意:此字段可能返回 null,表示取不到有效值。
2345
2353
  */
2346
2354
  PrivateParameter?: Array<OriginRecordPrivateParameter>;
2355
+ /**
2356
+ * 当源站配置类型Type=proto时,表示客户端请求协议,取值:http/https
2357
+ 注意:此字段可能返回 null,表示取不到有效值。
2358
+ */
2359
+ Proto?: string;
2347
2360
  }
2348
2361
  /**
2349
2362
  * web攻击日志
@@ -3279,15 +3292,15 @@ export interface CreatePrefetchTaskResponse {
3279
3292
  */
3280
3293
  export interface WafRule {
3281
3294
  /**
3282
- * 黑名单
3295
+ * 黑名单,ID参考接口 DescribeSecurityPolicyManagedRules
3283
3296
  */
3284
3297
  BlockRuleIDs: Array<number>;
3285
3298
  /**
3286
- * id的开关
3299
+ * 托管规则 开关
3287
3300
  */
3288
3301
  Switch: string;
3289
3302
  /**
3290
- * 观察模式
3303
+ * 观察模式,ID参考接口 DescribeSecurityPolicyManagedRules
3291
3304
  注意:此字段可能返回 null,表示取不到有效值。
3292
3305
  */
3293
3306
  ObserveRuleIDs?: Array<number>;
@@ -5537,7 +5550,7 @@ export interface DeleteZoneRequest {
5537
5550
  Id: string;
5538
5551
  }
5539
5552
  /**
5540
- * Bot 规则
5553
+ * Bot 规则,下列规则ID可参考接口 DescribeBotManagedRules返回的ID信息
5541
5554
  */
5542
5555
  export interface BotManagedRule {
5543
5556
  /**
@@ -6223,7 +6236,7 @@ export interface DdosAllowBlock {
6223
6236
  */
6224
6237
  export interface DDoSGeoIp {
6225
6238
  /**
6226
- * 地域信息
6239
+ * 地域信息,ID参考接口DescribeSecurityPolicyRegions
6227
6240
  注意:此字段可能返回 null,表示取不到有效值。
6228
6241
  */
6229
6242
  RegionId?: Array<number>;
@@ -1598,16 +1598,6 @@ it("cpdp.v20190820.QueryOpenBankDownLoadUrl", async function () {
1598
1598
  }
1599
1599
  })
1600
1600
 
1601
- it("cpdp.v20190820.GetDistributeBillDownloadUrl", async function () {
1602
- try {
1603
- const data = await client.GetDistributeBillDownloadUrl({})
1604
- expect(data).to.be.ok
1605
- } catch(error) {
1606
- expect(error.requestId).to.be.ok
1607
- expect(error.code).to.be.ok
1608
- }
1609
- })
1610
-
1611
1601
  it("cpdp.v20190820.QueryOrderStatus", async function () {
1612
1602
  try {
1613
1603
  const data = await client.QueryOrderStatus({})
@@ -1618,16 +1608,6 @@ it("cpdp.v20190820.QueryOrderStatus", async function () {
1618
1608
  }
1619
1609
  })
1620
1610
 
1621
- it("cpdp.v20190820.QuerySinglePay", async function () {
1622
- try {
1623
- const data = await client.QuerySinglePay({})
1624
- expect(data).to.be.ok
1625
- } catch(error) {
1626
- expect(error.requestId).to.be.ok
1627
- expect(error.code).to.be.ok
1628
- }
1629
- })
1630
-
1631
1611
  it("cpdp.v20190820.QueryPayerInfo", async function () {
1632
1612
  try {
1633
1613
  const data = await client.QueryPayerInfo({})
@@ -1668,9 +1648,9 @@ it("cpdp.v20190820.GetPayRollAuth", async function () {
1668
1648
  }
1669
1649
  })
1670
1650
 
1671
- it("cpdp.v20190820.CreateSinglePay", async function () {
1651
+ it("cpdp.v20190820.GetDistributeBillDownloadUrl", async function () {
1672
1652
  try {
1673
- const data = await client.CreateSinglePay({})
1653
+ const data = await client.GetDistributeBillDownloadUrl({})
1674
1654
  expect(data).to.be.ok
1675
1655
  } catch(error) {
1676
1656
  expect(error.requestId).to.be.ok
@@ -138,6 +138,16 @@ it("ess.v20201111.DescribeFlowTemplates", async function () {
138
138
  }
139
139
  })
140
140
 
141
+ it("ess.v20201111.CreateBatchCancelFlowUrl", async function () {
142
+ try {
143
+ const data = await client.CreateBatchCancelFlowUrl({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
141
151
  it("ess.v20201111.DescribeFlowBriefs", async function () {
142
152
  try {
143
153
  const data = await client.DescribeFlowBriefs({})
@@ -18,6 +18,16 @@ const client = new tencentcloud.tem.v20210701.Client({
18
18
  })
19
19
  describe("tem.v20210701.test.js", function () {
20
20
 
21
+ it("tem.v20210701.ModifyConfigData", async function () {
22
+ try {
23
+ const data = await client.ModifyConfigData({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
21
31
  it("tem.v20210701.DescribeApplicationsStatus", async function () {
22
32
  try {
23
33
  const data = await client.DescribeApplicationsStatus({})
@@ -28,6 +38,16 @@ it("tem.v20210701.DescribeApplicationsStatus", async function () {
28
38
  }
29
39
  })
30
40
 
41
+ it("tem.v20210701.DescribePagedLogConfigList", async function () {
42
+ try {
43
+ const data = await client.DescribePagedLogConfigList({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
31
51
  it("tem.v20210701.ModifyIngress", async function () {
32
52
  try {
33
53
  const data = await client.ModifyIngress({})
@@ -48,6 +68,36 @@ it("tem.v20210701.ModifyApplicationReplicas", async function () {
48
68
  }
49
69
  })
50
70
 
71
+ it("tem.v20210701.CreateApplicationAutoscaler", async function () {
72
+ try {
73
+ const data = await client.CreateApplicationAutoscaler({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
81
+ it("tem.v20210701.RestartApplicationPod", async function () {
82
+ try {
83
+ const data = await client.RestartApplicationPod({})
84
+ expect(data).to.be.ok
85
+ } catch(error) {
86
+ expect(error.requestId).to.be.ok
87
+ expect(error.code).to.be.ok
88
+ }
89
+ })
90
+
91
+ it("tem.v20210701.ModifyLogConfig", async function () {
92
+ try {
93
+ const data = await client.ModifyLogConfig({})
94
+ expect(data).to.be.ok
95
+ } catch(error) {
96
+ expect(error.requestId).to.be.ok
97
+ expect(error.code).to.be.ok
98
+ }
99
+ })
100
+
51
101
  it("tem.v20210701.DeleteApplication", async function () {
52
102
  try {
53
103
  const data = await client.DeleteApplication({})
@@ -88,6 +138,16 @@ it("tem.v20210701.DeployApplication", async function () {
88
138
  }
89
139
  })
90
140
 
141
+ it("tem.v20210701.ModifyApplicationAutoscaler", async function () {
142
+ try {
143
+ const data = await client.ModifyApplicationAutoscaler({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
91
151
  it("tem.v20210701.DescribeDeployApplicationDetail", async function () {
92
152
  try {
93
153
  const data = await client.DescribeDeployApplicationDetail({})
@@ -118,6 +178,16 @@ it("tem.v20210701.ModifyEnvironment", async function () {
118
178
  }
119
179
  })
120
180
 
181
+ it("tem.v20210701.DescribeLogConfig", async function () {
182
+ try {
183
+ const data = await client.DescribeLogConfig({})
184
+ expect(data).to.be.ok
185
+ } catch(error) {
186
+ expect(error.requestId).to.be.ok
187
+ expect(error.code).to.be.ok
188
+ }
189
+ })
190
+
121
191
  it("tem.v20210701.StopApplication", async function () {
122
192
  try {
123
193
  const data = await client.StopApplication({})
@@ -128,6 +198,16 @@ it("tem.v20210701.StopApplication", async function () {
128
198
  }
129
199
  })
130
200
 
201
+ it("tem.v20210701.CreateLogConfig", async function () {
202
+ try {
203
+ const data = await client.CreateLogConfig({})
204
+ expect(data).to.be.ok
205
+ } catch(error) {
206
+ expect(error.requestId).to.be.ok
207
+ expect(error.code).to.be.ok
208
+ }
209
+ })
210
+
131
211
  it("tem.v20210701.DescribeApplicationInfo", async function () {
132
212
  try {
133
213
  const data = await client.DescribeApplicationInfo({})
@@ -138,6 +218,16 @@ it("tem.v20210701.DescribeApplicationInfo", async function () {
138
218
  }
139
219
  })
140
220
 
221
+ it("tem.v20210701.CreateConfigData", async function () {
222
+ try {
223
+ const data = await client.CreateConfigData({})
224
+ expect(data).to.be.ok
225
+ } catch(error) {
226
+ expect(error.requestId).to.be.ok
227
+ expect(error.code).to.be.ok
228
+ }
229
+ })
230
+
141
231
  it("tem.v20210701.DescribeApplicationPods", async function () {
142
232
  try {
143
233
  const data = await client.DescribeApplicationPods({})
@@ -148,9 +238,9 @@ it("tem.v20210701.DescribeApplicationPods", async function () {
148
238
  }
149
239
  })
150
240
 
151
- it("tem.v20210701.RestartApplication", async function () {
241
+ it("tem.v20210701.DeleteApplicationAutoscaler", async function () {
152
242
  try {
153
- const data = await client.RestartApplication({})
243
+ const data = await client.DeleteApplicationAutoscaler({})
154
244
  expect(data).to.be.ok
155
245
  } catch(error) {
156
246
  expect(error.requestId).to.be.ok
@@ -168,6 +258,16 @@ it("tem.v20210701.ModifyApplicationInfo", async function () {
168
258
  }
169
259
  })
170
260
 
261
+ it("tem.v20210701.DestroyConfigData", async function () {
262
+ try {
263
+ const data = await client.DestroyConfigData({})
264
+ expect(data).to.be.ok
265
+ } catch(error) {
266
+ expect(error.requestId).to.be.ok
267
+ expect(error.code).to.be.ok
268
+ }
269
+ })
270
+
171
271
  it("tem.v20210701.DescribeEnvironments", async function () {
172
272
  try {
173
273
  const data = await client.DescribeEnvironments({})
@@ -238,9 +338,9 @@ it("tem.v20210701.CreateApplication", async function () {
238
338
  }
239
339
  })
240
340
 
241
- it("tem.v20210701.RestartApplicationPod", async function () {
341
+ it("tem.v20210701.RestartApplication", async function () {
242
342
  try {
243
- const data = await client.RestartApplicationPod({})
343
+ const data = await client.RestartApplication({})
244
344
  expect(data).to.be.ok
245
345
  } catch(error) {
246
346
  expect(error.requestId).to.be.ok
@@ -278,6 +378,16 @@ it("tem.v20210701.RevertDeployApplication", async function () {
278
378
  }
279
379
  })
280
380
 
381
+ it("tem.v20210701.DestroyLogConfig", async function () {
382
+ try {
383
+ const data = await client.DestroyLogConfig({})
384
+ expect(data).to.be.ok
385
+ } catch(error) {
386
+ expect(error.requestId).to.be.ok
387
+ expect(error.code).to.be.ok
388
+ }
389
+ })
390
+
281
391
  it("tem.v20210701.DescribeRelatedIngresses", async function () {
282
392
  try {
283
393
  const data = await client.DescribeRelatedIngresses({})
@@ -288,6 +398,16 @@ it("tem.v20210701.DescribeRelatedIngresses", async function () {
288
398
  }
289
399
  })
290
400
 
401
+ it("tem.v20210701.DescribeConfigData", async function () {
402
+ try {
403
+ const data = await client.DescribeConfigData({})
404
+ expect(data).to.be.ok
405
+ } catch(error) {
406
+ expect(error.requestId).to.be.ok
407
+ expect(error.code).to.be.ok
408
+ }
409
+ })
410
+
291
411
  it("tem.v20210701.CreateResource", async function () {
292
412
  try {
293
413
  const data = await client.CreateResource({})
@@ -298,6 +418,16 @@ it("tem.v20210701.CreateResource", async function () {
298
418
  }
299
419
  })
300
420
 
421
+ it("tem.v20210701.DescribeApplicationAutoscalerList", async function () {
422
+ try {
423
+ const data = await client.DescribeApplicationAutoscalerList({})
424
+ expect(data).to.be.ok
425
+ } catch(error) {
426
+ expect(error.requestId).to.be.ok
427
+ expect(error.code).to.be.ok
428
+ }
429
+ })
430
+
301
431
  it("tem.v20210701.DestroyEnvironment", async function () {
302
432
  try {
303
433
  const data = await client.DestroyEnvironment({})
@@ -308,4 +438,14 @@ it("tem.v20210701.DestroyEnvironment", async function () {
308
438
  }
309
439
  })
310
440
 
441
+ it("tem.v20210701.DescribeConfigDataList", async function () {
442
+ try {
443
+ const data = await client.DescribeConfigDataList({})
444
+ expect(data).to.be.ok
445
+ } catch(error) {
446
+ expect(error.requestId).to.be.ok
447
+ expect(error.code).to.be.ok
448
+ }
449
+ })
450
+
311
451
  })