tencentcloud-sdk-nodejs 4.0.320 → 4.0.323

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 (107) hide show
  1. package/CHANGELOG.md +469 -0
  2. package/SERVICE_CHANGELOG.md +620 -0
  3. package/package.json +1 -1
  4. package/products.md +46 -45
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_client.ts +1 -1
  7. package/src/services/antiddos/v20200309/antiddos_models.ts +28 -21
  8. package/src/services/asr/v20190614/asr_models.ts +6 -0
  9. package/src/services/bmvpc/v20180625/bmvpc_models.ts +2 -2
  10. package/src/services/captcha/v20190722/captcha_client.ts +2 -2
  11. package/src/services/captcha/v20190722/captcha_models.ts +4 -4
  12. package/src/services/cdb/v20170320/cdb_models.ts +16 -1
  13. package/src/services/cdn/v20180606/cdn_client.ts +1 -1
  14. package/src/services/cdn/v20180606/cdn_models.ts +64 -35
  15. package/src/services/cfw/v20190904/cfw_models.ts +22 -6
  16. package/src/services/cls/v20201016/cls_client.ts +101 -26
  17. package/src/services/cls/v20201016/cls_models.ts +572 -190
  18. package/src/services/cvm/v20170312/cvm_client.ts +1 -1
  19. package/src/services/cvm/v20170312/cvm_models.ts +21 -6
  20. package/src/services/ecdn/v20191012/ecdn_client.ts +1 -1
  21. package/src/services/ecdn/v20191012/ecdn_models.ts +2 -2
  22. package/src/services/gs/v20191118/gs_models.ts +7 -0
  23. package/src/services/icr/index.ts +5 -0
  24. package/src/services/icr/v20211014/icr_client.ts +54 -0
  25. package/src/services/icr/v20211014/icr_models.ts +363 -0
  26. package/src/services/icr/v20211014/index.ts +6 -0
  27. package/src/services/iecp/v20210914/iecp_client.ts +167 -20
  28. package/src/services/iecp/v20210914/iecp_models.ts +897 -222
  29. package/src/services/index.ts +1 -0
  30. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +62 -55
  31. package/src/services/lighthouse/v20200324/lighthouse_models.ts +18 -2
  32. package/src/services/live/v20180801/live_client.ts +3 -2
  33. package/src/services/ocr/v20181119/ocr_client.ts +1 -1
  34. package/src/services/ocr/v20181119/ocr_models.ts +1 -1
  35. package/src/services/ssa/v20180608/ssa_client.ts +18 -1
  36. package/src/services/ssa/v20180608/ssa_models.ts +233 -7
  37. package/src/services/tag/v20180813/tag_client.ts +203 -105
  38. package/src/services/tag/v20180813/tag_models.ts +377 -47
  39. package/src/services/tcm/v20210413/tcm_models.ts +1 -1
  40. package/src/services/tcss/v20201101/tcss_models.ts +13 -0
  41. package/src/services/tdmq/v20200217/tdmq_models.ts +36 -0
  42. package/src/services/tke/v20180525/tke_models.ts +12 -0
  43. package/src/services/tsf/v20180326/tsf_client.ts +15 -0
  44. package/src/services/tsf/v20180326/tsf_models.ts +248 -1
  45. package/tencentcloud/common/sdk_version.d.ts +1 -1
  46. package/tencentcloud/common/sdk_version.js +1 -1
  47. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
  48. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +28 -21
  49. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +5 -0
  50. package/tencentcloud/services/bmvpc/v20180625/bmvpc_models.d.ts +2 -2
  51. package/tencentcloud/services/captcha/v20190722/captcha_client.d.ts +2 -2
  52. package/tencentcloud/services/captcha/v20190722/captcha_client.js +2 -2
  53. package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +4 -4
  54. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +13 -1
  55. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
  56. package/tencentcloud/services/cdn/v20180606/cdn_client.js +1 -1
  57. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +60 -34
  58. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +19 -6
  59. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +31 -7
  60. package/tencentcloud/services/cls/v20201016/cls_client.js +45 -9
  61. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +510 -186
  62. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
  63. package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
  64. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +18 -6
  65. package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +1 -1
  66. package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +1 -1
  67. package/tencentcloud/services/ecdn/v20191012/ecdn_models.d.ts +2 -2
  68. package/tencentcloud/services/gs/v20191118/gs_models.d.ts +6 -0
  69. package/tencentcloud/services/icr/index.d.ts +6 -0
  70. package/tencentcloud/services/icr/index.js +7 -0
  71. package/tencentcloud/services/icr/v20211014/icr_client.d.ts +14 -0
  72. package/tencentcloud/services/icr/v20211014/icr_client.js +37 -0
  73. package/tencentcloud/services/icr/v20211014/icr_models.d.ts +297 -0
  74. package/tencentcloud/services/icr/v20211014/icr_models.js +18 -0
  75. package/tencentcloud/services/icr/v20211014/index.d.ts +6 -0
  76. package/tencentcloud/services/icr/v20211014/index.js +9 -0
  77. package/tencentcloud/services/iecp/v20210914/iecp_client.d.ts +51 -3
  78. package/tencentcloud/services/iecp/v20210914/iecp_client.js +75 -3
  79. package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +756 -189
  80. package/tencentcloud/services/index.d.ts +1 -0
  81. package/tencentcloud/services/index.js +2 -0
  82. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +61 -55
  83. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +16 -1
  84. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -0
  85. package/tencentcloud/services/live/v20180801/live_client.js +1 -0
  86. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
  87. package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
  88. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
  89. package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +5 -1
  90. package/tencentcloud/services/ssa/v20180608/ssa_client.js +6 -0
  91. package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +199 -7
  92. package/tencentcloud/services/tag/v20180813/tag_client.d.ts +68 -36
  93. package/tencentcloud/services/tag/v20180813/tag_client.js +101 -53
  94. package/tencentcloud/services/tag/v20180813/tag_models.d.ts +329 -40
  95. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +1 -1
  96. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +11 -0
  97. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +30 -0
  98. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +10 -0
  99. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +5 -1
  100. package/tencentcloud/services/tsf/v20180326/tsf_client.js +6 -0
  101. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +210 -1
  102. package/test/cls.v20201016.test.js +66 -6
  103. package/test/icr.v20211014.test.js +31 -0
  104. package/test/iecp.v20210914.test.js +122 -2
  105. package/test/ssa.v20180608.test.js +10 -0
  106. package/test/tag.v20180813.test.js +116 -36
  107. package/test/tsf.v20180326.test.js +10 -0
