tencentcloud-sdk-nodejs 4.0.546 → 4.0.548

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 (89) hide show
  1. package/CHANGELOG.md +377 -0
  2. package/SERVICE_CHANGELOG.md +404 -133
  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/bma/v20221115/bma_models.ts +2 -2
  7. package/src/services/cbs/v20170312/cbs_client.ts +3 -5
  8. package/src/services/cbs/v20170312/cbs_models.ts +139 -12
  9. package/src/services/cdc/v20201214/cdc_models.ts +14 -14
  10. package/src/services/cdn/v20180606/cdn_client.ts +32 -19
  11. package/src/services/cdn/v20180606/cdn_models.ts +164 -11
  12. package/src/services/cfw/v20190904/cfw_client.ts +44 -7
  13. package/src/services/cfw/v20190904/cfw_models.ts +117 -6
  14. package/src/services/clb/v20180317/clb_models.ts +4 -4
  15. package/src/services/cvm/v20170312/cvm_client.ts +1 -1
  16. package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -5
  17. package/src/services/dasb/v20191018/dasb_client.ts +279 -60
  18. package/src/services/dasb/v20191018/dasb_models.ts +1314 -714
  19. package/src/services/dcdb/v20180411/dcdb_client.ts +12 -0
  20. package/src/services/dcdb/v20180411/dcdb_models.ts +25 -0
  21. package/src/services/dts/v20211206/dts_models.ts +7 -7
  22. package/src/services/eb/v20210416/eb_client.ts +3 -1
  23. package/src/services/eb/v20210416/eb_models.ts +110 -25
  24. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  25. package/src/services/gs/v20191118/gs_models.ts +8 -8
  26. package/src/services/lcic/v20220817/lcic_client.ts +16 -2
  27. package/src/services/lcic/v20220817/lcic_models.ts +129 -16
  28. package/src/services/lighthouse/v20200324/lighthouse_client.ts +2 -3
  29. package/src/services/lighthouse/v20200324/lighthouse_models.ts +12 -12
  30. package/src/services/ocr/v20181119/ocr_client.ts +2 -4
  31. package/src/services/postgres/v20170312/postgres_models.ts +1 -1
  32. package/src/services/teo/v20220901/teo_models.ts +3 -1
  33. package/src/services/thpc/v20220401/thpc_client.ts +70 -17
  34. package/src/services/thpc/v20220401/thpc_models.ts +296 -83
  35. package/src/services/tke/v20180525/tke_models.ts +1 -1
  36. package/src/services/vpc/v20170312/vpc_client.ts +4 -3
  37. package/src/services/vpc/v20170312/vpc_models.ts +18 -8
  38. package/src/services/wedata/v20210820/wedata_models.ts +1 -1
  39. package/tencentcloud/common/sdk_version.d.ts +1 -1
  40. package/tencentcloud/common/sdk_version.js +1 -1
  41. package/tencentcloud/services/bma/v20221115/bma_models.d.ts +2 -2
  42. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +0 -3
  43. package/tencentcloud/services/cbs/v20170312/cbs_client.js +0 -3
  44. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +118 -12
  45. package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +14 -14
  46. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +11 -7
  47. package/tencentcloud/services/cdn/v20180606/cdn_client.js +15 -9
  48. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +138 -11
  49. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +15 -3
  50. package/tencentcloud/services/cfw/v20190904/cfw_client.js +21 -3
  51. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +102 -6
  52. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -4
  53. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
  54. package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
  55. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -5
  56. package/tencentcloud/services/dasb/v20191018/dasb_client.d.ts +81 -9
  57. package/tencentcloud/services/dasb/v20191018/dasb_client.js +120 -12
  58. package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +1183 -664
  59. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
  60. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
  61. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +22 -0
  62. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +6 -6
  63. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +95 -24
  64. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  65. package/tencentcloud/services/gs/v20191118/gs_models.d.ts +7 -7
  66. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
  67. package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
  68. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +112 -16
  69. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -3
  70. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -3
  71. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +12 -12
  72. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +0 -2
  73. package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -2
  74. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +1 -1
  75. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +3 -1
  76. package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +23 -5
  77. package/tencentcloud/services/thpc/v20220401/thpc_client.js +32 -6
  78. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +258 -74
  79. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
  80. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -1
  81. package/tencentcloud/services/vpc/v20170312/vpc_client.js +2 -1
  82. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +16 -8
  83. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +1 -1
  84. package/test/cdn.v20180606.test.js +16 -6
  85. package/test/cfw.v20190904.test.js +32 -2
  86. package/test/dasb.v20191018.test.js +188 -8
  87. package/test/dcdb.v20180411.test.js +10 -0
  88. package/test/lcic.v20220817.test.js +10 -0
  89. package/test/thpc.v20220401.test.js +44 -4
