tencentcloud-sdk-nodejs 4.0.372 → 4.0.373

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 (95) hide show
  1. package/CHANGELOG.md +495 -0
  2. package/SERVICE_CHANGELOG.md +852 -47
  3. package/package.json +1 -1
  4. package/products.md +20 -19
  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 +73 -27
  8. package/src/services/apm/v20210622/apm_models.ts +17 -11
  9. package/src/services/ccc/v20200210/ccc_client.ts +12 -0
  10. package/src/services/ccc/v20200210/ccc_models.ts +45 -0
  11. package/src/services/cdn/v20180606/cdn_models.ts +9 -0
  12. package/src/services/ciam/v20220331/ciam_client.ts +14 -1
  13. package/src/services/ciam/v20220331/ciam_models.ts +166 -4
  14. package/src/services/cpdp/v20190820/cpdp_client.ts +1 -0
  15. package/src/services/cpdp/v20190820/cpdp_models.ts +24 -1
  16. package/src/services/cwp/v20180228/cwp_models.ts +81 -4
  17. package/src/services/dlc/v20210125/dlc_client.ts +243 -43
  18. package/src/services/dlc/v20210125/dlc_models.ts +1538 -281
  19. package/src/services/eb/v20210416/eb_client.ts +1 -0
  20. package/src/services/eb/v20210416/eb_models.ts +40 -0
  21. package/src/services/ess/v20201111/ess_client.ts +3 -3
  22. package/src/services/ess/v20201111/ess_models.ts +176 -154
  23. package/src/services/essbasic/v20210526/essbasic_client.ts +7 -7
  24. package/src/services/essbasic/v20210526/essbasic_models.ts +222 -206
  25. package/src/services/index.ts +1 -0
  26. package/src/services/taf/v20200210/taf_client.ts +3 -18
  27. package/src/services/taf/v20200210/taf_models.ts +16 -221
  28. package/src/services/tcbr/v20220217/tcbr_models.ts +17 -0
  29. package/src/services/teo/v20220106/teo_client.ts +2 -1
  30. package/src/services/teo/v20220106/teo_models.ts +185 -113
  31. package/src/services/tke/v20180525/tke_client.ts +221 -65
  32. package/src/services/tke/v20180525/tke_models.ts +562 -154
  33. package/src/services/tsf/v20180326/tsf_client.ts +1 -1
  34. package/src/services/tsf/v20180326/tsf_models.ts +24 -2
  35. package/src/services/vod/v20180717/vod_client.ts +18 -18
  36. package/src/services/vod/v20180717/vod_models.ts +238 -238
  37. package/src/services/vpc/v20170312/vpc_models.ts +1 -1
  38. package/src/services/yinsuda/index.ts +5 -0
  39. package/src/services/yinsuda/v20220527/index.ts +6 -0
  40. package/src/services/yinsuda/v20220527/yinsuda_client.ts +98 -0
  41. package/src/services/yinsuda/v20220527/yinsuda_models.ts +381 -0
  42. package/tencentcloud/common/sdk_version.d.ts +1 -1
  43. package/tencentcloud/common/sdk_version.js +1 -1
  44. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
  45. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +61 -22
  46. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +15 -9
  47. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
  48. package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
  49. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +38 -0
  50. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +8 -0
  51. package/tencentcloud/services/ciam/v20220331/ciam_client.d.ts +5 -1
  52. package/tencentcloud/services/ciam/v20220331/ciam_client.js +6 -0
  53. package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +141 -4
  54. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +21 -1
  55. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +68 -4
  56. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +77 -13
  57. package/tencentcloud/services/dlc/v20210125/dlc_client.js +114 -18
  58. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +1230 -176
  59. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +33 -0
  60. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +3 -3
  61. package/tencentcloud/services/ess/v20201111/ess_client.js +3 -3
  62. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +163 -144
  63. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +7 -7
  64. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +7 -7
  65. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +208 -195
  66. package/tencentcloud/services/index.d.ts +1 -0
  67. package/tencentcloud/services/index.js +2 -0
  68. package/tencentcloud/services/taf/v20200210/taf_client.d.ts +1 -5
  69. package/tencentcloud/services/taf/v20200210/taf_client.js +0 -6
  70. package/tencentcloud/services/taf/v20200210/taf_models.d.ts +14 -184
  71. package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +14 -0
  72. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +159 -94
  73. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +73 -21
  74. package/tencentcloud/services/tke/v20180525/tke_client.js +108 -30
  75. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +468 -119
  76. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
  77. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +21 -2
  78. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +18 -18
  79. package/tencentcloud/services/vod/v20180717/vod_client.js +18 -18
  80. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +237 -237
  81. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -1
  82. package/tencentcloud/services/yinsuda/index.d.ts +6 -0
  83. package/tencentcloud/services/yinsuda/index.js +7 -0
  84. package/tencentcloud/services/yinsuda/v20220527/index.d.ts +6 -0
  85. package/tencentcloud/services/yinsuda/v20220527/index.js +9 -0
  86. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +30 -0
  87. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +61 -0
  88. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +311 -0
  89. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.js +18 -0
  90. package/test/ccc.v20200210.test.js +10 -0
  91. package/test/ciam.v20220331.test.js +10 -0
  92. package/test/dlc.v20210125.test.js +172 -12
  93. package/test/taf.v20200210.test.js +0 -10
  94. package/test/tke.v20180525.test.js +162 -32
  95. 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({})
