tencentcloud-sdk-nodejs 4.0.257 → 4.0.258

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 (58) hide show
  1. package/CHANGELOG.md +248 -202
  2. package/package.json +1 -1
  3. package/products.md +15 -15
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/billing/v20180709/billing_models.ts +5 -5
  6. package/src/services/cii/v20210408/cii_models.ts +1 -1
  7. package/src/services/faceid/v20180301/faceid_client.ts +12 -0
  8. package/src/services/faceid/v20180301/faceid_models.ts +60 -0
  9. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_client.ts +75 -14
  10. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +309 -20
  11. package/src/services/lighthouse/v20200324/lighthouse_client.ts +202 -38
  12. package/src/services/lighthouse/v20200324/lighthouse_models.ts +765 -77
  13. package/src/services/monitor/v20180724/monitor_client.ts +26 -7
  14. package/src/services/monitor/v20180724/monitor_models.ts +320 -0
  15. package/src/services/ocr/v20181119/ocr_models.ts +2 -1
  16. package/src/services/rum/v20210622/rum_models.ts +4 -4
  17. package/src/services/sms/v20210111/sms_client.ts +3 -3
  18. package/src/services/sts/v20180813/sts_client.ts +13 -0
  19. package/src/services/sts/v20180813/sts_models.ts +45 -0
  20. package/src/services/thpc/v20211109/thpc_client.ts +12 -0
  21. package/src/services/thpc/v20211109/thpc_models.ts +59 -0
  22. package/src/services/tiia/v20190529/tiia_client.ts +1 -0
  23. package/src/services/tiia/v20190529/tiia_models.ts +31 -0
  24. package/src/services/tke/v20180525/tke_models.ts +1 -1
  25. package/tencentcloud/common/sdk_version.d.ts +1 -1
  26. package/tencentcloud/common/sdk_version.js +1 -1
  27. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +5 -5
  28. package/tencentcloud/services/cii/v20210408/cii_models.d.ts +1 -1
  29. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
  30. package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
  31. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +50 -0
  32. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +25 -5
  33. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +36 -6
  34. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +263 -16
  35. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +66 -14
  36. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +95 -17
  37. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +665 -75
  38. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +11 -3
  39. package/tencentcloud/services/monitor/v20180724/monitor_client.js +13 -3
  40. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +275 -0
  41. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -1
  42. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +4 -4
  43. package/tencentcloud/services/sms/v20210111/sms_client.d.ts +3 -3
  44. package/tencentcloud/services/sms/v20210111/sms_client.js +3 -3
  45. package/tencentcloud/services/sts/v20180813/sts_client.d.ts +6 -1
  46. package/tencentcloud/services/sts/v20180813/sts_client.js +7 -0
  47. package/tencentcloud/services/sts/v20180813/sts_models.d.ts +38 -0
  48. package/tencentcloud/services/thpc/v20211109/thpc_client.d.ts +5 -1
  49. package/tencentcloud/services/thpc/v20211109/thpc_client.js +6 -0
  50. package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +50 -0
  51. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +26 -0
  52. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
  53. package/test/faceid.v20180301.test.js +10 -0
  54. package/test/iotvideoindustry.v20201201.test.js +54 -4
  55. package/test/lighthouse.v20200324.test.js +138 -8
  56. package/test/monitor.v20180724.test.js +12 -2
  57. package/test/sts.v20180813.test.js +10 -0
  58. package/test/thpc.v20211109.test.js +10 -0
@@ -4159,7 +4159,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
4159
4159
  */
4160
4160
  AuditLogTopicId?: string;
4161
4161
  /**
4162
- * 区分单网卡多IP模式和独立网卡模式
4162
+ * 区分共享网卡多IP模式和独立网卡模式,共享网卡多 IP 模式填写"tke-route-eni",独立网卡模式填写"tke-direct-eni",默认为共享网卡模式
4163
4163
  */
4164
4164
  VpcCniType?: string;
