tencentcloud-sdk-nodejs 4.0.341 → 4.0.344

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 (104) hide show
  1. package/CHANGELOG.md +535 -0
  2. package/SERVICE_CHANGELOG.md +715 -148
  3. package/package.json +1 -1
  4. package/products.md +32 -32
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apm/v20210622/apm_client.ts +47 -32
  7. package/src/services/apm/v20210622/apm_models.ts +310 -195
  8. package/src/services/cam/v20190116/cam_client.ts +2 -1
  9. package/src/services/cam/v20190116/cam_models.ts +119 -83
  10. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  11. package/src/services/cdn/v20180606/cdn_models.ts +3 -3
  12. package/src/services/cls/v20201016/cls_models.ts +9 -4
  13. package/src/services/cpdp/v20190820/cpdp_client.ts +95 -22
  14. package/src/services/cpdp/v20190820/cpdp_models.ts +911 -395
  15. package/src/services/cvm/v20170312/cvm_models.ts +7 -0
  16. package/src/services/dlc/v20210125/dlc_models.ts +24 -0
  17. package/src/services/dnspod/v20210323/dnspod_models.ts +5 -0
  18. package/src/services/ecm/v20190719/ecm_models.ts +6 -0
  19. package/src/services/emr/v20190103/emr_client.ts +135 -108
  20. package/src/services/emr/v20190103/emr_models.ts +329 -57
  21. package/src/services/es/v20180416/es_models.ts +10 -5
  22. package/src/services/gaap/v20180529/gaap_models.ts +1 -1
  23. package/src/services/iotcloud/v20210408/iotcloud_client.ts +27 -2
  24. package/src/services/iotcloud/v20210408/iotcloud_models.ts +144 -30
  25. package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -1
  26. package/src/services/lighthouse/v20200324/lighthouse_models.ts +17 -1
  27. package/src/services/live/v20180801/live_models.ts +1 -1
  28. package/src/services/ocr/v20181119/ocr_client.ts +0 -14
  29. package/src/services/redis/v20180412/redis_models.ts +5 -0
  30. package/src/services/sqlserver/v20180328/sqlserver_models.ts +107 -81
  31. package/src/services/ssl/v20191205/ssl_client.ts +15 -2
  32. package/src/services/ssl/v20191205/ssl_models.ts +89 -31
  33. package/src/services/sts/v20180813/sts_client.ts +1 -0
  34. package/src/services/sts/v20180813/sts_models.ts +23 -3
  35. package/src/services/teo/v20220106/teo_client.ts +23 -10
  36. package/src/services/teo/v20220106/teo_models.ts +130 -9
  37. package/src/services/tke/v20180525/tke_client.ts +549 -266
  38. package/src/services/tke/v20180525/tke_models.ts +5149 -4057
  39. package/src/services/tmt/v20180321/tmt_client.ts +61 -33
  40. package/src/services/tmt/v20180321/tmt_models.ts +285 -131
  41. package/src/services/trtc/v20190722/trtc_models.ts +6 -6
  42. package/src/services/tsf/v20180326/tsf_models.ts +4 -3
  43. package/src/services/vod/v20180717/vod_models.ts +13 -6
  44. package/src/services/vpc/v20170312/vpc_client.ts +36 -12
  45. package/src/services/vpc/v20170312/vpc_models.ts +40 -0
  46. package/tencentcloud/common/sdk_version.d.ts +1 -1
  47. package/tencentcloud/common/sdk_version.js +1 -1
  48. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +14 -9
  49. package/tencentcloud/services/apm/v20210622/apm_client.js +19 -12
  50. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +267 -169
  51. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +100 -70
  52. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  53. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +3 -3
  54. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +7 -2
  55. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +30 -6
  56. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +43 -7
  57. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +795 -362
  58. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -0
  59. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +20 -0
  60. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -0
  61. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +5 -0
  62. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +47 -39
  63. package/tencentcloud/services/emr/v20190103/emr_client.js +69 -57
  64. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +278 -50
  65. package/tencentcloud/services/es/v20180416/es_models.d.ts +9 -4
  66. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +1 -1
  67. package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.d.ts +9 -1
  68. package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.js +12 -0
  69. package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +124 -27
  70. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +1 -1
  71. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +16 -1
  72. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
  73. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +0 -14
  74. package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -14
  75. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +4 -0
  76. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +100 -79
  77. package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +5 -1
  78. package/tencentcloud/services/ssl/v20191205/ssl_client.js +6 -0
  79. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +77 -27
  80. package/tencentcloud/services/sts/v20180813/sts_models.d.ts +20 -3
  81. package/tencentcloud/services/teo/v20220106/teo_client.d.ts +9 -5
  82. package/tencentcloud/services/teo/v20220106/teo_client.js +12 -6
  83. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +108 -4
  84. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +103 -11
  85. package/tencentcloud/services/tke/v20180525/tke_client.js +153 -15
  86. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4598 -3657
  87. package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +23 -13
  88. package/tencentcloud/services/tmt/v20180321/tmt_client.js +31 -17
  89. package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +259 -123
  90. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -6
  91. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +2 -1
  92. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +13 -6
  93. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +13 -5
  94. package/tencentcloud/services/vpc/v20170312/vpc_client.js +18 -6
  95. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +36 -0
  96. package/test/apm.v20210622.test.js +18 -8
  97. package/test/cpdp.v20190820.test.js +64 -4
  98. package/test/emr.v20190103.test.js +60 -40
  99. package/test/iotcloud.v20210408.test.js +20 -0
  100. package/test/ssl.v20191205.test.js +10 -0
  101. package/test/teo.v20220106.test.js +14 -4
  102. package/test/tke.v20180525.test.js +240 -10
  103. package/test/tmt.v20180321.test.js +28 -8
  104. package/test/vpc.v20170312.test.js +24 -4