@@ -2250,10 +2250,15 @@ export interface ImageRepository {
2250
2250
  */
2251
2251
  ApplicationId: string;
2252
2252
  /**
2253
- * ApplicationName值(类型是string)
2253
+ * ApplicationName值(废弃)
2254
2254
  注意:此字段可能返回 null,表示取不到有效值。
2255
2255
  */
2256
2256
  ApplicationName: ScalableRule;
2257
+ /**
2258
+ * ApplicationName值
2259
+ 注意:此字段可能返回 null,表示取不到有效值。
2260
+ */
2261
+ ApplicationNameReal: string;
2257
2262
  }
2258
2263
  /**
2259
2264
  * DescribeInovcationIndicators请求参数结构体
@@ -2981,6 +2986,11 @@ export interface ContainGroup {
2981
2986
  注意:此字段可能返回 null,表示取不到有效值。
2982
2987
  */
2983
2988
  Alias: string;
2989
+ /**
2990
+ * KubeInjectEnable值
2991
+ 注意:此字段可能返回 null,表示取不到有效值。
2992
+ */
2993
+ KubeInjectEnable: boolean;
2984
2994
  }
2985
2995
  /**
2986
2996
  * 部署组列表(应用下钻)
@@ -3279,6 +3289,21 @@ export interface TsfPageCluster {
3279
3289
  */
