tencentcloud-sdk-nodejs 4.0.372 → 4.0.375

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 (141) hide show
  1. package/CHANGELOG.md +760 -0
  2. package/SERVICE_CHANGELOG.md +791 -51
  3. package/package.json +1 -1
  4. package/products.md +30 -28
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_client.ts +3 -2
  7. package/src/services/antiddos/v20200309/antiddos_models.ts +74 -28
  8. package/src/services/apm/v20210622/apm_models.ts +17 -11
  9. package/src/services/as/v20180419/as_models.ts +3 -2
  10. package/src/services/cbs/v20170312/cbs_client.ts +1 -1
  11. package/src/services/ccc/v20200210/ccc_client.ts +12 -0
  12. package/src/services/ccc/v20200210/ccc_models.ts +45 -0
  13. package/src/services/cdn/v20180606/cdn_models.ts +9 -0
  14. package/src/services/ciam/v20220331/ciam_client.ts +14 -1
  15. package/src/services/ciam/v20220331/ciam_models.ts +166 -4
  16. package/src/services/clb/v20180317/clb_models.ts +3 -2
  17. package/src/services/cpdp/v20190820/cpdp_client.ts +1 -0
  18. package/src/services/cpdp/v20190820/cpdp_models.ts +169 -1
  19. package/src/services/cvm/v20170312/cvm_client.ts +31 -14
  20. package/src/services/cvm/v20170312/cvm_models.ts +235 -35
  21. package/src/services/cwp/v20180228/cwp_models.ts +81 -4
  22. package/src/services/cynosdb/v20190107/cynosdb_client.ts +109 -23
  23. package/src/services/cynosdb/v20190107/cynosdb_models.ts +437 -44
  24. package/src/services/dbdc/v20201029/dbdc_client.ts +33 -20
  25. package/src/services/dbdc/v20201029/dbdc_models.ts +339 -174
  26. package/src/services/dlc/v20210125/dlc_client.ts +255 -43
  27. package/src/services/dlc/v20210125/dlc_models.ts +1551 -264
  28. package/src/services/eb/v20210416/eb_client.ts +1 -0
  29. package/src/services/eb/v20210416/eb_models.ts +40 -0
  30. package/src/services/ess/v20201111/ess_client.ts +3 -3
  31. package/src/services/ess/v20201111/ess_models.ts +176 -154
  32. package/src/services/essbasic/v20210526/essbasic_client.ts +7 -7
  33. package/src/services/essbasic/v20210526/essbasic_models.ts +222 -206
  34. package/src/services/index.ts +2 -0
  35. package/src/services/ms/v20180408/ms_client.ts +12 -0
  36. package/src/services/ms/v20180408/ms_models.ts +85 -0
  37. package/src/services/oceanus/v20190422/oceanus_models.ts +5 -0
  38. package/src/services/taf/v20200210/taf_client.ts +3 -18
  39. package/src/services/taf/v20200210/taf_models.ts +16 -221
  40. package/src/services/tcbr/v20220217/tcbr_models.ts +17 -0
  41. package/src/services/teo/v20220106/teo_client.ts +2 -1
  42. package/src/services/teo/v20220106/teo_models.ts +185 -113
  43. package/src/services/tke/v20180525/tke_client.ts +224 -65
  44. package/src/services/tke/v20180525/tke_models.ts +619 -116
  45. package/src/services/tsf/v20180326/tsf_client.ts +1 -1
  46. package/src/services/tsf/v20180326/tsf_models.ts +24 -2
  47. package/src/services/vod/v20180717/vod_client.ts +18 -18
  48. package/src/services/vod/v20180717/vod_models.ts +238 -238
  49. package/src/services/vpc/v20170312/vpc_models.ts +1 -1
  50. package/src/services/wedata/index.ts +5 -0
  51. package/src/services/wedata/v20210820/index.ts +6 -0
  52. package/src/services/wedata/v20210820/wedata_client.ts +70 -0
  53. package/src/services/wedata/v20210820/wedata_models.ts +388 -0
  54. package/src/services/yinsuda/index.ts +5 -0
  55. package/src/services/yinsuda/v20220527/index.ts +6 -0
  56. package/src/services/yinsuda/v20220527/yinsuda_client.ts +98 -0
  57. package/src/services/yinsuda/v20220527/yinsuda_models.ts +381 -0
  58. package/tencentcloud/common/sdk_version.d.ts +1 -1
  59. package/tencentcloud/common/sdk_version.js +1 -1
  60. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
  61. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +62 -23
  62. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +15 -9
  63. package/tencentcloud/services/as/v20180419/as_models.d.ts +2 -1
  64. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -1
  65. package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -1
  66. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
  67. package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
  68. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +38 -0
  69. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +8 -0
  70. package/tencentcloud/services/ciam/v20220331/ciam_client.d.ts +5 -1
  71. package/tencentcloud/services/ciam/v20220331/ciam_client.js +6 -0
  72. package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +141 -4
  73. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -0
  74. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +149 -1
  75. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +14 -7
  76. package/tencentcloud/services/cvm/v20170312/cvm_client.js +16 -7
  77. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +202 -32
  78. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +68 -4
  79. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +35 -7
  80. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +51 -9
  81. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +371 -41
  82. package/tencentcloud/services/dbdc/v20201029/dbdc_client.d.ts +11 -7
  83. package/tencentcloud/services/dbdc/v20201029/dbdc_client.js +15 -9
  84. package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +280 -145
  85. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +81 -13
  86. package/tencentcloud/services/dlc/v20210125/dlc_client.js +120 -18
  87. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +1248 -168
  88. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +33 -0
  89. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +3 -3
  90. package/tencentcloud/services/ess/v20201111/ess_client.js +3 -3
  91. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +163 -144
  92. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +7 -7
  93. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +7 -7
  94. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +208 -195
  95. package/tencentcloud/services/index.d.ts +2 -0
  96. package/tencentcloud/services/index.js +4 -0
  97. package/tencentcloud/services/ms/v20180408/ms_client.d.ts +5 -1
  98. package/tencentcloud/services/ms/v20180408/ms_client.js +6 -0
  99. package/tencentcloud/services/ms/v20180408/ms_models.d.ts +70 -0
  100. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +4 -0
  101. package/tencentcloud/services/taf/v20200210/taf_client.d.ts +1 -5
  102. package/tencentcloud/services/taf/v20200210/taf_client.js +0 -6
  103. package/tencentcloud/services/taf/v20200210/taf_models.d.ts +14 -184
  104. package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +14 -0
  105. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +159 -94
  106. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +73 -21
  107. package/tencentcloud/services/tke/v20180525/tke_client.js +108 -30
  108. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +536 -107
  109. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
  110. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +21 -2
  111. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +18 -18
  112. package/tencentcloud/services/vod/v20180717/vod_client.js +18 -18
  113. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +237 -237
  114. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -1
  115. package/tencentcloud/services/wedata/index.d.ts +6 -0
  116. package/tencentcloud/services/wedata/index.js +7 -0
  117. package/tencentcloud/services/wedata/v20210820/index.d.ts +6 -0
  118. package/tencentcloud/services/wedata/v20210820/index.js +9 -0
  119. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +22 -0
  120. package/tencentcloud/services/wedata/v20210820/wedata_client.js +49 -0
  121. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +311 -0
  122. package/tencentcloud/services/wedata/v20210820/wedata_models.js +18 -0
  123. package/tencentcloud/services/yinsuda/index.d.ts +6 -0
  124. package/tencentcloud/services/yinsuda/index.js +7 -0
  125. package/tencentcloud/services/yinsuda/v20220527/index.d.ts +6 -0
  126. package/tencentcloud/services/yinsuda/v20220527/index.js +9 -0
  127. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +30 -0
  128. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +61 -0
  129. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +311 -0
  130. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.js +18 -0
  131. package/test/ccc.v20200210.test.js +10 -0
  132. package/test/ciam.v20220331.test.js +10 -0
  133. package/test/cvm.v20170312.test.js +12 -2
  134. package/test/cynosdb.v20190107.test.js +76 -6
  135. package/test/dbdc.v20201029.test.js +18 -8
  136. package/test/dlc.v20210125.test.js +182 -12
  137. package/test/ms.v20180408.test.js +10 -0
  138. package/test/taf.v20200210.test.js +0 -10
  139. package/test/tke.v20180525.test.js +162 -32
  140. package/test/wedata.v20210820.test.js +51 -0
  141. package/test/yinsuda.v20220527.test.js +71 -0