@@ -108,6 +108,16 @@ it("tke.v20180525.DescribeClusterCommonNames", async function () {
108
108
  }
109
109
  })
110
110
 
111
+ it("tke.v20180525.EnableEventPersistence", async function () {
112
+ try {
113
+ const data = await client.EnableEventPersistence({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
111
121
  it("tke.v20180525.DescribePrometheusAlertHistory", async function () {
112
122
  try {
113
123
  const data = await client.DescribePrometheusAlertHistory({})
@@ -168,6 +178,16 @@ it("tke.v20180525.CreateClusterNodePoolFromExistingAsg", async function () {
168
178
  }
169
179
  })
170
180
 
181
+ it("tke.v20180525.UninstallLogAgent", async function () {
182
+ try {
183
+ const data = await client.UninstallLogAgent({})
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
+
171
191
  it("tke.v20180525.DescribeVersions", async function () {
172
192
  try {
173
193
  const data = await client.DescribeVersions({})
@@ -188,6 +208,16 @@ it("tke.v20180525.DeleteEKSCluster", async function () {
188
208
  }
189
209
  })
190
210
 
211
+ it("tke.v20180525.EnableClusterAudit", async function () {
212
+ try {
213
+ const data = await client.EnableClusterAudit({})
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("tke.v20180525.ModifyClusterNodePool", async function () {
192
222
  try {
193
223
  const data = await client.ModifyClusterNodePool({})
@@ -248,6 +278,16 @@ it("tke.v20180525.DeleteClusterRouteTable", async function () {
248
278
  }
249
279
  })
250
280
 
281
+ it("tke.v20180525.ModifyPrometheusAlertPolicy", async function () {
282
+ try {
283
+ const data = await client.ModifyPrometheusAlertPolicy({})
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
+
251
291
  it("tke.v20180525.DescribeClusterAuthenticationOptions", async function () {
252
292
  try {
253
293
  const data = await client.DescribeClusterAuthenticationOptions({})
@@ -348,6 +388,16 @@ it("tke.v20180525.DescribeExistedInstances", async function () {
348
388
  }
349
389
  })
350
390
 
391
+ it("tke.v20180525.DescribeClusterNodePools", async function () {
392
+ try {
393
+ const data = await client.DescribeClusterNodePools({})
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
+
351
401
  it("tke.v20180525.DescribeEKSClusterCredential", async function () {
352
402
  try {
353
403
  const data = await client.DescribeEKSClusterCredential({})
@@ -428,6 +478,16 @@ it("tke.v20180525.AddExistedInstances", async function () {
428
478
  }
429
479
  })
430
480
 
481
+ it("tke.v20180525.ModifyClusterEndpointSP", async function () {
482
+ try {
483
+ const data = await client.ModifyClusterEndpointSP({})
484
+ expect(data).to.be.ok
485
+ } catch(error) {
486
+ expect(error.requestId).to.be.ok
487
+ expect(error.code).to.be.ok
488
+ }
489
+ })
490
+
431
491
  it("tke.v20180525.DisableClusterDeletionProtection", async function () {
432
492
  try {
433
493
  const data = await client.DisableClusterDeletionProtection({})
@@ -508,6 +568,16 @@ it("tke.v20180525.UpdateEKSContainerInstance", async function () {
508
568
  }
509
569
  })
510
570
 
571
+ it("tke.v20180525.DescribePrometheusTemp", async function () {
572
+ try {
573
+ const data = await client.DescribePrometheusTemp({})
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("tke.v20180525.DescribePrometheusAlertRule", async function () {
512
582
  try {
513
583
  const data = await client.DescribePrometheusAlertRule({})
@@ -588,6 +658,16 @@ it("tke.v20180525.ModifyClusterAsGroupAttribute", async function () {
588
658
  }
589
659
  })
590
660
 
661
+ it("tke.v20180525.CreatePrometheusTemp", async function () {
662
+ try {
663
+ const data = await client.CreatePrometheusTemp({})
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
+
591
671
  it("tke.v20180525.DescribeClusterAsGroups", async function () {
592
672
  try {
593
673
  const data = await client.DescribeClusterAsGroups({})
@@ -618,6 +698,16 @@ it("tke.v20180525.DescribePrometheusInstance", async function () {
618
698
  }
619
699
  })
620
700
 
701
+ it("tke.v20180525.CreatePrometheusGlobalNotification", async function () {
702
+ try {
703
+ const data = await client.CreatePrometheusGlobalNotification({})
704
+ expect(data).to.be.ok
705
+ } catch(error) {
706
+ expect(error.requestId).to.be.ok
707
+ expect(error.code).to.be.ok
708
+ }
709
+ })
710
+
621
711
  it("tke.v20180525.DescribeClusterEndpointVipStatus", async function () {
622
712
  try {
623
713
  const data = await client.DescribeClusterEndpointVipStatus({})
@@ -688,6 +778,16 @@ it("tke.v20180525.CreateEKSContainerInstances", async function () {
688
778
  }
689
779
  })
690
780
 
781
+ it("tke.v20180525.DescribePrometheusRecordRules", async function () {
782
+ try {
783
+ const data = await client.DescribePrometheusRecordRules({})
784
+ expect(data).to.be.ok
785
+ } catch(error) {
786
+ expect(error.requestId).to.be.ok
787
+ expect(error.code).to.be.ok
788
+ }
789
+ })
790
+
691
791
  it("tke.v20180525.DeletePrometheusAlertRule", async function () {
692
792
  try {
693
793
  const data = await client.DeletePrometheusAlertRule({})
@@ -698,6 +798,16 @@ it("tke.v20180525.DeletePrometheusAlertRule", async function () {
698
798
  }
699
799
  })
700
800
 
801
+ it("tke.v20180525.DescribePrometheusGlobalNotification", async function () {
802
+ try {
803
+ const data = await client.DescribePrometheusGlobalNotification({})
804
+ expect(data).to.be.ok
805
+ } catch(error) {
806
+ expect(error.requestId).to.be.ok
807
+ expect(error.code).to.be.ok
808
+ }
809
+ })
810
+
701
811
  it("tke.v20180525.DescribeClusterLevelChangeRecords", async function () {
702
812
  try {
703
813
  const data = await client.DescribeClusterLevelChangeRecords({})
@@ -718,6 +828,16 @@ it("tke.v20180525.CreateClusterEndpoint", async function () {
718
828
  }
719
829
  })
720
830
 
831
+ it("tke.v20180525.ModifyPrometheusGlobalNotification", async function () {
832
+ try {
833
+ const data = await client.ModifyPrometheusGlobalNotification({})
834
+ expect(data).to.be.ok
835
+ } catch(error) {
836
+ expect(error.requestId).to.be.ok
837
+ expect(error.code).to.be.ok
838
+ }
839
+ })
840
+
721
841
  it("tke.v20180525.ForwardApplicationRequestV3", async function () {
722
842
  try {
723
843
  const data = await client.ForwardApplicationRequestV3({})
@@ -758,6 +878,16 @@ it("tke.v20180525.CreatePrometheusAlertRule", async function () {
758
878
  }
759
879
  })
760
880
 
881
+ it("tke.v20180525.ModifyPrometheusTemp", async function () {
882
+ try {
883
+ const data = await client.ModifyPrometheusTemp({})
884
+ expect(data).to.be.ok
885
+ } catch(error) {
886
+ expect(error.requestId).to.be.ok
887
+ expect(error.code).to.be.ok
888
+ }
889
+ })
890
+
761
891
  it("tke.v20180525.DescribeClusterControllers", async function () {
762
892
  try {
763
893
  const data = await client.DescribeClusterControllers({})
@@ -778,6 +908,16 @@ it("tke.v20180525.DescribeClusterSecurity", async function () {
778
908
  }
779
909
  })
780
910
 
911
+ it("tke.v20180525.DescribePrometheusClusterAgents", async function () {
912
+ try {
913
+ const data = await client.DescribePrometheusClusterAgents({})
914
+ expect(data).to.be.ok
915
+ } catch(error) {
916
+ expect(error.requestId).to.be.ok
917
+ expect(error.code).to.be.ok
918
+ }
919
+ })
920
+
781
921
  it("tke.v20180525.DeleteClusterNodePool", async function () {
782
922
  try {
783
923
  const data = await client.DeleteClusterNodePool({})
@@ -788,9 +928,9 @@ it("tke.v20180525.DeleteClusterNodePool", async function () {
788
928
  }
789
929
  })
790
930
 
791
- it("tke.v20180525.ScaleInClusterMaster", async function () {
931
+ it("tke.v20180525.InstallLogAgent", async function () {
792
932
  try {
793
- const data = await client.ScaleInClusterMaster({})
933
+ const data = await client.InstallLogAgent({})
794
934
  expect(data).to.be.ok
795
935
  } catch(error) {
796
936
  expect(error.requestId).to.be.ok
@@ -808,6 +948,16 @@ it("tke.v20180525.DescribeResourceUsage", async function () {
808
948
  }
809
949
  })
810
950
 
951
+ it("tke.v20180525.DescribePrometheusTempSync", async function () {
952
+ try {
953
+ const data = await client.DescribePrometheusTempSync({})
954
+ expect(data).to.be.ok
955
+ } catch(error) {
956
+ expect(error.requestId).to.be.ok
957
+ expect(error.code).to.be.ok
958
+ }
959
+ })
960
+
811
961
  it("tke.v20180525.DeleteClusterEndpointVip", async function () {
812
962
  try {
813
963
  const data = await client.DeleteClusterEndpointVip({})
@@ -818,9 +968,9 @@ it("tke.v20180525.DeleteClusterEndpointVip", async function () {
818
968
  }
819
969
  })
820
970
 
821
- it("tke.v20180525.DescribeClusterNodePools", async function () {
971
+ it("tke.v20180525.DescribePrometheusTemplates", async function () {
822
972
  try {
823
- const data = await client.DescribeClusterNodePools({})
973
+ const data = await client.DescribePrometheusTemplates({})
824
974
  expect(data).to.be.ok
825
975
  } catch(error) {
826
976
  expect(error.requestId).to.be.ok
@@ -838,9 +988,19 @@ it("tke.v20180525.DescribeImages", async function () {
838
988
  }
839
989
  })
840
990
 
841
- it("tke.v20180525.ModifyClusterEndpointSP", async function () {
991
+ it("tke.v20180525.DisableClusterAudit", async function () {
842
992
  try {
843
- const data = await client.ModifyClusterEndpointSP({})
993
+ const data = await client.DisableClusterAudit({})
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
+
1001
+ it("tke.v20180525.ModifyClusterAuthenticationOptions", async function () {
1002
+ try {
1003
+ const data = await client.ModifyClusterAuthenticationOptions({})
844
1004
  expect(data).to.be.ok
845
1005
  } catch(error) {
846
1006
  expect(error.requestId).to.be.ok
@@ -858,6 +1018,16 @@ it("tke.v20180525.DescribeClusterRoutes", async function () {
858
1018
  }
859
1019
  })
860
1020
 
1021
+ it("tke.v20180525.SyncPrometheusTemp", async function () {
1022
+ try {
1023
+ const data = await client.SyncPrometheusTemp({})
1024
+ expect(data).to.be.ok
1025
+ } catch(error) {
1026
+ expect(error.requestId).to.be.ok
1027
+ expect(error.code).to.be.ok
1028
+ }
1029
+ })
1030
+
861
1031
  it("tke.v20180525.CreateImageCache", async function () {
862
1032
  try {
863
1033
  const data = await client.CreateImageCache({})
@@ -898,6 +1068,16 @@ it("tke.v20180525.DescribePrometheusOverviews", async function () {
898
1068
  }
899
1069
  })
900
1070
 
1071
+ it("tke.v20180525.CreatePrometheusAlertPolicy", async function () {
1072
+ try {
1073
+ const data = await client.CreatePrometheusAlertPolicy({})
1074
+ expect(data).to.be.ok
1075
+ } catch(error) {
1076
+ expect(error.requestId).to.be.ok
1077
+ expect(error.code).to.be.ok
1078
+ }
1079
+ })
1080
+
901
1081
  it("tke.v20180525.DeletePrometheusTemplate", async function () {
902
1082
  try {
903
1083
  const data = await client.DeletePrometheusTemplate({})
@@ -908,9 +1088,9 @@ it("tke.v20180525.DeletePrometheusTemplate", async function () {
908
1088
  }
909
1089
  })
910
1090
 
911
- it("tke.v20180525.ModifyClusterAuthenticationOptions", async function () {
1091
+ it("tke.v20180525.DescribePrometheusAlertPolicy", async function () {
912
1092
  try {
913
- const data = await client.ModifyClusterAuthenticationOptions({})
1093
+ const data = await client.DescribePrometheusAlertPolicy({})
914
1094
  expect(data).to.be.ok
915
1095
  } catch(error) {
916
1096
  expect(error.requestId).to.be.ok
@@ -928,6 +1108,16 @@ it("tke.v20180525.DescribePrometheusAgents", async function () {
928
1108
  }
929
1109
  })
930
1110
 
1111
+ it("tke.v20180525.DisableEventPersistence", async function () {
1112
+ try {
1113
+ const data = await client.DisableEventPersistence({})
1114
+ expect(data).to.be.ok
1115
+ } catch(error) {
1116
+ expect(error.requestId).to.be.ok
1117
+ expect(error.code).to.be.ok
1118
+ }
1119
+ })
1120
+
931
1121
  it("tke.v20180525.DeleteClusterEndpoint", async function () {
932
1122
  try {
933
1123
  const data = await client.DeleteClusterEndpoint({})
@@ -978,6 +1168,16 @@ it("tke.v20180525.DescribeClusterAsGroupOption", async function () {
978
1168
  }
979
1169
  })
980
1170
 
1171
+ it("tke.v20180525.ScaleInClusterMaster", async function () {
1172
+ try {
1173
+ const data = await client.ScaleInClusterMaster({})
1174
+ expect(data).to.be.ok
1175
+ } catch(error) {
1176
+ expect(error.requestId).to.be.ok
1177
+ expect(error.code).to.be.ok
1178
+ }
1179
+ })
1180
+
981
1181
  it("tke.v20180525.DescribeEKSClusters", async function () {
982
1182
  try {
983
1183
  const data = await client.DescribeEKSClusters({})
@@ -998,9 +1198,9 @@ it("tke.v20180525.CreateClusterNodePool", async function () {
998
1198
  }
999
1199
  })
1000
1200
 
1001
- it("tke.v20180525.DescribePrometheusTemplates", async function () {
1201
+ it("tke.v20180525.DeletePrometheusTemp", async function () {
1002
1202
  try {
1003
- const data = await client.DescribePrometheusTemplates({})
1203
+ const data = await client.DeletePrometheusTemp({})
1004
1204
  expect(data).to.be.ok
1005
1205
  } catch(error) {
1006
1206
  expect(error.requestId).to.be.ok
@@ -1068,6 +1268,16 @@ it("tke.v20180525.DisableVpcCniNetworkType", async function () {
1068
1268
  }
1069
1269
  })
1070
1270
 
1271
+ it("tke.v20180525.DescribePrometheusInstancesOverview", async function () {
1272
+ try {
1273
+ const data = await client.DescribePrometheusInstancesOverview({})
1274
+ expect(data).to.be.ok
1275
+ } catch(error) {
1276
+ expect(error.requestId).to.be.ok
1277
+ expect(error.code).to.be.ok
1278
+ }
1279
+ })
1280
+
1071
1281
  it("tke.v20180525.DeleteClusterInstances", async function () {
1072
1282
  try {
1073
1283
  const data = await client.DeleteClusterInstances({})
@@ -1078,6 +1288,26 @@ it("tke.v20180525.DeleteClusterInstances", async function () {
1078
1288
  }
1079
1289
  })
1080
1290
 
1291
+ it("tke.v20180525.DeletePrometheusTempSync", async function () {
1292
+ try {
1293
+ const data = await client.DeletePrometheusTempSync({})
1294
+ expect(data).to.be.ok
1295
+ } catch(error) {
1296
+ expect(error.requestId).to.be.ok
1297
+ expect(error.code).to.be.ok
1298
+ }
1299
+ })
1300
+
1301
+ it("tke.v20180525.DeletePrometheusAlertPolicy", async function () {
1302
+ try {
1303
+ const data = await client.DeletePrometheusAlertPolicy({})
1304
+ expect(data).to.be.ok
1305
+ } catch(error) {
1306
+ expect(error.requestId).to.be.ok
1307
+ expect(error.code).to.be.ok
1308
+ }
1309
+ })
1310
+
1081
1311
  it("tke.v20180525.UpdateEKSCluster", async function () {
1082
1312
  try {
1083
1313
  const data = await client.UpdateEKSCluster({})
@@ -18,9 +18,19 @@ const client = new tencentcloud.tmt.v20180321.Client({
18
18
  })
19
19
  describe("tmt.v20180321.test.js", function () {
20
20
 
21
- it("tmt.v20180321.TextTranslate", async function () {
21
+ it("tmt.v20180321.LanguageDetect", async function () {
22
22
  try {
23
- const data = await client.TextTranslate({})
23
+ const data = await client.LanguageDetect({})
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
+ it("tmt.v20180321.TextTranslateBatch", async function () {
32
+ try {
33
+ const data = await client.TextTranslateBatch({})
24
34
  expect(data).to.be.ok
25
35
  } catch(error) {
26
36
  expect(error.requestId).to.be.ok
@@ -38,9 +48,9 @@ it("tmt.v20180321.ImageTranslate", async function () {
38
48
  }
39
49
  })
40
50
 
41
- it("tmt.v20180321.SpeechTranslate", async function () {
51
+ it("tmt.v20180321.GetFileTranslate", async function () {
42
52
  try {
43
- const data = await client.SpeechTranslate({})
53
+ const data = await client.GetFileTranslate({})
44
54
  expect(data).to.be.ok
45
55
  } catch(error) {
46
56
  expect(error.requestId).to.be.ok
@@ -48,9 +58,9 @@ it("tmt.v20180321.SpeechTranslate", async function () {
48
58
  }
49
59
  })
50
60
 
51
- it("tmt.v20180321.TextTranslateBatch", async function () {
61
+ it("tmt.v20180321.TextTranslate", async function () {
52
62
  try {
53
- const data = await client.TextTranslateBatch({})
63
+ const data = await client.TextTranslate({})
54
64
  expect(data).to.be.ok
55
65
  } catch(error) {
56
66
  expect(error.requestId).to.be.ok
@@ -58,9 +68,19 @@ it("tmt.v20180321.TextTranslateBatch", async function () {
58
68
  }
59
69
  })
60
70
 
61
- it("tmt.v20180321.LanguageDetect", async function () {
71
+ it("tmt.v20180321.FileTranslate", async function () {
62
72
  try {
63
- const data = await client.LanguageDetect({})
73
+ const data = await client.FileTranslate({})
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("tmt.v20180321.SpeechTranslate", async function () {
82
+ try {
83
+ const data = await client.SpeechTranslate({})
64
84
  expect(data).to.be.ok
65
85
  } catch(error) {
66
86
  expect(error.requestId).to.be.ok
@@ -1528,6 +1528,16 @@ it("vpc.v20170312.DeleteNetDetect", async function () {
1528
1528
  }
1529
1529
  })
1530
1530
 
1531
+ it("vpc.v20170312.InquirePriceCreateDirectConnectGateway", async function () {
1532
+ try {
1533
+ const data = await client.InquirePriceCreateDirectConnectGateway({})
1534
+ expect(data).to.be.ok
1535
+ } catch(error) {
1536
+ expect(error.requestId).to.be.ok
1537
+ expect(error.code).to.be.ok
1538
+ }
1539
+ })
1540
+
1531
1541
  it("vpc.v20170312.ModifySecurityGroupAttribute", async function () {
1532
1542
  try {
1533
1543
  const data = await client.ModifySecurityGroupAttribute({})
@@ -1638,9 +1648,9 @@ it("vpc.v20170312.ModifyNetworkInterfaceAttribute", async function () {
1638
1648
  }
1639
1649
  })
1640
1650
 
1641
- it("vpc.v20170312.ModifySubnetAttribute", async function () {
1651
+ it("vpc.v20170312.DisableFlowLogs", async function () {
1642
1652
  try {
1643
- const data = await client.ModifySubnetAttribute({})
1653
+ const data = await client.DisableFlowLogs({})
1644
1654
  expect(data).to.be.ok
1645
1655
  } catch(error) {
1646
1656
  expect(error.requestId).to.be.ok
@@ -1788,6 +1798,16 @@ it("vpc.v20170312.DescribeVpnGateways", async function () {
1788
1798
  }
1789
1799
  })
1790
1800
 
1801
+ it("vpc.v20170312.ModifySubnetAttribute", async function () {
1802
+ try {
1803
+ const data = await client.ModifySubnetAttribute({})
1804
+ expect(data).to.be.ok
1805
+ } catch(error) {
1806
+ expect(error.requestId).to.be.ok
1807
+ expect(error.code).to.be.ok
1808
+ }
1809
+ })
1810
+
1791
1811
  it("vpc.v20170312.DownloadCustomerGatewayConfiguration", async function () {
1792
1812
  try {
1793
1813
  const data = await client.DownloadCustomerGatewayConfiguration({})
@@ -1928,9 +1948,9 @@ it("vpc.v20170312.AssignIpv6Addresses", async function () {
1928
1948
  }
1929
1949
  })
1930
1950
 
1931
- it("vpc.v20170312.InquirePriceCreateDirectConnectGateway", async function () {
1951
+ it("vpc.v20170312.EnableFlowLogs", async function () {
1932
1952
  try {
1933
- const data = await client.InquirePriceCreateDirectConnectGateway({})
1953
+ const data = await client.EnableFlowLogs({})
1934
1954
  expect(data).to.be.ok
1935
1955
  } catch(error) {
1936
1956
  expect(error.requestId).to.be.ok