3280
3290
  Content: Array<Cluster>;
3281
3291
  }
3292
+ /**
3293
+ * InstanceEnrichedInfo列表结构
3294
+ */
3295
+ export interface InstanceEnrichedInfoPage {
3296
+ /**
3297
+ * 总数量
3298
+ 注意:此字段可能返回 null,表示取不到有效值。
3299
+ */
3300
+ TotalCount: number;
3301
+ /**
3302
+ * 列表
3303
+ 注意:此字段可能返回 null,表示取不到有效值。
3304
+ */
3305
+ Content: Array<InstanceEnrichedInfo>;
3306
+ }
3282
3307
  /**
3283
3308
  * DescribePodInstances返回参数结构体
3284
3309
  */
@@ -3584,6 +3609,46 @@ export interface ServiceStatisticsResult {
3584
3609
  注意:此字段可能返回 null,表示取不到有效值。
3585
3610
  */
3586
3611
  DbType: string;
3612
+ /**
3613
+ * Apdex值
3614
+ 注意:此字段可能返回 null,表示取不到有效值。
3615
+ */
3616
+ Apdex: number;
3617
+ /**
3618
+ * Qps值
3619
+ 注意:此字段可能返回 null,表示取不到有效值。
3620
+ */
3621
+ Qps: number;
3622
+ /**
3623
+ * 实例在线数
3624
+ 注意:此字段可能返回 null,表示取不到有效值。
3625
+ */
3626
+ InstanceOnlineCount: number;
3627
+ /**
3628
+ * 实例总数
3629
+ 注意:此字段可能返回 null,表示取不到有效值。
3630
+ */
3631
+ InstanceTotalCount: number;
3632
+ /**
3633
+ * normal/error
3634
+ 注意:此字段可能返回 null,表示取不到有效值。
3635
+ */
3636
+ Status: string;
3637
+ /**
3638
+ * normal/warn/error
3639
+ 注意:此字段可能返回 null,表示取不到有效值。
3640
+ */
3641
+ ErrorRateLevel: string;
3642
+ /**
3643
+ * normal/warn/error
3644
+ 注意:此字段可能返回 null,表示取不到有效值。
3645
+ */
3646
+ AvgTimeConsumingLevel: string;
3647
+ /**
3648
+ * normal/warn/error
3649
+ 注意:此字段可能返回 null,表示取不到有效值。
3650
+ */
3651
+ ApdexLevel: string;
3587
3652
  }
3588
3653
  /**
3589
3654
  * CreateContainGroup返回参数结构体
@@ -3837,6 +3902,11 @@ export interface Namespace {
3837
3902
  注意:此字段可能返回 null,表示取不到有效值。
3838
3903
  */
3839
3904
  IsHaEnable: string;
3905
+ /**
3906
+ * KubeInjectEnable值
3907
+ 注意:此字段可能返回 null,表示取不到有效值。
3908
+ */
3909
+ KubeInjectEnable: boolean;
3840
3910
  }
3841
3911
  /**
3842
3912
  * DescribeGroup返回参数结构体
@@ -4426,6 +4496,11 @@ export interface ContainerGroupDeploy {
4426
4496
  注意:此字段可能返回 null,表示取不到有效值。
4427
4497
  */
4428
4498
  VolumeMountInfos: Array<VolumeMountInfo>;
4499
+ /**
4500
+ * KubeInjectEnable值
4501
+ 注意:此字段可能返回 null,表示取不到有效值。
4502
+ */
4503
+ KubeInjectEnable: boolean;
4429
4504
  }
4430
4505
  /**
4431
4506
  * Tsf命名空间分页对象
@@ -6711,6 +6786,20 @@ export interface UpdateGatewayApiResponse {
6711
6786
  */
6712
6787
  RequestId?: string;
6713
6788
  }