4165
4165
  /**
@@ -208,6 +208,16 @@ it("faceid.v20180301.MinorsVerification", async function () {
208
208
  }
209
209
  })
210
210
 
211
+ it("faceid.v20180301.DetectReflectLivenessAndCompare", async function () {
212
+ try {
213
+ const data = await client.DetectReflectLivenessAndCompare({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
211
221
  it("faceid.v20180301.CheckIdNameDate", async function () {
212
222
  try {
213
223
  const data = await client.CheckIdNameDate({})
@@ -58,6 +58,16 @@ it("iotvideoindustry.v20201201.UpdateDeviceGroup", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("iotvideoindustry.v20201201.ModifyMessageForward", async function () {
62
+ try {
63
+ const data = await client.ModifyMessageForward({})
64
+ expect(data).to.be.ok
65
+ } catch(error) {
66
+ expect(error.requestId).to.be.ok
67
+ expect(error.code).to.be.ok
68
+ }
69
+ })
70
+
61
71
  it("iotvideoindustry.v20201201.DescribeDeviceStreams", async function () {
62
72
  try {
63
73
  const data = await client.DescribeDeviceStreams({})
@@ -198,6 +208,16 @@ it("iotvideoindustry.v20201201.DeleteLiveVideoList", async function () {
198
208
  }
199
209
  })
200
210
 
211
+ it("iotvideoindustry.v20201201.GetRecordPlanByDev", async function () {
212
+ try {
213
+ const data = await client.GetRecordPlanByDev({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
201
221
  it("iotvideoindustry.v20201201.ModifyLiveRecordPlan", async function () {
202
222
  try {
203
223
  const data = await client.ModifyLiveRecordPlan({})
@@ -208,6 +228,16 @@ it("iotvideoindustry.v20201201.ModifyLiveRecordPlan", async function () {
208
228
  }
209
229
  })
210
230
 
231
+ it("iotvideoindustry.v20201201.DescribeMessageForwards", async function () {
232
+ try {
233
+ const data = await client.DescribeMessageForwards({})
234
+ expect(data).to.be.ok
235
+ } catch(error) {
236
+ expect(error.requestId).to.be.ok
237
+ expect(error.code).to.be.ok
238
+ }
239
+ })
240
+
211
241
  it("iotvideoindustry.v20201201.DeleteChannel", async function () {
212
242
  try {
213
243
  const data = await client.DeleteChannel({})
@@ -238,9 +268,9 @@ it("iotvideoindustry.v20201201.DescribeGroupDevices", async function () {
238
268
  }
239
269
  })
240
270
 
241
- it("iotvideoindustry.v20201201.GetRecordPlanByDev", async function () {
271
+ it("iotvideoindustry.v20201201.DeleteMessageForward", async function () {
242
272
  try {
243
- const data = await client.GetRecordPlanByDev({})
273
+ const data = await client.DeleteMessageForward({})
244
274
  expect(data).to.be.ok
245
275
  } catch(error) {
246
276
  expect(error.requestId).to.be.ok
@@ -288,6 +318,16 @@ it("iotvideoindustry.v20201201.DescribeGroupByPath", async function () {
288
318
  }
289
319
  })
290
320
 
321
+ it("iotvideoindustry.v20201201.DescribeStatisticSummary", async function () {
322
+ try {
323
+ const data = await client.DescribeStatisticSummary({})
324
+ expect(data).to.be.ok
325
+ } catch(error) {
326
+ expect(error.requestId).to.be.ok
327
+ expect(error.code).to.be.ok
328
+ }
329
+ })
330
+
291
331
  it("iotvideoindustry.v20201201.DescribeRecordDatesByLive", async function () {
292
332
  try {
293
333
  const data = await client.DescribeRecordDatesByLive({})
@@ -398,9 +438,9 @@ it("iotvideoindustry.v20201201.DeleteRecordPlan", async function () {
398
438
  }
399
439
  })
400
440
 
401
- it("iotvideoindustry.v20201201.DescribeStatisticSummary", async function () {
441
+ it("iotvideoindustry.v20201201.CreateMessageForward", async function () {
402
442
  try {
403
- const data = await client.DescribeStatisticSummary({})
443
+ const data = await client.CreateMessageForward({})
404
444
  expect(data).to.be.ok
405
445
  } catch(error) {
406
446
  expect(error.requestId).to.be.ok
@@ -468,6 +508,16 @@ it("iotvideoindustry.v20201201.ModifyLiveChannel", async function () {
468
508
  }
469
509
  })
470
510
 
511
+ it("iotvideoindustry.v20201201.DescribeMessageForward", async function () {
512
+ try {
513
+ const data = await client.DescribeMessageForward({})
514
+ expect(data).to.be.ok
515
+ } catch(error) {
516
+ expect(error.requestId).to.be.ok
517
+ expect(error.code).to.be.ok
518
+ }
519
+ })
520
+
471
521
  it("iotvideoindustry.v20201201.DeleteDeviceGroup", async function () {
472
522
  try {
473
523
  const data = await client.DeleteDeviceGroup({})
@@ -48,9 +48,9 @@ it("lighthouse.v20200324.DeleteBlueprints", async function () {
48
48
  }
49
49
  })
50
50
 
51
- it("lighthouse.v20200324.DescribeModifyInstanceBundles", async function () {
51
+ it("lighthouse.v20200324.DescribeInstancesDiskNum", async function () {
52
52
  try {
53
- const data = await client.DescribeModifyInstanceBundles({})
53
+ const data = await client.DescribeInstancesDiskNum({})
54
54
  expect(data).to.be.ok
55
55
  } catch(error) {
56
56
  expect(error.requestId).to.be.ok
@@ -98,9 +98,19 @@ it("lighthouse.v20200324.ModifyInstancesAttribute", async function () {
98
98
  }
99
99
  })
100
100
 
101
- it("lighthouse.v20200324.DescribeFirewallRulesTemplate", async function () {
101
+ it("lighthouse.v20200324.DescribeModifyInstanceBundles", async function () {
102
102
  try {
103
- const data = await client.DescribeFirewallRulesTemplate({})
103
+ const data = await client.DescribeModifyInstanceBundles({})
104
+ expect(data).to.be.ok
105
+ } catch(error) {
106
+ expect(error.requestId).to.be.ok
107
+ expect(error.code).to.be.ok
108
+ }
109
+ })
110
+
111
+ it("lighthouse.v20200324.DescribeCcnAttachedInstances", async function () {
112
+ try {
113
+ const data = await client.DescribeCcnAttachedInstances({})
104
114
  expect(data).to.be.ok
105
115
  } catch(error) {
106
116
  expect(error.requestId).to.be.ok
@@ -138,9 +148,19 @@ it("lighthouse.v20200324.DeleteKeyPairs", async function () {
138
148
  }
139
149
  })
140
150
 
141
- it("lighthouse.v20200324.DescribeCcnAttachedInstances", async function () {
151
+ it("lighthouse.v20200324.ModifyDisksRenewFlag", async function () {
142
152
  try {
143
- const data = await client.DescribeCcnAttachedInstances({})
153
+ const data = await client.ModifyDisksRenewFlag({})
154
+ expect(data).to.be.ok
155
+ } catch(error) {
156
+ expect(error.requestId).to.be.ok
157
+ expect(error.code).to.be.ok
158
+ }
159
+ })
160
+
161
+ it("lighthouse.v20200324.DescribeFirewallRulesTemplate", async function () {
162
+ try {
163
+ const data = await client.DescribeFirewallRulesTemplate({})
144
164
  expect(data).to.be.ok
145
165
  } catch(error) {
146
166
  expect(error.requestId).to.be.ok
@@ -188,6 +208,16 @@ it("lighthouse.v20200324.InquirePriceCreateBlueprint", async function () {
188
208
  }
189
209
  })
190
210
 
211
+ it("lighthouse.v20200324.AttachDisks", async function () {
212
+ try {
213
+ const data = await client.AttachDisks({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
191
221
  it("lighthouse.v20200324.AssociateInstancesKeyPairs", async function () {
192
222
  try {
193
223
  const data = await client.AssociateInstancesKeyPairs({})
@@ -268,9 +298,9 @@ it("lighthouse.v20200324.DescribeInstanceLoginKeyPairAttribute", async function
268
298
  }
269
299
  })
270
300
 
271
- it("lighthouse.v20200324.ResetInstance", async function () {
301
+ it("lighthouse.v20200324.DescribeDisksDeniedActions", async function () {
272
302
  try {
273
- const data = await client.ResetInstance({})
303
+ const data = await client.DescribeDisksDeniedActions({})
274
304
  expect(data).to.be.ok
275
305
  } catch(error) {
276
306
  expect(error.requestId).to.be.ok
@@ -288,6 +318,16 @@ it("lighthouse.v20200324.DescribeFirewallRules", async function () {
288
318
  }
289
319
  })
290
320
 
321
+ it("lighthouse.v20200324.DescribeDisks", async function () {
322
+ try {
323
+ const data = await client.DescribeDisks({})
324
+ expect(data).to.be.ok
325
+ } catch(error) {
326
+ expect(error.requestId).to.be.ok
327
+ expect(error.code).to.be.ok
328
+ }
329
+ })
330
+
291
331
  it("lighthouse.v20200324.DescribeGeneralResourceQuotas", async function () {
292
332
  try {
293
333
  const data = await client.DescribeGeneralResourceQuotas({})
@@ -358,6 +398,16 @@ it("lighthouse.v20200324.CreateInstanceSnapshot", async function () {
358
398
  }
359
399
  })
360
400
 
401
+ it("lighthouse.v20200324.ModifyDisksAttribute", async function () {
402
+ try {
403
+ const data = await client.ModifyDisksAttribute({})
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
+
361
411
  it("lighthouse.v20200324.DescribeRegions", async function () {
362
412
  try {
363
413
  const data = await client.DescribeRegions({})
@@ -388,6 +438,26 @@ it("lighthouse.v20200324.ModifySnapshotAttribute", async function () {
388
438
  }
389
439
  })
390
440
 
441
+ it("lighthouse.v20200324.DescribeDisksReturnable", async function () {
442
+ try {
443
+ const data = await client.DescribeDisksReturnable({})
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
+
451
+ it("lighthouse.v20200324.InquirePriceRenewDisks", async function () {
452
+ try {
453
+ const data = await client.InquirePriceRenewDisks({})
454
+ expect(data).to.be.ok
455
+ } catch(error) {
456
+ expect(error.requestId).to.be.ok
457
+ expect(error.code).to.be.ok
458
+ }
459
+ })
460
+
391
461
  it("lighthouse.v20200324.DescribeBlueprintInstances", async function () {
392
462
  try {
393
463
  const data = await client.DescribeBlueprintInstances({})
@@ -398,6 +468,16 @@ it("lighthouse.v20200324.DescribeBlueprintInstances", async function () {
398
468
  }
399
469
  })
400
470
 
471
+ it("lighthouse.v20200324.ResetInstance", async function () {
472
+ try {
473
+ const data = await client.ResetInstance({})
474
+ expect(data).to.be.ok
475
+ } catch(error) {
476
+ expect(error.requestId).to.be.ok
477
+ expect(error.code).to.be.ok
478
+ }
479
+ })
480
+
401
481
  it("lighthouse.v20200324.ApplyInstanceSnapshot", async function () {
402
482
  try {
403
483
  const data = await client.ApplyInstanceSnapshot({})
@@ -458,6 +538,16 @@ it("lighthouse.v20200324.DescribeInstanceVncUrl", async function () {
458
538
  }
459
539
  })
460
540
 
541
+ it("lighthouse.v20200324.TerminateDisks", async function () {
542
+ try {
543
+ const data = await client.TerminateDisks({})
544
+ expect(data).to.be.ok
545
+ } catch(error) {
546
+ expect(error.requestId).to.be.ok
547
+ expect(error.code).to.be.ok
548
+ }
549
+ })
550
+
461
551
  it("lighthouse.v20200324.StartInstances", async function () {
462
552
  try {
463
553
  const data = await client.StartInstances({})
@@ -498,6 +588,36 @@ it("lighthouse.v20200324.DescribeSnapshotsDeniedActions", async function () {
498
588
  }
499
589
  })
500
590
 
591
+ it("lighthouse.v20200324.InquirePriceCreateDisks", async function () {
592
+ try {
593
+ const data = await client.InquirePriceCreateDisks({})
594
+ expect(data).to.be.ok
595
+ } catch(error) {
596
+ expect(error.requestId).to.be.ok
597
+ expect(error.code).to.be.ok
598
+ }
599
+ })
600
+
601
+ it("lighthouse.v20200324.DescribeDiskDiscount", async function () {
602
+ try {
603
+ const data = await client.DescribeDiskDiscount({})
604
+ expect(data).to.be.ok
605
+ } catch(error) {
606
+ expect(error.requestId).to.be.ok
607
+ expect(error.code).to.be.ok
608
+ }
609
+ })
610
+
611
+ it("lighthouse.v20200324.DescribeDiskConfigs", async function () {
612
+ try {
613
+ const data = await client.DescribeDiskConfigs({})
614
+ expect(data).to.be.ok
615
+ } catch(error) {
616
+ expect(error.requestId).to.be.ok
617
+ expect(error.code).to.be.ok
618
+ }
619
+ })
620
+
501
621
  it("lighthouse.v20200324.DescribeZones", async function () {
502
622
  try {
503
623
  const data = await client.DescribeZones({})
@@ -538,4 +658,14 @@ it("lighthouse.v20200324.CreateBlueprint", async function () {
538
658
  }
539
659
  })
540
660
 
661
+ it("lighthouse.v20200324.DetachDisks", async function () {
662
+ try {
663
+ const data = await client.DetachDisks({})
664
+ expect(data).to.be.ok
665
+ } catch(error) {
666
+ expect(error.requestId).to.be.ok
667
+ expect(error.code).to.be.ok
668
+ }
669
+ })
670
+
541
671
  })
@@ -278,6 +278,16 @@ it("monitor.v20180724.DescribeAlarmNotices", async function () {
278
278
  }
279
279
  })
280
280
 
281
+ it("monitor.v20180724.ModifyAlarmPolicyStatus", async function () {
282
+ try {
283
+ const data = await client.ModifyAlarmPolicyStatus({})
284
+ expect(data).to.be.ok
285
+ } catch(error) {
286
+ expect(error.requestId).to.be.ok
287
+ expect(error.code).to.be.ok
288
+ }
289
+ })
290
+
281
291
  it("monitor.v20180724.DescribeAlarmNoticeCallbacks", async function () {
282
292
  try {
283
293
  const data = await client.DescribeAlarmNoticeCallbacks({})
@@ -418,9 +428,9 @@ it("monitor.v20180724.DescribeAlarmMetrics", async function () {
418
428
  }
419
429
  })
420
430
 
421
- it("monitor.v20180724.ModifyAlarmPolicyStatus", async function () {
431
+ it("monitor.v20180724.DescribePrometheusInstances", async function () {
422
432
  try {
423
- const data = await client.ModifyAlarmPolicyStatus({})
433
+ const data = await client.DescribePrometheusInstances({})
424
434
  expect(data).to.be.ok
425
435
  } catch(error) {
426
436
  expect(error.requestId).to.be.ok
@@ -58,4 +58,14 @@ it("sts.v20180813.AssumeRole", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("sts.v20180813.GetCallerIdentity", async function () {
62
+ try {
63
+ const data = await client.GetCallerIdentity({})
64
+ expect(data).to.be.ok
65
+ } catch(error) {
66
+ expect(error.requestId).to.be.ok
67
+ expect(error.code).to.be.ok
68
+ }
69
+ })
70
+
61
71
  })
@@ -28,6 +28,16 @@ it("thpc.v20211109.DeleteCluster", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("thpc.v20211109.BindAutoScalingGroup", async function () {
32
+ try {
33
+ const data = await client.BindAutoScalingGroup({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
31
41
  it("thpc.v20211109.CreateCluster", async function () {
32
42
  try {
33
43
  const data = await client.CreateCluster({})