tencentcloud-sdk-nodejs 4.0.352 → 4.0.353

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 (55) hide show
  1. package/CHANGELOG.md +334 -0
  2. package/SERVICE_CHANGELOG.md +583 -41
  3. package/package.json +1 -1
  4. package/products.md +14 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/as/v20180419/as_client.ts +2 -0
  7. package/src/services/cdb/v20170320/cdb_client.ts +1 -0
  8. package/src/services/cdb/v20170320/cdb_models.ts +20 -0
  9. package/src/services/cvm/v20170312/cvm_models.ts +10 -0
  10. package/src/services/dasb/v20191018/dasb_client.ts +202 -34
  11. package/src/services/dasb/v20191018/dasb_models.ts +633 -175
  12. package/src/services/ess/v20201111/ess_client.ts +30 -9
  13. package/src/services/ess/v20201111/ess_models.ts +254 -6
  14. package/src/services/essbasic/v20210526/essbasic_models.ts +30 -0
  15. package/src/services/faceid/v20180301/faceid_client.ts +13 -1
  16. package/src/services/faceid/v20180301/faceid_models.ts +161 -19
  17. package/src/services/gaap/v20180529/gaap_models.ts +10 -6
  18. package/src/services/teo/v20220106/teo_client.ts +585 -18
  19. package/src/services/teo/v20220106/teo_models.ts +3872 -252
  20. package/src/services/thpc/v20220401/thpc_models.ts +1 -1
  21. package/src/services/tiia/v20190529/tiia_models.ts +11 -11
  22. package/src/services/tke/v20180525/tke_client.ts +302 -74
  23. package/src/services/tke/v20180525/tke_models.ts +1456 -442
  24. package/src/services/tse/v20201207/tse_models.ts +5 -0
  25. package/tencentcloud/common/sdk_version.d.ts +1 -1
  26. package/tencentcloud/common/sdk_version.js +1 -1
  27. package/tencentcloud/services/as/v20180419/as_client.d.ts +2 -0
  28. package/tencentcloud/services/as/v20180419/as_client.js +2 -0
  29. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +17 -0
  30. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +8 -0
  31. package/tencentcloud/services/dasb/v20191018/dasb_client.d.ts +67 -11
  32. package/tencentcloud/services/dasb/v20191018/dasb_client.js +99 -15
  33. package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +554 -157
  34. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +12 -3
  35. package/tencentcloud/services/ess/v20201111/ess_client.js +14 -3
  36. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +210 -5
  37. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +24 -0
  38. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
  39. package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
  40. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +136 -16
  41. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +10 -6
  42. package/tencentcloud/services/teo/v20220106/teo_client.d.ts +179 -3
  43. package/tencentcloud/services/teo/v20220106/teo_client.js +267 -3
  44. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +3325 -232
  45. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +1 -1
  46. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +11 -11
  47. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +91 -19
  48. package/tencentcloud/services/tke/v20180525/tke_client.js +135 -27
  49. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1226 -363
  50. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +4 -0
  51. package/test/dasb.v20191018.test.js +150 -10
  52. package/test/ess.v20201111.test.js +12 -2
  53. package/test/faceid.v20180301.test.js +10 -0
  54. package/test/teo.v20220106.test.js +442 -2
  55. package/test/tke.v20180525.test.js +202 -22
@@ -18,9 +18,49 @@ const client = new tencentcloud.teo.v20220106.Client({
18
18
  })