6789
+ /**
6790
+ * DescribeInstances返回参数结构体
6791
+ */
6792
+ export interface DescribeInstancesResponse {
6793
+ /**
6794
+ * 机器列表信息
6795
+ 注意:此字段可能返回 null,表示取不到有效值。
6796
+ */
6797
+ Result?: InstanceEnrichedInfoPage;
6798
+ /**
6799
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6800
+ */
6801
+ RequestId?: string;
6802
+ }
6714
6803
  /**
6715
6804
  * 返回容器的事件,比如 k8s deployment 或者 pod 的 events
6716
6805
  */
@@ -8088,6 +8177,23 @@ export interface UpdateGatewayApiRequest {
8088
8177
  */
8089
8178
  Description?: string;
8090
8179
  }
8180
+ /**
8181
+ * DescribeInstances请求参数结构体
8182
+ */
8183
+ export interface DescribeInstancesRequest {
8184
+ /**
8185
+ * 过滤条件
8186
+ */
8187
+ Filters?: Array<Filter>;
8188
+ /**
8189
+ * 偏移量,默认为0
8190
+ */
8191
+ Offset?: number;
8192
+ /**
8193
+ * 分页个数,默认为20,最大100
8194
+ */
8195
+ Limit?: number;
8196
+ }
8091
8197
  /**
8092
8198
  * 路径重写创建对象
8093
8199
  */
@@ -10357,6 +10463,96 @@ export interface TsfPageApplication {
10357
10463
  */
10358
10464
  Content: Array<ApplicationForPage>;
10359
10465
  }
10466
+ /**
10467
+ * 包含虚拟机所在TSF中的位置信息
10468
+ */
10469
+ export interface InstanceEnrichedInfo {
10470
+ /**
10471
+ * 机器ID
10472
+ 注意:此字段可能返回 null,表示取不到有效值。
10473
+ */
10474
+ InstanceId: string;
10475
+ /**
10476
+ * 机器名称
10477
+ 注意:此字段可能返回 null,表示取不到有效值。
10478
+ */
10479
+ InstanceName: string;
10480
+ /**
10481
+ * 机器内网IP
10482
+ 注意:此字段可能返回 null,表示取不到有效值。
10483
+ */
10484
+ LanIp: string;
10485
+ /**
10486
+ * 机器外网IP
10487
+ 注意:此字段可能返回 null,表示取不到有效值。
10488
+ */
10489
+ WanIp: string;
10490
+ /**
10491
+ * 机器所在VPC
10492
+ 注意:此字段可能返回 null,表示取不到有效值。
10493
+ */
10494
+ VpcId: string;
10495
+ /**
10496
+ * 机器运行状态 Pending Running Stopped Rebooting Starting Stopping Abnormal Unknown
10497
+ 注意:此字段可能返回 null,表示取不到有效值。
10498
+ */
10499
+ InstanceStatus: string;
10500
+ /**
10501
+ * 机器可用状态(表示机器上的Agent在线)
10502
+ 注意:此字段可能返回 null,表示取不到有效值。
10503
+ */
10504
+ InstanceAvailableStatus: string;
10505
+ /**
10506
+ * 应用ID
10507
+ 注意:此字段可能返回 null,表示取不到有效值。
10508
+ */
10509
+ ApplicationId: string;
10510
+ /**
10511
+ * 应用名称
10512
+ 注意:此字段可能返回 null,表示取不到有效值。
10513
+ */
10514
+ ApplicationName: string;
10515
+ /**
10516
+ * 应用类型
10517
+ 注意:此字段可能返回 null,表示取不到有效值。
10518
+ */
10519
+ ApplicationType: string;
10520
+ /**
10521
+ * 集群ID
10522
+ 注意:此字段可能返回 null,表示取不到有效值。
10523
+ */
10524
+ ClusterId: string;
10525
+ /**
10526
+ * 集群名称
10527
+ 注意:此字段可能返回 null,表示取不到有效值。
10528
+ */
10529
+ ClusterName: string;
10530
+ /**
10531
+ * 集群类型
10532
+ 注意:此字段可能返回 null,表示取不到有效值。
10533
+ */
10534
+ ClusterType: string;
10535
+ /**
10536
+ * 命名空间ID
10537
+ 注意:此字段可能返回 null,表示取不到有效值。
10538
+ */
10539
+ NamespaceId: string;
10540
+ /**
10541
+ * 命名空间名称
10542
+ 注意:此字段可能返回 null,表示取不到有效值。
10543
+ */
10544
+ NamespaceName: string;
10545
+ /**
10546
+ * 机器所在部署组ID
10547
+ 注意:此字段可能返回 null,表示取不到有效值。
10548
+ */
10549
+ GroupId: string;
10550
+ /**
10551
+ * 部署组名称
10552
+ 注意:此字段可能返回 null,表示取不到有效值。
10553
+ */
10554
+ GroupName: string;
10555
+ }
10360
10556
  /**
10361
10557
  * DescribeInvocationMetricDataCurve返回参数结构体
10362
10558
  */