@@ -188,6 +258,16 @@ it("dlc.v20210125.ListTaskJobLogDetail", async function () {
188
258
  }
189
259
  })
190
260
 
261
+ it("dlc.v20210125.AlterDMSDatabase", async function () {
262
+ try {
263
+ const data = await client.AlterDMSDatabase({})
264
+ expect(data).to.be.ok
265
+ } catch(error) {
266
+ expect(error.requestId).to.be.ok
267
+ expect(error.code).to.be.ok
268
+ }
269
+ })
270
+
191
271
  it("dlc.v20210125.UnbindWorkGroupsFromUser", async function () {
192
272
  try {
193
273
  const data = await client.UnbindWorkGroupsFromUser({})
@@ -208,6 +288,16 @@ it("dlc.v20210125.AttachWorkGroupPolicy", async function () {
208
288
  }
209
289
  })
210
290
 
291
+ it("dlc.v20210125.DescribeDMSPartitions", async function () {
292
+ try {
293
+ const data = await client.DescribeDMSPartitions({})
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
+
211
301
  it("dlc.v20210125.CreateSparkApp", async function () {
212
302
  try {
213
303
  const data = await client.CreateSparkApp({})
@@ -228,6 +318,16 @@ it("dlc.v20210125.CancelTask", async function () {
228
318
  }
229
319
  })
230
320
 
321
+ it("dlc.v20210125.DropDMSTable", async function () {
322
+ try {
323
+ const data = await client.DropDMSTable({})
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
+
231
331
  it("dlc.v20210125.CreateScript", async function () {
232
332
  try {
233
333
  const data = await client.CreateScript({})
@@ -238,6 +338,16 @@ it("dlc.v20210125.CreateScript", async function () {
238
338
  }
239
339
  })
240
340
 
341
+ it("dlc.v20210125.DescribeDMSTables", async function () {
342
+ try {
343
+ const data = await client.DescribeDMSTables({})
344
+ expect(data).to.be.ok
345
+ } catch(error) {
346
+ expect(error.requestId).to.be.ok
347
+ expect(error.code).to.be.ok
348
+ }
349
+ })
350
+
241
351
  it("dlc.v20210125.CreateDatabase", async function () {
242
352
  try {
243
353
  const data = await client.CreateDatabase({})
@@ -298,6 +408,16 @@ it("dlc.v20210125.DescribeTable", async function () {
298
408
  }
299
409
  })
300
410
 
411
+ it("dlc.v20210125.DescribeDMSDatabase", async function () {
412
+ try {
413
+ const data = await client.DescribeDMSDatabase({})
414
+ expect(data).to.be.ok
415
+ } catch(error) {
416
+ expect(error.requestId).to.be.ok
417
+ expect(error.code).to.be.ok
418
+ }
419
+ })
420
+
301
421
  it("dlc.v20210125.DescribeTasks", async function () {
302
422
  try {
303
423
  const data = await client.DescribeTasks({})
@@ -308,9 +428,9 @@ it("dlc.v20210125.DescribeTasks", async function () {
308
428
  }
309
429
  })
310
430
 
311
- it("dlc.v20210125.DeleteScript", async function () {
431
+ it("dlc.v20210125.BindWorkGroupsToUser", async function () {
312
432
  try {
313
- const data = await client.DeleteScript({})
433
+ const data = await client.BindWorkGroupsToUser({})
314
434
  expect(data).to.be.ok
315
435
  } catch(error) {
316
436
  expect(error.requestId).to.be.ok
@@ -328,6 +448,16 @@ it("dlc.v20210125.CreateSparkAppTask", async function () {
328
448
  }
329
449
  })
330
450
 
451
+ it("dlc.v20210125.DropDMSPartitions", async function () {
452
+ try {
453
+ const data = await client.DropDMSPartitions({})
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
+
331
461
  it("dlc.v20210125.ModifyUser", async function () {
332
462
  try {
333
463
  const data = await client.ModifyUser({})
@@ -358,9 +488,39 @@ it("dlc.v20210125.DescribeDatabases", async function () {
358
488
  }
359
489
  })
360
490
 
361
- it("dlc.v20210125.CreateTasksInOrder", async function () {
491
+ it("dlc.v20210125.AddUsersToWorkGroup", async function () {
362
492
  try {
363
- const data = await client.CreateTasksInOrder({})
493
+ const data = await client.AddUsersToWorkGroup({})
494
+ expect(data).to.be.ok
495
+ } catch(error) {
496
+ expect(error.requestId).to.be.ok
497
+ expect(error.code).to.be.ok
498
+ }
499
+ })
500
+
501
+ it("dlc.v20210125.DescribeStoreLocation", async function () {
502
+ try {
503
+ const data = await client.DescribeStoreLocation({})
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.CreateDMSDatabase", async function () {
512
+ try {
513
+ const data = await client.CreateDMSDatabase({})
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.AlterDMSPartition", async function () {
522
+ try {
523
+ const data = await client.AlterDMSPartition({})
364
524
  expect(data).to.be.ok
365
525
  } catch(error) {
366
526
  expect(error.requestId).to.be.ok
@@ -378,9 +538,9 @@ it("dlc.v20210125.AttachUserPolicy", async function () {
378
538
  }
379
539
  })
380
540
 
381
- it("dlc.v20210125.DescribeStoreLocation", async function () {
541
+ it("dlc.v20210125.CreateDMSTable", async function () {
382
542
  try {
383
- const data = await client.DescribeStoreLocation({})
543
+ const data = await client.CreateDMSTable({})
384
544
  expect(data).to.be.ok
385
545
  } catch(error) {
386
546
  expect(error.requestId).to.be.ok
@@ -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,71 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.yinsuda.v20220527.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("yinsuda.v20220527.test.js", function () {
20
+
21
+ it("yinsuda.v20220527.DescribeKTVPlaylists", async function () {
22
+ try {
23
+ const data = await client.DescribeKTVPlaylists({})
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("yinsuda.v20220527.DescribeKTVPlaylistDetail", async function () {
32
+ try {
33
+ const data = await client.DescribeKTVPlaylistDetail({})
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("yinsuda.v20220527.BatchDescribeKTVMusicDetails", async function () {
42
+ try {
43
+ const data = await client.BatchDescribeKTVMusicDetails({})
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("yinsuda.v20220527.SearchKTVMusics", async function () {
52
+ try {
53
+ const data = await client.SearchKTVMusics({})
54
+ expect(data).to.be.ok
55
+ } catch(error) {
56
+ expect(error.requestId).to.be.ok
57
+ expect(error.code).to.be.ok
58
+ }
59
+ })
60
+
61
+ it("yinsuda.v20220527.DescribeKTVSuggestions", async function () {
62
+ try {
63
+ const data = await client.DescribeKTVSuggestions({})
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
+
71
+ })