19
19
  describe("teo.v20220106.test.js", function () {
20
20
 
21
- it("teo.v20220106.DownloadL7Logs", async function () {
21
+ it("teo.v20220106.CreateDnsRecord", async function () {
22
22
  try {
23
- const data = await client.DownloadL7Logs({})
23
+ const data = await client.CreateDnsRecord({})
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("teo.v20220106.DescribeIdentification", async function () {
32
+ try {
33
+ const data = await client.DescribeIdentification({})
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("teo.v20220106.ModifyApplicationProxyRule", async function () {
42
+ try {
43
+ const data = await client.ModifyApplicationProxyRule({})
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("teo.v20220106.DeleteApplicationProxy", async function () {
52
+ try {
53
+ const data = await client.DeleteApplicationProxy({})
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("teo.v20220106.CreateApplicationProxyRules", async function () {
62
+ try {
63
+ const data = await client.CreateApplicationProxyRules({})
24
64
  expect(data).to.be.ok
25
65
  } catch(error) {
26
66
  expect(error.requestId).to.be.ok
@@ -48,6 +88,16 @@ it("teo.v20220106.DescribePurgeTasks", async function () {
48
88
  }
49
89
  })
50
90
 
91
+ it("teo.v20220106.ModifyHostsCertificate", async function () {
92
+ try {
93
+ const data = await client.ModifyHostsCertificate({})
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
+
51
101
  it("teo.v20220106.DescribePrefetchTasks", async function () {
52
102
  try {
53
103
  const data = await client.DescribePrefetchTasks({})
@@ -58,6 +108,276 @@ it("teo.v20220106.DescribePrefetchTasks", async function () {
58
108
  }
59
109
  })
60
110
 
111
+ it("teo.v20220106.ModifyZoneCnameSpeedUp", async function () {
112
+ try {
113
+ const data = await client.ModifyZoneCnameSpeedUp({})
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
+
121
+ it("teo.v20220106.ModifyDnsRecord", async function () {
122
+ try {
123
+ const data = await client.ModifyDnsRecord({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
131
+ it("teo.v20220106.ModifyApplicationProxy", async function () {
132
+ try {
133
+ const data = await client.ModifyApplicationProxy({})
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
+
141
+ it("teo.v20220106.CreateZone", async function () {
142
+ try {
143
+ const data = await client.CreateZone({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
151
+ it("teo.v20220106.DescribeHostsSetting", async function () {
152
+ try {
153
+ const data = await client.DescribeHostsSetting({})
154
+ expect(data).to.be.ok
155
+ } catch(error) {
156
+ expect(error.requestId).to.be.ok
157
+ expect(error.code).to.be.ok
158
+ }
159
+ })
160
+
161
+ it("teo.v20220106.ModifyLoadBalancing", async function () {
162
+ try {
163
+ const data = await client.ModifyLoadBalancing({})
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
+ it("teo.v20220106.CreateLoadBalancing", async function () {
172
+ try {
173
+ const data = await client.CreateLoadBalancing({})
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("teo.v20220106.IdentifyZone", async function () {
182
+ try {
183
+ const data = await client.IdentifyZone({})
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("teo.v20220106.DescribeDefaultCertificates", async function () {
192
+ try {
193
+ const data = await client.DescribeDefaultCertificates({})
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
+
201
+ it("teo.v20220106.DescribeDnsData", async function () {
202
+ try {
203
+ const data = await client.DescribeDnsData({})
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
+
211
+ it("teo.v20220106.DescribeZoneSetting", async function () {
212
+ try {
213
+ const data = await client.DescribeZoneSetting({})
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
+
221
+ it("teo.v20220106.DescribeLoadBalancing", async function () {
222
+ try {
223
+ const data = await client.DescribeLoadBalancing({})
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
+
231
+ it("teo.v20220106.DescribeHostsCertificate", async function () {
232
+ try {
233
+ const data = await client.DescribeHostsCertificate({})
234
+ expect(data).to.be.ok
235
+ } catch(error) {
236
+ expect(error.requestId).to.be.ok
237
+ expect(error.code).to.be.ok
238
+ }
239
+ })
240
+
241
+ it("teo.v20220106.CreateApplicationProxyRule", async function () {
242
+ try {
243
+ const data = await client.CreateApplicationProxyRule({})
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
+
251
+ it("teo.v20220106.DescribeApplicationProxyDetail", async function () {
252
+ try {
253
+ const data = await client.DescribeApplicationProxyDetail({})
254
+ expect(data).to.be.ok
255
+ } catch(error) {
256
+ expect(error.requestId).to.be.ok
257
+ expect(error.code).to.be.ok
258
+ }
259
+ })
260
+
261
+ it("teo.v20220106.DeleteLoadBalancing", async function () {
262
+ try {
263
+ const data = await client.DeleteLoadBalancing({})
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
+
271
+ it("teo.v20220106.ReclaimZone", async function () {
272
+ try {
273
+ const data = await client.ReclaimZone({})
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
+
281
+ it("teo.v20220106.DeleteZone", async function () {
282
+ try {
283
+ const data = await client.DeleteZone({})
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
+
291
+ it("teo.v20220106.ModifyZoneStatus", async function () {
292
+ try {
293
+ const data = await client.ModifyZoneStatus({})
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
+
301
+ it("teo.v20220106.DownloadL7Logs", async function () {
302
+ try {
303
+ const data = await client.DownloadL7Logs({})
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
+
311
+ it("teo.v20220106.ModifyLoadBalancingStatus", async function () {
312
+ try {
313
+ const data = await client.ModifyLoadBalancingStatus({})
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("teo.v20220106.DeleteApplicationProxyRule", async function () {
322
+ try {
323
+ const data = await client.DeleteApplicationProxyRule({})
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("teo.v20220106.DescribeDnsRecords", async function () {
332
+ try {
333
+ const data = await client.DescribeDnsRecords({})
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
+
341
+ it("teo.v20220106.ScanDnsRecords", async function () {
342
+ try {
343
+ const data = await client.ScanDnsRecords({})
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
+
351
+ it("teo.v20220106.DescribeApplicationProxy", async function () {
352
+ try {
353
+ const data = await client.DescribeApplicationProxy({})
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
+
361
+ it("teo.v20220106.DeleteDnsRecords", async function () {
362
+ try {
363
+ const data = await client.DeleteDnsRecords({})
364
+ expect(data).to.be.ok
365
+ } catch(error) {
366
+ expect(error.requestId).to.be.ok
367
+ expect(error.code).to.be.ok
368
+ }
369
+ })
370
+
371
+ it("teo.v20220106.ModifyZone", async function () {
372
+ try {
373
+ const data = await client.ModifyZone({})
374
+ expect(data).to.be.ok
375
+ } catch(error) {
376
+ expect(error.requestId).to.be.ok
377
+ expect(error.code).to.be.ok
378
+ }
379
+ })
380
+
61
381
  it("teo.v20220106.CreatePrefetchTask", async function () {
62
382
  try {
63
383
  const data = await client.CreatePrefetchTask({})
@@ -68,6 +388,56 @@ it("teo.v20220106.CreatePrefetchTask", async function () {
68
388
  }
69
389
  })
70
390
 
391
+ it("teo.v20220106.ModifyDefaultCertificate", async function () {
392
+ try {
393
+ const data = await client.ModifyDefaultCertificate({})
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
+
401
+ it("teo.v20220106.ImportDnsRecords", async function () {
402
+ try {
403
+ const data = await client.ImportDnsRecords({})
404
+ expect(data).to.be.ok
405
+ } catch(error) {
406
+ expect(error.requestId).to.be.ok
407
+ expect(error.code).to.be.ok
408
+ }
409
+ })
410
+
411
+ it("teo.v20220106.DescribeLoadBalancingDetail", async function () {
412
+ try {
413
+ const data = await client.DescribeLoadBalancingDetail({})
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
+
421
+ it("teo.v20220106.CheckCertificate", async function () {
422
+ try {
423
+ const data = await client.CheckCertificate({})
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
+
431
+ it("teo.v20220106.DescribeCnameStatus", async function () {
432
+ try {
433
+ const data = await client.DescribeCnameStatus({})
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
+
71
441
  it("teo.v20220106.DescribeZones", async function () {
72
442
  try {
73
443
  const data = await client.DescribeZones({})
@@ -78,4 +448,74 @@ it("teo.v20220106.DescribeZones", async function () {
78
448
  }
79
449
  })
80
450
 
451
+ it("teo.v20220106.DescribeDnssec", async function () {
452
+ try {
453
+ const data = await client.DescribeDnssec({})
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
+
461
+ it("teo.v20220106.DescribeZoneDetails", async function () {
462
+ try {
463
+ const data = await client.DescribeZoneDetails({})
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
+
471
+ it("teo.v20220106.CreateApplicationProxy", async function () {
472
+ try {
473
+ const data = await client.CreateApplicationProxy({})
474
+ expect(data).to.be.ok
475
+ } catch(error) {
476
+ expect(error.requestId).to.be.ok
477
+ expect(error.code).to.be.ok
478
+ }
479
+ })
480
+
481
+ it("teo.v20220106.ModifyZoneSetting", async function () {
482
+ try {
483
+ const data = await client.ModifyZoneSetting({})
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
+
491
+ it("teo.v20220106.ModifyApplicationProxyStatus", async function () {
492
+ try {
493
+ const data = await client.ModifyApplicationProxyStatus({})
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("teo.v20220106.ModifyApplicationProxyRuleStatus", async function () {
502
+ try {
503
+ const data = await client.ModifyApplicationProxyRuleStatus({})
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("teo.v20220106.ModifyDnssec", async function () {
512
+ try {
513
+ const data = await client.ModifyDnssec({})
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
+
81
521
  })