@@ -38,9 +38,19 @@ it("dlc.v20210125.CreateTask", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("dlc.v20210125.AddUsersToWorkGroup", async function () {
41
+ it("dlc.v20210125.CreateTasksInOrder", async function () {
42
42
  try {
43
- const data = await client.AddUsersToWorkGroup({})
43
+ const data = await client.CreateTasksInOrder({})
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
+
51
+ it("dlc.v20210125.CheckLockMetaData", async function () {
52
+ try {
53
+ const data = await client.CheckLockMetaData({})
44
54
  expect(data).to.be.ok
45
55
  } catch(error) {
46
56
  expect(error.requestId).to.be.ok
@@ -58,9 +68,9 @@ it("dlc.v20210125.CreateImportTask", async function () {
58
68
  }
59
69
  })
60
70
 
61
- it("dlc.v20210125.DescribeTaskResult", async function () {
71
+ it("dlc.v20210125.AlterDMSTable", async function () {
62
72
  try {
63
- const data = await client.DescribeTaskResult({})
73
+ const data = await client.AlterDMSTable({})
64
74
  expect(data).to.be.ok
65
75
  } catch(error) {
66
76
  expect(error.requestId).to.be.ok
@@ -68,9 +78,39 @@ it("dlc.v20210125.DescribeTaskResult", async function () {
68
78
  }
69
79
  })
70
80
 
71
- it("dlc.v20210125.BindWorkGroupsToUser", async function () {
81
+ it("dlc.v20210125.DropDMSDatabase", async function () {
72
82
  try {
73
- const data = await client.BindWorkGroupsToUser({})
83
+ const data = await client.DropDMSDatabase({})
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("dlc.v20210125.AddDMSPartitions", async function () {
92
+ try {
93
+ const data = await client.AddDMSPartitions({})
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
+
101
+ it("dlc.v20210125.DeleteScript", async function () {
102
+ try {
103
+ const data = await client.DeleteScript({})
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("dlc.v20210125.LockMetaData", async function () {
112
+ try {
113
+ const data = await client.LockMetaData({})
74
114
  expect(data).to.be.ok
75
115
  } catch(error) {
76
116
  expect(error.requestId).to.be.ok
@@ -88,6 +128,16 @@ it("dlc.v20210125.CreateTable", async function () {
88
128
  }
89
129
  })
90
130
 
131
+ it("dlc.v20210125.DescribeTaskResult", async function () {
132
+ try {
133
+ const data = await client.DescribeTaskResult({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
91
141
  it("dlc.v20210125.CreateExportTask", async function () {
92
142
  try {
93
143
  const data = await client.CreateExportTask({})
@@ -148,6 +198,16 @@ it("dlc.v20210125.DeleteWorkGroup", async function () {
148
198
  }
149
199
  })
150
200
 
201
+ it("dlc.v20210125.UnlockMetaData", async function () {
202
+ try {
203
+ const data = await client.UnlockMetaData({})
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
+
151
211
  it("dlc.v20210125.CreateStoreLocation", async function () {
152
212
  try {
153
213
  const data = await client.CreateStoreLocation({})
@@ -158,6 +218,16 @@ it("dlc.v20210125.CreateStoreLocation", async function () {
158
218
  }
159
219
  })
160
220
 
221
+ it("dlc.v20210125.DescribeDMSTable", async function () {
222
+ try {
223
+ const data = await client.DescribeDMSTable({})
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
+
161
231
  it("dlc.v20210125.DeleteUsersFromWorkGroup", async function () {
162
232
  try {
163
233
  const data = await client.DeleteUsersFromWorkGroup({})
@@ -168,6 +238,16 @@ it("dlc.v20210125.DeleteUsersFromWorkGroup", async function () {
168
238
  }
169
239
  })
170
240
 
241
+ it("dlc.v20210125.ReportHeartbeatMetaData", async function () {
242
+ try {
243
+ const data = await client.ReportHeartbeatMetaData({})
244
+ expect(data).to.be.ok
245
+ } catch(error) {
246
+ expect(error.requestId).to.be.ok
247
+ expect(error.code).to.be.ok
248
+ }
249
+ })
250
+
171
251
  it("dlc.v20210125.CreateWorkGroup", async function () {
172
252
  try {
173
253
  const data = await client.CreateWorkGroup({})
@@ -188,6 +268,16 @@ it("dlc.v20210125.ListTaskJobLogDetail", async function () {
188
268
  }
189
269
  })
190
270
 
271
+ it("dlc.v20210125.AlterDMSDatabase", async function () {
272
+ try {
273
+ const data = await client.AlterDMSDatabase({})
274
+ expect(data).to.be.ok
275
+ } catch(error) {
276
+ expect(error.requestId).to.be.ok
277
+ expect(error.code).to.be.ok
278
+ }
279
+ })
280
+
191
281
  it("dlc.v20210125.UnbindWorkGroupsFromUser", async function () {
192
282
  try {
193
283
  const data = await client.UnbindWorkGroupsFromUser({})
@@ -208,6 +298,16 @@ it("dlc.v20210125.AttachWorkGroupPolicy", async function () {
208
298
  }
209
299
  })
210
300
 
301
+ it("dlc.v20210125.DescribeDMSPartitions", async function () {
302
+ try {
303
+ const data = await client.DescribeDMSPartitions({})
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
+
211
311
  it("dlc.v20210125.CreateSparkApp", async function () {
212
312
  try {
213
313
  const data = await client.CreateSparkApp({})
@@ -228,6 +328,16 @@ it("dlc.v20210125.CancelTask", async function () {
228
328
  }
229
329
  })
230
330
 
331
+ it("dlc.v20210125.DropDMSTable", async function () {
332
+ try {
333
+ const data = await client.DropDMSTable({})
334
+ expect(data).to.be.ok
335
+ } catch(error) {
336
+ expect(error.requestId).to.be.ok
337
+ expect(error.code).to.be.ok
338
+ }
339
+ })
340
+
231
341
  it("dlc.v20210125.CreateScript", async function () {
232
342
  try {
233
343
  const data = await client.CreateScript({})
@@ -238,6 +348,16 @@ it("dlc.v20210125.CreateScript", async function () {
238
348
  }
239
349
  })
240
350
 
351
+ it("dlc.v20210125.DescribeDMSTables", async function () {
352
+ try {
353
+ const data = await client.DescribeDMSTables({})
354
+ expect(data).to.be.ok
355
+ } catch(error) {
356
+ expect(error.requestId).to.be.ok
357
+ expect(error.code).to.be.ok
358
+ }
359
+ })
360
+
241
361
  it("dlc.v20210125.CreateDatabase", async function () {
242
362
  try {
243
363
  const data = await client.CreateDatabase({})
@@ -298,6 +418,16 @@ it("dlc.v20210125.DescribeTable", async function () {
298
418
  }
299
419
  })
300
420
 
421
+ it("dlc.v20210125.DescribeDMSDatabase", async function () {
422
+ try {
423
+ const data = await client.DescribeDMSDatabase({})
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("dlc.v20210125.DescribeTasks", async function () {
302
432
  try {
303
433
  const data = await client.DescribeTasks({})
@@ -308,9 +438,9 @@ it("dlc.v20210125.DescribeTasks", async function () {
308
438
  }
309
439
  })
310
440
 
311
- it("dlc.v20210125.DeleteScript", async function () {
441
+ it("dlc.v20210125.BindWorkGroupsToUser", async function () {
312
442
  try {
313
- const data = await client.DeleteScript({})
443
+ const data = await client.BindWorkGroupsToUser({})
314
444
  expect(data).to.be.ok
315
445
  } catch(error) {
316
446
  expect(error.requestId).to.be.ok
@@ -328,6 +458,16 @@ it("dlc.v20210125.CreateSparkAppTask", async function () {
328
458
  }
329
459
  })
330
460
 
461
+ it("dlc.v20210125.DropDMSPartitions", async function () {
462
+ try {
463
+ const data = await client.DropDMSPartitions({})
464
+ expect(data).to.be.ok
465
+ } catch(error) {
466
+ expect(error.requestId).to.be.ok
467
+ expect(error.code).to.be.ok
468
+ }
469
+ })
470
+
331
471
  it("dlc.v20210125.ModifyUser", async function () {
332
472
  try {
333
473
  const data = await client.ModifyUser({})
@@ -358,9 +498,39 @@ it("dlc.v20210125.DescribeDatabases", async function () {
358
498
  }
359
499
  })
360
500
 
361
- it("dlc.v20210125.CreateTasksInOrder", async function () {
501
+ it("dlc.v20210125.AddUsersToWorkGroup", async function () {
362
502
  try {
363
- const data = await client.CreateTasksInOrder({})
503
+ const data = await client.AddUsersToWorkGroup({})
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
+
511
+ it("dlc.v20210125.DescribeStoreLocation", async function () {
512
+ try {
513
+ const data = await client.DescribeStoreLocation({})
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
+
521
+ it("dlc.v20210125.CreateDMSDatabase", async function () {
522
+ try {
523
+ const data = await client.CreateDMSDatabase({})
524
+ expect(data).to.be.ok
525
+ } catch(error) {
526
+ expect(error.requestId).to.be.ok
527
+ expect(error.code).to.be.ok
528
+ }
529
+ })
530
+
531
+ it("dlc.v20210125.AlterDMSPartition", async function () {
532
+ try {
533
+ const data = await client.AlterDMSPartition({})
364
534
  expect(data).to.be.ok
365
535
  } catch(error) {
366
536
  expect(error.requestId).to.be.ok
@@ -378,9 +548,9 @@ it("dlc.v20210125.AttachUserPolicy", async function () {
378
548
  }
379
549
  })
380
550
 
381
- it("dlc.v20210125.DescribeStoreLocation", async function () {
551
+ it("dlc.v20210125.CreateDMSTable", async function () {
382
552
  try {
383
- const data = await client.DescribeStoreLocation({})
553
+ const data = await client.CreateDMSTable({})
384
554
  expect(data).to.be.ok
385
555
  } catch(error) {
386
556
  expect(error.requestId).to.be.ok
@@ -128,6 +128,16 @@ it("ms.v20180408.DescribeShieldInstances", async function () {
128
128
  }
129
129
  })
130
130
 
131
+ it("ms.v20180408.DescribeUrlDetectionResult", async function () {
132
+ try {
133
+ const data = await client.DescribeUrlDetectionResult({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
131
141
  it("ms.v20180408.CreateShieldPlanInstance", async function () {
132
142
  try {
133
143
  const data = await client.CreateShieldPlanInstance({})
@@ -18,16 +18,6 @@ const client = new tencentcloud.taf.v20200210.Client({
18
18
  })
19
19
  describe("taf.v20200210.test.js", function () {
20
20
 
21
- it("taf.v20200210.EnhanceTaDegree", async function () {
22
- try {
23
- const data = await client.EnhanceTaDegree({})
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
21
  it("taf.v20200210.RecognizeTargetAudience", async function () {
32
22
  try {
33
23
  const data = await client.RecognizeTargetAudience({})
@@ -18,6 +18,16 @@ const client = new tencentcloud.tke.v20180525.Client({
18
18
  })
19
19
  describe("tke.v20180525.test.js", function () {
20
20
 
21
+ it("tke.v20180525.DeletePrometheusClusterAgent", async function () {
22
+ try {
23
+ const data = await client.DeletePrometheusClusterAgent({})
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("tke.v20180525.CreateECMInstances", async function () {
22
32
  try {
23
33
  const data = await client.CreateECMInstances({})
@@ -158,16 +168,6 @@ it("tke.v20180525.DescribePrometheusAlertHistory", async function () {
158
168
  }
159
169
  })
160
170
 
161
- it("tke.v20180525.DescribeTKEEdgeClusterCredential", async function () {
162
- try {
163
- const data = await client.DescribeTKEEdgeClusterCredential({})
164
- expect(data).to.be.ok
165
- } catch(error) {
166
- expect(error.requestId).to.be.ok
167
- expect(error.code).to.be.ok
168
- }
169
- })
170
-
171
171
  it("tke.v20180525.CreateClusterRouteTable", async function () {
172
172
  try {
173
173
  const data = await client.CreateClusterRouteTable({})
@@ -218,6 +218,16 @@ it("tke.v20180525.GetMostSuitableImageCache", async function () {
218
218
  }
219
219
  })
220
220
 
221
+ it("tke.v20180525.DescribeTKEEdgeScript", async function () {
222
+ try {
223
+ const data = await client.DescribeTKEEdgeScript({})
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
+
221
231
  it("tke.v20180525.DescribeAvailableTKEEdgeVersion", async function () {
222
232
  try {
223
233
  const data = await client.DescribeAvailableTKEEdgeVersion({})
@@ -268,6 +278,16 @@ it("tke.v20180525.ForwardApplicationRequestV3", async function () {
268
278
  }
269
279
  })
270
280
 
281
+ it("tke.v20180525.ModifyPrometheusAgentExternalLabels", async function () {
282
+ try {
283
+ const data = await client.ModifyPrometheusAgentExternalLabels({})
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
+
271
291
  it("tke.v20180525.DeleteEKSCluster", async function () {
272
292
  try {
273
293
  const data = await client.DeleteEKSCluster({})
@@ -308,9 +328,9 @@ it("tke.v20180525.DescribeEdgeClusterExtraArgs", async function () {
308
328
  }
309
329
  })
310
330
 
311
- it("tke.v20180525.DescribeImageCaches", async function () {
331
+ it("tke.v20180525.DescribeClusterAsGroups", async function () {
312
332
  try {
313
- const data = await client.DescribeImageCaches({})
333
+ const data = await client.DescribeClusterAsGroups({})
314
334
  expect(data).to.be.ok
315
335
  } catch(error) {
316
336
  expect(error.requestId).to.be.ok
@@ -458,6 +478,16 @@ it("tke.v20180525.AddVpcCniSubnets", async function () {
458
478
  }
459
479
  })
460
480
 
481
+ it("tke.v20180525.DescribeImages", async function () {
482
+ try {
483
+ const data = await client.DescribeImages({})
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
+
461
491
  it("tke.v20180525.DescribeExistedInstances", async function () {
462
492
  try {
463
493
  const data = await client.DescribeExistedInstances({})
@@ -468,9 +498,19 @@ it("tke.v20180525.DescribeExistedInstances", async function () {
468
498
  }
469
499
  })
470
500
 
471
- it("tke.v20180525.DescribeEKSClusterCredential", async function () {
501
+ it("tke.v20180525.DescribePrometheusInstanceInitStatus", async function () {
472
502
  try {
473
- const data = await client.DescribeEKSClusterCredential({})
503
+ const data = await client.DescribePrometheusInstanceInitStatus({})
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
+
511
+ it("tke.v20180525.DescribeTKEEdgeClusterCredential", async function () {
512
+ try {
513
+ const data = await client.DescribeTKEEdgeClusterCredential({})
474
514
  expect(data).to.be.ok
475
515
  } catch(error) {
476
516
  expect(error.requestId).to.be.ok
@@ -548,6 +588,16 @@ it("tke.v20180525.DescribeRegions", async function () {
548
588
  }
549
589
  })
550
590
 
591
+ it("tke.v20180525.SyncPrometheusTemplate", async function () {
592
+ try {
593
+ const data = await client.SyncPrometheusTemplate({})
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
+
551
601
  it("tke.v20180525.AddExistedInstances", async function () {
552
602
  try {
553
603
  const data = await client.AddExistedInstances({})
@@ -698,9 +748,9 @@ it("tke.v20180525.RestartEKSContainerInstances", async function () {
698
748
  }
699
749
  })
700
750
 
701
- it("tke.v20180525.DescribeTKEEdgeScript", async function () {
751
+ it("tke.v20180525.DeletePrometheusConfig", async function () {
702
752
  try {
703
- const data = await client.DescribeTKEEdgeScript({})
753
+ const data = await client.DeletePrometheusConfig({})
704
754
  expect(data).to.be.ok
705
755
  } catch(error) {
706
756
  expect(error.requestId).to.be.ok
@@ -768,16 +818,6 @@ it("tke.v20180525.CreatePrometheusTemp", async function () {
768
818
  }
769
819
  })
770
820
 
771
- it("tke.v20180525.DescribeClusterAsGroups", async function () {
772
- try {
773
- const data = await client.DescribeClusterAsGroups({})
774
- expect(data).to.be.ok
775
- } catch(error) {
776
- expect(error.requestId).to.be.ok
777
- expect(error.code).to.be.ok
778
- }
779
- })
780
-
781
821
  it("tke.v20180525.DescribePrometheusTemplateSync", async function () {
782
822
  try {
783
823
  const data = await client.DescribePrometheusTemplateSync({})
@@ -998,6 +1038,26 @@ it("tke.v20180525.CreatePrometheusAlertRule", async function () {
998
1038
  }
999
1039
  })
1000
1040
 
1041
+ it("tke.v20180525.DeletePrometheusRecordRuleYaml", async function () {
1042
+ try {
1043
+ const data = await client.DeletePrometheusRecordRuleYaml({})
1044
+ expect(data).to.be.ok
1045
+ } catch(error) {
1046
+ expect(error.requestId).to.be.ok
1047
+ expect(error.code).to.be.ok
1048
+ }
1049
+ })
1050
+
1051
+ it("tke.v20180525.ModifyPrometheusConfig", async function () {
1052
+ try {
1053
+ const data = await client.ModifyPrometheusConfig({})
1054
+ expect(data).to.be.ok
1055
+ } catch(error) {
1056
+ expect(error.requestId).to.be.ok
1057
+ expect(error.code).to.be.ok
1058
+ }
1059
+ })
1060
+
1001
1061
  it("tke.v20180525.ModifyPrometheusTemp", async function () {
1002
1062
  try {
1003
1063
  const data = await client.ModifyPrometheusTemp({})
@@ -1008,6 +1068,16 @@ it("tke.v20180525.ModifyPrometheusTemp", async function () {
1008
1068
  }
1009
1069
  })
1010
1070
 
1071
+ it("tke.v20180525.ModifyPrometheusRecordRuleYaml", async function () {
1072
+ try {
1073
+ const data = await client.ModifyPrometheusRecordRuleYaml({})
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
+
1011
1081
  it("tke.v20180525.DescribeClusterControllers", async function () {
1012
1082
  try {
1013
1083
  const data = await client.DescribeClusterControllers({})
@@ -1108,9 +1178,29 @@ it("tke.v20180525.DescribeClusterNodePools", async function () {
1108
1178
  }
1109
1179
  })
1110
1180
 
1111
- it("tke.v20180525.DescribeImages", async function () {
1181
+ it("tke.v20180525.CreatePrometheusClusterAgent", async function () {
1112
1182
  try {
1113
- const data = await client.DescribeImages({})
1183
+ const data = await client.CreatePrometheusClusterAgent({})
1184
+ expect(data).to.be.ok
1185
+ } catch(error) {
1186
+ expect(error.requestId).to.be.ok
1187
+ expect(error.code).to.be.ok
1188
+ }
1189
+ })
1190
+
1191
+ it("tke.v20180525.DeletePrometheusAlertPolicy", async function () {
1192
+ try {
1193
+ const data = await client.DeletePrometheusAlertPolicy({})
1194
+ expect(data).to.be.ok
1195
+ } catch(error) {
1196
+ expect(error.requestId).to.be.ok
1197
+ expect(error.code).to.be.ok
1198
+ }
1199
+ })
1200
+
1201
+ it("tke.v20180525.DescribeEKSClusterCredential", async function () {
1202
+ try {
1203
+ const data = await client.DescribeEKSClusterCredential({})
1114
1204
  expect(data).to.be.ok
1115
1205
  } catch(error) {
1116
1206
  expect(error.requestId).to.be.ok
@@ -1148,6 +1238,16 @@ it("tke.v20180525.DescribeClusterRoutes", async function () {
1148
1238
  }
1149
1239
  })
1150
1240
 
1241
+ it("tke.v20180525.DescribePrometheusGlobalConfig", async function () {
1242
+ try {
1243
+ const data = await client.DescribePrometheusGlobalConfig({})
1244
+ expect(data).to.be.ok
1245
+ } catch(error) {
1246
+ expect(error.requestId).to.be.ok
1247
+ expect(error.code).to.be.ok
1248
+ }
1249
+ })
1250
+
1151
1251
  it("tke.v20180525.SyncPrometheusTemp", async function () {
1152
1252
  try {
1153
1253
  const data = await client.SyncPrometheusTemp({})
@@ -1308,6 +1408,16 @@ it("tke.v20180525.DescribeClusterKubeconfig", async function () {
1308
1408
  }
1309
1409
  })
1310
1410
 
1411
+ it("tke.v20180525.DescribePrometheusConfig", async function () {
1412
+ try {
1413
+ const data = await client.DescribePrometheusConfig({})
1414
+ expect(data).to.be.ok
1415
+ } catch(error) {
1416
+ expect(error.requestId).to.be.ok
1417
+ expect(error.code).to.be.ok
1418
+ }
1419
+ })
1420
+
1311
1421
  it("tke.v20180525.DescribeEdgeClusterInstances", async function () {
1312
1422
  try {
1313
1423
  const data = await client.DescribeEdgeClusterInstances({})
@@ -1358,6 +1468,16 @@ it("tke.v20180525.CreateClusterNodePool", async function () {
1358
1468
  }
1359
1469
  })
1360
1470
 
1471
+ it("tke.v20180525.CreatePrometheusRecordRuleYaml", async function () {
1472
+ try {
1473
+ const data = await client.CreatePrometheusRecordRuleYaml({})
1474
+ expect(data).to.be.ok
1475
+ } catch(error) {
1476
+ expect(error.requestId).to.be.ok
1477
+ expect(error.code).to.be.ok
1478
+ }
1479
+ })
1480
+
1361
1481
  it("tke.v20180525.DeletePrometheusTemp", async function () {
1362
1482
  try {
1363
1483
  const data = await client.DeletePrometheusTemp({})
@@ -1398,9 +1518,9 @@ it("tke.v20180525.ForwardTKEEdgeApplicationRequestV3", async function () {
1398
1518
  }
1399
1519
  })
1400
1520
 
1401
- it("tke.v20180525.SyncPrometheusTemplate", async function () {
1521
+ it("tke.v20180525.DescribeImageCaches", async function () {
1402
1522
  try {
1403
- const data = await client.SyncPrometheusTemplate({})
1523
+ const data = await client.DescribeImageCaches({})
1404
1524
  expect(data).to.be.ok
1405
1525
  } catch(error) {
1406
1526
  expect(error.requestId).to.be.ok
@@ -1478,9 +1598,19 @@ it("tke.v20180525.DeletePrometheusTempSync", async function () {
1478
1598
  }
1479
1599
  })
1480
1600
 
1481
- it("tke.v20180525.DeletePrometheusAlertPolicy", async function () {
1601
+ it("tke.v20180525.CreatePrometheusConfig", async function () {
1482
1602
  try {
1483
- const data = await client.DeletePrometheusAlertPolicy({})
1603
+ const data = await client.CreatePrometheusConfig({})
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
+ it("tke.v20180525.RunPrometheusInstance", async function () {
1612
+ try {
1613
+ const data = await client.RunPrometheusInstance({})
1484
1614
  expect(data).to.be.ok
1485
1615
  } catch(error) {
1486
1616
  expect(error.requestId).to.be.ok
@@ -0,0 +1,51 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.wedata.v20210820.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("wedata.v20210820.test.js", function () {
20
+
21
+ it("wedata.v20210820.DescribeProject", async function () {
22
+ try {
23
+ const data = await client.DescribeProject({})
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("wedata.v20210820.DescribeRelatedInstances", async function () {
32
+ try {
33
+ const data = await client.DescribeRelatedInstances({})
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
+
41
+ it("wedata.v20210820.DescribeTaskInstances", async function () {
42
+ try {
43
+ const data = await client.DescribeTaskInstances({})
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
+
51
+ })