@@ -10899,6 +11095,19 @@ export interface ApiRateLimitRule {
10899
11095
  */
10900
11096
  UpdatedTime: string;
10901
11097
  }
11098
+ /**
11099
+ * 用于请求参数中的条件过滤字段
11100
+ */
11101
+ export interface Filter {
11102
+ /**
11103
+ * 过滤条件名
11104
+ */
11105
+ Name: string;
11106
+ /**
11107
+ * 过滤条件匹配值,几个条件间是或关系
11108
+ */
11109
+ Values: Array<string>;
11110
+ }
10902
11111
  /**
10903
11112
  * DescribeInvocationMetricDataPoint返回参数结构体
10904
11113
  */
@@ -288,6 +288,16 @@ it("cls.v20201016.DeleteConfigFromMachineGroup", async function () {
288
288
  }
289
289
  })
290
290
 
291
+ it("cls.v20201016.DeleteDataTransform", async function () {
292
+ try {
293
+ const data = await client.DeleteDataTransform({})
294
+ expect(data).to.be.ok
295
+ } catch(error) {
296
+ expect(error.requestId).to.be.ok
297
+ expect(error.code).to.be.ok
298
+ }
299
+ })
300
+
291
301
  it("cls.v20201016.DeleteConfigExtra", async function () {
292
302
  try {
293
303
  const data = await client.DeleteConfigExtra({})
@@ -298,9 +308,19 @@ it("cls.v20201016.DeleteConfigExtra", async function () {
298
308
  }
299
309
  })
300
310
 
301
- it("cls.v20201016.DescribeAlarms", async function () {
311
+ it("cls.v20201016.CreateDataTransform", async function () {
302
312
  try {
303
- const data = await client.DescribeAlarms({})
313
+ const data = await client.CreateDataTransform({})
314
+ expect(data).to.be.ok
315
+ } catch(error) {
316
+ expect(error.requestId).to.be.ok
317
+ expect(error.code).to.be.ok
318
+ }
319
+ })
320
+
321
+ it("cls.v20201016.DescribeDataTransformInfo", async function () {
322
+ try {
323
+ const data = await client.DescribeDataTransformInfo({})
304
324
  expect(data).to.be.ok
305
325
  } catch(error) {
306
326
  expect(error.requestId).to.be.ok
@@ -368,6 +388,16 @@ it("cls.v20201016.DescribeLogHistogram", async function () {
368
388
  }
369
389
  })
370
390
 
391
+ it("cls.v20201016.SearchLog", async function () {
392
+ try {
393
+ const data = await client.SearchLog({})
394
+ expect(data).to.be.ok
395
+ } catch(error) {
396
+ expect(error.requestId).to.be.ok
397
+ expect(error.code).to.be.ok
398
+ }
399
+ })
400
+
371
401
  it("cls.v20201016.ModifyAlarmNotice", async function () {
372
402
  try {
373
403
  const data = await client.ModifyAlarmNotice({})
@@ -378,9 +408,9 @@ it("cls.v20201016.ModifyAlarmNotice", async function () {
378
408
  }
379
409
  })
380
410
 
381
- it("cls.v20201016.SearchLog", async function () {
411
+ it("cls.v20201016.OpenKafkaConsumer", async function () {
382
412
  try {
383
- const data = await client.SearchLog({})
413
+ const data = await client.OpenKafkaConsumer({})
384
414
  expect(data).to.be.ok
385
415
  } catch(error) {
386
416
  expect(error.requestId).to.be.ok
@@ -468,6 +498,16 @@ it("cls.v20201016.DeleteIndex", async function () {
468
498
  }
469
499
  })
470
500
 
501
+ it("cls.v20201016.ModifyDataTransform", async function () {
502
+ try {
503
+ const data = await client.ModifyDataTransform({})
504
+ expect(data).to.be.ok
505
+ } catch(error) {
506
+ expect(error.requestId).to.be.ok
507
+ expect(error.code).to.be.ok
508
+ }
509
+ })
510
+
471
511
  it("cls.v20201016.DeleteAlarm", async function () {
472
512
  try {
473
513
  const data = await client.DeleteAlarm({})
@@ -498,6 +538,16 @@ it("cls.v20201016.DescribeConsumer", async function () {
498
538
  }
499
539
  })
500
540
 
541
+ it("cls.v20201016.SplitPartition", async function () {
542
+ try {
543
+ const data = await client.SplitPartition({})
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
+
501
551
  it("cls.v20201016.DescribeConfigs", async function () {
502
552
  try {
503
553
  const data = await client.DescribeConfigs({})
@@ -588,9 +638,19 @@ it("cls.v20201016.CreateExport", async function () {
588
638
  }
589
639
  })
590
640
 
591
- it("cls.v20201016.SplitPartition", async function () {
641
+ it("cls.v20201016.CloseKafkaConsumer", async function () {
592
642
  try {
593
- const data = await client.SplitPartition({})
643
+ const data = await client.CloseKafkaConsumer({})
644
+ expect(data).to.be.ok
645
+ } catch(error) {
646
+ expect(error.requestId).to.be.ok
647
+ expect(error.code).to.be.ok
648
+ }
649
+ })
650
+
651
+ it("cls.v20201016.DescribeAlarms", async function () {
652
+ try {
653
+ const data = await client.DescribeAlarms({})
594
654
  expect(data).to.be.ok
595
655
  } catch(error) {
596
656
  expect(error.requestId).to.be.ok
@@ -0,0 +1,31 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.icr.v20211014.Client({
5
+ credential: {
6
+ secretId: process.env.secretId,
7
+ secretKey: process.env.secretKey,
8
+ },
9
+ region: "ap-shanghai",
10
+ profile: {
11
+ signMethod: "TC3-HMAC-SHA256",
12
+ httpProfile: {
13
+ reqMethod: "POST",
14
+ reqTimeout: 30,
15
+ endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
+ },
17
+ },
18
+ })
19
+ describe("icr.v20211014.test.js", function () {
20
+
21
+ it("icr.v20211014.GetIndustryV1HomeMembers", async function () {
22
+ try {
23
+ const data = await client.GetIndustryV1HomeMembers({})
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
+
31
+ })
@@ -168,6 +168,36 @@ it("iecp.v20210914.CreateEdgeNodeUnitTemplate", async function () {
168
168
  }
169
169
  })
170
170
 
171
+ it("iecp.v20210914.DeleteEdgeUnitDevices", async function () {
172
+ try {
173
+ const data = await client.DeleteEdgeUnitDevices({})
174
+ expect(data).to.be.ok
175
+ } catch(error) {
176
+ expect(error.requestId).to.be.ok
177
+ expect(error.code).to.be.ok
178
+ }
179
+ })
180
+
181
+ it("iecp.v20210914.CreateEdgeUnitDevices", async function () {
182
+ try {
183
+ const data = await client.CreateEdgeUnitDevices({})
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
+
191
+ it("iecp.v20210914.DescribeIotDevices", async function () {
192
+ try {
193
+ const data = await client.DescribeIotDevices({})
194
+ expect(data).to.be.ok
195
+ } catch(error) {
196
+ expect(error.requestId).to.be.ok
197
+ expect(error.code).to.be.ok
198
+ }
199
+ })
200
+
171
201
  it("iecp.v20210914.DescribeNodeUnitTemplateOnNodeGroup", async function () {
172
202
  try {
173
203
  const data = await client.DescribeNodeUnitTemplateOnNodeGroup({})
@@ -218,6 +248,16 @@ it("iecp.v20210914.DescribeApplications", async function () {
218
248
  }
219
249
  })
220
250
 
251
+ it("iecp.v20210914.DescribeIotDevice", async function () {
252
+ try {
253
+ const data = await client.DescribeIotDevice({})
254
+ expect(data).to.be.ok
255
+ } catch(error) {
256
+ expect(error.requestId).to.be.ok
257
+ expect(error.code).to.be.ok
258
+ }
259
+ })
260
+
221
261
  it("iecp.v20210914.DeleteEdgeUnitPod", async function () {
222
262
  try {
223
263
  const data = await client.DeleteEdgeUnitPod({})
@@ -258,6 +298,16 @@ it("iecp.v20210914.DeleteEdgeNodeGroup", async function () {
258
298
  }
259
299
  })
260
300
 
301
+ it("iecp.v20210914.CreateIotDevice", async function () {
302
+ try {
303
+ const data = await client.CreateIotDevice({})
304
+ expect(data).to.be.ok
305
+ } catch(error) {
306
+ expect(error.requestId).to.be.ok
307
+ expect(error.code).to.be.ok
308
+ }
309
+ })
310
+
261
311
  it("iecp.v20210914.DescribeEdgeAgentNodeInstaller", async function () {
262
312
  try {
263
313
  const data = await client.DescribeEdgeAgentNodeInstaller({})
@@ -458,6 +508,16 @@ it("iecp.v20210914.DescribeNamespaceResources", async function () {
458
508
  }
459
509
  })
460
510
 
511
+ it("iecp.v20210914.ModifyIotDevice", async function () {
512
+ try {
513
+ const data = await client.ModifyIotDevice({})
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
+
461
521
  it("iecp.v20210914.DescribeConfigMapYamlError", async function () {
462
522
  try {
463
523
  const data = await client.DescribeConfigMapYamlError({})
@@ -508,6 +568,16 @@ it("iecp.v20210914.DescribeEdgeNode", async function () {
508
568
  }
509
569
  })
510
570
 
571
+ it("iecp.v20210914.DeleteIotDevice", async function () {
572
+ try {
573
+ const data = await client.DeleteIotDevice({})
574
+ expect(data).to.be.ok
575
+ } catch(error) {
576
+ expect(error.requestId).to.be.ok
577
+ expect(error.code).to.be.ok
578
+ }
579
+ })
580
+
511
581
  it("iecp.v20210914.DescribeApplicationYamlError", async function () {
512
582
  try {
513
583
  const data = await client.DescribeApplicationYamlError({})
@@ -548,6 +618,16 @@ it("iecp.v20210914.CreateEdgeUnitCloud", async function () {
548
618
  }
549
619
  })
550
620
 
621
+ it("iecp.v20210914.DeleteSecret", async function () {
622
+ try {
623
+ const data = await client.DeleteSecret({})
624
+ expect(data).to.be.ok
625
+ } catch(error) {
626
+ expect(error.requestId).to.be.ok
627
+ expect(error.code).to.be.ok
628
+ }
629
+ })
630
+
551
631
  it("iecp.v20210914.CreateEdgeUnitApplicationVisualization", async function () {
552
632
  try {
553
633
  const data = await client.CreateEdgeUnitApplicationVisualization({})
@@ -558,6 +638,16 @@ it("iecp.v20210914.CreateEdgeUnitApplicationVisualization", async function () {
558
638
  }
559
639
  })
560
640
 
641
+ it("iecp.v20210914.SetRouteOnOff", async function () {
642
+ try {
643
+ const data = await client.SetRouteOnOff({})
644
+ expect(data).to.be.ok
645
+ } catch(error) {
646
+ expect(error.requestId).to.be.ok
647
+ expect(error.code).to.be.ok
648
+ }
649
+ })
650
+
561
651
  it("iecp.v20210914.DescribeEdgeUnitNodeGroup", async function () {
562
652
  try {
563
653
  const data = await client.DescribeEdgeUnitNodeGroup({})
@@ -568,6 +658,16 @@ it("iecp.v20210914.DescribeEdgeUnitNodeGroup", async function () {
568
658
  }
569
659
  })
570
660
 
661
+ it("iecp.v20210914.DeleteMessageRoute", async function () {
662
+ try {
663
+ const data = await client.DeleteMessageRoute({})
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
+
571
671
  it("iecp.v20210914.ApplyMarketComponent", async function () {
572
672
  try {
573
673
  const data = await client.ApplyMarketComponent({})
@@ -678,9 +778,9 @@ it("iecp.v20210914.DescribeEdgeUnitDeployGrid", async function () {
678
778
  }
679
779
  })
680
780
 
681
- it("iecp.v20210914.DeleteSecret", async function () {
781
+ it("iecp.v20210914.BuildMessageRoute", async function () {
682
782
  try {
683
- const data = await client.DeleteSecret({})
783
+ const data = await client.BuildMessageRoute({})
684
784
  expect(data).to.be.ok
685
785
  } catch(error) {
686
786
  expect(error.requestId).to.be.ok
@@ -738,6 +838,16 @@ it("iecp.v20210914.DeleteNamespace", async function () {
738
838
  }
739
839
  })
740
840
 
841
+ it("iecp.v20210914.DescribeMessageRouteList", async function () {
842
+ try {
843
+ const data = await client.DescribeMessageRouteList({})
844
+ expect(data).to.be.ok
845
+ } catch(error) {
846
+ expect(error.requestId).to.be.ok
847
+ expect(error.code).to.be.ok
848
+ }
849
+ })
850
+
741
851
  it("iecp.v20210914.ModifyEdgeNodeLabels", async function () {
742
852
  try {
743
853
  const data = await client.ModifyEdgeNodeLabels({})
@@ -878,6 +988,16 @@ it("iecp.v20210914.CreateEdgeNodeBatch", async function () {
878
988
  }
879
989
  })
880
990
 
991
+ it("iecp.v20210914.CreateMessageRoute", async function () {
992
+ try {
993
+ const data = await client.CreateMessageRoute({})
994
+ expect(data).to.be.ok
995
+ } catch(error) {
996
+ expect(error.requestId).to.be.ok
997
+ expect(error.code).to.be.ok
998
+ }
999
+ })
1000
+
881
1001
  it("iecp.v20210914.DescribeYeheResourceLimit", async function () {
882
1002
  try {
883
1003
  const data = await client.DescribeYeheResourceLimit({})
@@ -118,6 +118,16 @@ it("ssa.v20180608.DescribeSocCspmCompliance", async function () {
118
118
  }
119
119
  })
120
120
 
121
+ it("ssa.v20180608.DescribeMappingResults", async function () {
122
+ try {
123
+ const data = await client.DescribeMappingResults({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
121
131
  it("ssa.v20180608.DescribeVulList", async function () {
122
132
  try {
123
133
  const data = await client.DescribeVulList({})