@@ -18,6 +18,16 @@ const client = new tencentcloud.dasb.v20191018.Client({
18
18
  })
19
19
  describe("dasb.v20191018.test.js", function () {
20
20
 
21
+ it("dasb.v20191018.ModifyDeviceGroup", async function () {
22
+ try {
23
+ const data = await client.ModifyDeviceGroup({})
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("dasb.v20191018.DescribeDeviceGroupMembers", async function () {
22
32
  try {
23
33
  const data = await client.DescribeDeviceGroupMembers({})
@@ -38,6 +48,36 @@ it("dasb.v20191018.CreateDeviceGroup", async function () {
38
48
  }
39
49
  })
40
50
 
51
+ it("dasb.v20191018.DescribeDeviceAccounts", async function () {
52
+ try {
53
+ const data = await client.DescribeDeviceAccounts({})
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("dasb.v20191018.ResetUser", async function () {
62
+ try {
63
+ const data = await client.ResetUser({})
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
+ it("dasb.v20191018.DeleteDevices", async function () {
72
+ try {
73
+ const data = await client.DeleteDevices({})
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
+
41
81
  it("dasb.v20191018.AddUserGroupMembers", async function () {
42
82
  try {
43
83
  const data = await client.AddUserGroupMembers({})
@@ -48,9 +88,29 @@ it("dasb.v20191018.AddUserGroupMembers", async function () {
48
88
  }
49
89
  })
50
90
 
51
- it("dasb.v20191018.DescribeUsers", async function () {
91
+ it("dasb.v20191018.DescribeUserGroups", async function () {
52
92
  try {
53
- const data = await client.DescribeUsers({})
93
+ const data = await client.DescribeUserGroups({})
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("dasb.v20191018.DeployResource", async function () {
102
+ try {
103
+ const data = await client.DeployResource({})
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("dasb.v20191018.ModifyDevice", async function () {
112
+ try {
113
+ const data = await client.ModifyDevice({})
54
114
  expect(data).to.be.ok
55
115
  } catch(error) {
56
116
  expect(error.requestId).to.be.ok
@@ -68,9 +128,9 @@ it("dasb.v20191018.BindDeviceResource", async function () {
68
128
  }
69
129
  })
70
130
 
71
- it("dasb.v20191018.DeleteAcls", async function () {
131
+ it("dasb.v20191018.BindDeviceAccountPassword", async function () {
72
132
  try {
73
- const data = await client.DeleteAcls({})
133
+ const data = await client.BindDeviceAccountPassword({})
74
134
  expect(data).to.be.ok
75
135
  } catch(error) {
76
136
  expect(error.requestId).to.be.ok
@@ -78,9 +138,9 @@ it("dasb.v20191018.DeleteAcls", async function () {
78
138
  }
79
139
  })
80
140
 
81
- it("dasb.v20191018.DescribeUserGroups", async function () {
141
+ it("dasb.v20191018.DeleteAcls", async function () {
82
142
  try {
83
- const data = await client.DescribeUserGroups({})
143
+ const data = await client.DeleteAcls({})
84
144
  expect(data).to.be.ok
85
145
  } catch(error) {
86
146
  expect(error.requestId).to.be.ok
@@ -108,6 +168,36 @@ it("dasb.v20191018.DeleteUserGroupMembers", async function () {
108
168
  }
109
169
  })
110
170
 
171
+ it("dasb.v20191018.CreateAssetSyncJob", async function () {
172
+ try {
173
+ const data = await client.CreateAssetSyncJob({})
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("dasb.v20191018.DescribeAcls", async function () {
182
+ try {
183
+ const data = await client.DescribeAcls({})
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("dasb.v20191018.ResetDeviceAccountPassword", async function () {
192
+ try {
193
+ const data = await client.ResetDeviceAccountPassword({})
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
+
111
201
  it("dasb.v20191018.DeleteDeviceGroups", async function () {
112
202
  try {
113
203
  const data = await client.DeleteDeviceGroups({})
@@ -158,9 +248,9 @@ it("dasb.v20191018.DescribeDasbImageIds", async function () {
158
248
  }
159
249
  })
160
250
 
161
- it("dasb.v20191018.DescribeAcls", async function () {
251
+ it("dasb.v20191018.CreateDeviceAccount", async function () {
162
252
  try {
163
- const data = await client.DescribeAcls({})
253
+ const data = await client.CreateDeviceAccount({})
164
254
  expect(data).to.be.ok
165
255
  } catch(error) {
166
256
  expect(error.requestId).to.be.ok
@@ -178,6 +268,16 @@ it("dasb.v20191018.DeleteDeviceGroupMembers", async function () {
178
268
  }
179
269
  })
180
270
 
271
+ it("dasb.v20191018.DeleteDeviceAccounts", async function () {
272
+ try {
273
+ const data = await client.DeleteDeviceAccounts({})
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
+
181
281
  it("dasb.v20191018.DeleteUserGroups", async function () {
182
282
  try {
183
283
  const data = await client.DeleteUserGroups({})
@@ -188,6 +288,16 @@ it("dasb.v20191018.DeleteUserGroups", async function () {
188
288
  }
189
289
  })
190
290
 
291
+ it("dasb.v20191018.CreateCmdTemplate", async function () {
292
+ try {
293
+ const data = await client.CreateCmdTemplate({})
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
+
191
301
  it("dasb.v20191018.ModifyUser", async function () {
192
302
  try {
193
303
  const data = await client.ModifyUser({})
@@ -198,6 +308,36 @@ it("dasb.v20191018.ModifyUser", async function () {
198
308
  }
199
309
  })
200
310
 
311
+ it("dasb.v20191018.DescribeCmdTemplates", async function () {
312
+ try {
313
+ const data = await client.DescribeCmdTemplates({})
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("dasb.v20191018.DeleteCmdTemplates", async function () {
322
+ try {
323
+ const data = await client.DeleteCmdTemplates({})
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
+
331
+ it("dasb.v20191018.DescribeAssetSyncStatus", async function () {
332
+ try {
333
+ const data = await client.DescribeAssetSyncStatus({})
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
+
201
341
  it("dasb.v20191018.DescribeDeviceGroups", async function () {
202
342
  try {
203
343
  const data = await client.DescribeDeviceGroups({})
@@ -208,6 +348,16 @@ it("dasb.v20191018.DescribeDeviceGroups", async function () {
208
348
  }
209
349
  })
210
350
 
351
+ it("dasb.v20191018.DescribeUsers", async function () {
352
+ try {
353
+ const data = await client.DescribeUsers({})
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
+
211
361
  it("dasb.v20191018.DescribeDevices", async function () {
212
362
  try {
213
363
  const data = await client.DescribeDevices({})
@@ -228,6 +378,16 @@ it("dasb.v20191018.DescribeUserGroupMembers", async function () {
228
378
  }
229
379
  })
230
380
 
381
+ it("dasb.v20191018.ImportExternalDevice", async function () {
382
+ try {
383
+ const data = await client.ImportExternalDevice({})
384
+ expect(data).to.be.ok
385
+ } catch(error) {
386
+ expect(error.requestId).to.be.ok
387
+ expect(error.code).to.be.ok
388
+ }
389
+ })
390
+
231
391
  it("dasb.v20191018.AddDeviceGroupMembers", async function () {
232
392
  try {
233
393
  const data = await client.AddDeviceGroupMembers({})
@@ -248,6 +408,16 @@ it("dasb.v20191018.CreateUserGroup", async function () {
248
408
  }
249
409
  })
250
410
 
411
+ it("dasb.v20191018.ResetDeviceAccountPrivateKey", async function () {
412
+ try {
413
+ const data = await client.ResetDeviceAccountPrivateKey({})
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
+
251
421
  it("dasb.v20191018.CreateUser", async function () {
252
422
  try {
253
423
  const data = await client.CreateUser({})
@@ -258,4 +428,14 @@ it("dasb.v20191018.CreateUser", async function () {
258
428
  }
259
429
  })
260
430
 
431
+ it("dasb.v20191018.BindDeviceAccountPrivateKey", async function () {
432
+ try {
433
+ const data = await client.BindDeviceAccountPrivateKey({})
434
+ expect(data).to.be.ok
435
+ } catch(error) {
436
+ expect(error.requestId).to.be.ok
437
+ expect(error.code).to.be.ok
438
+ }
439
+ })
440
+
261
441
  })
@@ -438,6 +438,16 @@ it("dcdb.v20180411.CloseDBExtranetAccess", async function () {
438
438
  }
439
439
  })
440
440
 
441
+ it("dcdb.v20180411.ModifyDBEncryptAttributes", async function () {
442
+ try {
443
+ const data = await client.ModifyDBEncryptAttributes({})
444
+ expect(data).to.be.ok
445
+ } catch(error) {
446
+ expect(error.requestId).to.be.ok
447
+ expect(error.code).to.be.ok
448
+ }
449
+ })
450
+
441
451
  it("dcdb.v20180411.DescribeAccounts", async function () {
442
452
  try {
443
453
  const data = await client.DescribeAccounts({})
@@ -28,6 +28,16 @@ it("lcic.v20220817.AddGroupMember", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("lcic.v20220817.GetRoomMessage", async function () {
32
+ try {
33
+ const data = await client.GetRoomMessage({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
31
41
  it("lcic.v20220817.SetWatermark", async function () {
32
42
  try {
33
43
  const data = await client.SetWatermark({})
@@ -58,9 +58,9 @@ it("thpc.v20220401.CreateCluster", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("thpc.v20220401.DeleteClusterStorageOption", async function () {
61
+ it("thpc.v20220401.DeleteCluster", async function () {
62
62
  try {
63
- const data = await client.DeleteClusterStorageOption({})
63
+ const data = await client.DeleteCluster({})
64
64
  expect(data).to.be.ok
65
65
  } catch(error) {
66
66
  expect(error.requestId).to.be.ok
@@ -78,6 +78,46 @@ it("thpc.v20220401.SetAutoScalingConfiguration", async function () {
78
78
  }
79
79
  })
80
80
 
81
+ it("thpc.v20220401.AddQueue", async function () {
82
+ try {
83
+ const data = await client.AddQueue({})
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("thpc.v20220401.DescribeNodes", async function () {
92
+ try {
93
+ const data = await client.DescribeNodes({})
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("thpc.v20220401.DeleteQueue", async function () {
102
+ try {
103
+ const data = await client.DeleteQueue({})
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("thpc.v20220401.DeleteClusterStorageOption", async function () {
112
+ try {
113
+ const data = await client.DeleteClusterStorageOption({})
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
+
81
121
  it("thpc.v20220401.AddNodes", async function () {
82
122
  try {
83
123
  const data = await client.AddNodes({})
@@ -128,9 +168,9 @@ it("thpc.v20220401.DescribeClusterActivities", async function () {
128
168
  }
129
169
  })
130
170
 
131
- it("thpc.v20220401.DeleteCluster", async function () {
171
+ it("thpc.v20220401.DescribeQueues", async function () {
132
172
  try {
133
- const data = await client.DeleteCluster({})
173
+ const data = await client.DescribeQueues({})
134
174
  expect(data).to.be.ok
135
175
  } catch(error) {
136
176
  expect(error.requestId).to.be.ok