tencentcloud-sdk-nodejs 4.0.933 → 4.0.935
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.
- package/CHANGELOG.md +531 -0
- package/SERVICE_CHANGELOG.md +720 -28
- package/package.json +1 -1
- package/products.md +32 -32
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +13 -0
- package/src/services/aiart/v20221229/aiart_models.ts +69 -0
- package/src/services/cfg/v20210820/cfg_models.ts +5 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +3 -2
- package/src/services/cvm/v20170312/cvm_client.ts +13 -0
- package/src/services/cvm/v20170312/cvm_models.ts +56 -0
- package/src/services/dc/v20180410/dc_client.ts +5 -6
- package/src/services/dc/v20180410/dc_models.ts +6 -7
- package/src/services/dcdb/v20180411/dcdb_client.ts +35 -7
- package/src/services/dcdb/v20180411/dcdb_models.ts +194 -8
- package/src/services/dlc/v20210125/dlc_client.ts +26 -2
- package/src/services/dlc/v20210125/dlc_models.ts +71 -23
- package/src/services/dnspod/v20210323/dnspod_client.ts +14 -1
- package/src/services/dnspod/v20210323/dnspod_models.ts +69 -6
- package/src/services/emr/v20190103/emr_client.ts +102 -21
- package/src/services/emr/v20190103/emr_models.ts +2409 -1988
- package/src/services/es/v20180416/es_client.ts +15 -1
- package/src/services/es/v20180416/es_models.ts +81 -4
- package/src/services/ess/v20201111/ess_client.ts +16 -3
- package/src/services/ess/v20201111/ess_models.ts +125 -42
- package/src/services/essbasic/v20210526/essbasic_client.ts +22 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +60 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +41 -13
- package/src/services/mariadb/v20170312/mariadb_models.ts +195 -9
- package/src/services/ocr/v20181119/ocr_models.ts +6 -6
- package/src/services/rce/v20201103/rce_client.ts +2 -2
- package/src/services/redis/v20180412/redis_client.ts +29 -4
- package/src/services/redis/v20180412/redis_models.ts +239 -131
- package/src/services/sms/v20190711/sms_models.ts +2 -2
- package/src/services/sms/v20210111/sms_models.ts +2 -2
- package/src/services/teo/v20220901/teo_models.ts +11 -11
- package/src/services/trtc/v20190722/trtc_models.ts +5 -0
- package/src/services/tse/v20201207/tse_models.ts +8 -8
- package/src/services/tsf/v20180326/tsf_models.ts +34 -15
- package/src/services/vclm/v20240523/vclm_models.ts +1 -1
- package/src/services/vdb/v20230616/vdb_client.ts +66 -2
- package/src/services/vdb/v20230616/vdb_models.ts +273 -27
- package/src/services/vpc/v20170312/vpc_client.ts +2 -2
- package/src/services/vpc/v20170312/vpc_models.ts +8 -5
- package/src/services/vtc/v20240223/vtc_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +6 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +7 -0
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +67 -0
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +5 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +3 -2
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +5 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +6 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +53 -0
- package/tencentcloud/services/dc/v20180410/dc_client.d.ts +4 -5
- package/tencentcloud/services/dc/v20180410/dc_client.js +4 -5
- package/tencentcloud/services/dc/v20180410/dc_models.d.ts +6 -7
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +13 -3
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +17 -3
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +188 -8
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +9 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +12 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +67 -23
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +5 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +6 -0
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +66 -6
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +33 -5
- package/tencentcloud/services/emr/v20190103/emr_client.js +46 -6
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +2375 -1971
- package/tencentcloud/services/es/v20180416/es_client.d.ts +5 -1
- package/tencentcloud/services/es/v20180416/es_client.js +6 -0
- package/tencentcloud/services/es/v20180416/es_models.d.ts +77 -4
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +6 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +122 -42
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +15 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +16 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +58 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +15 -5
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +20 -6
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +189 -9
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +6 -6
- package/tencentcloud/services/rce/v20201103/rce_client.d.ts +2 -2
- package/tencentcloud/services/rce/v20201103/rce_client.js +2 -2
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +9 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +12 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +234 -131
- package/tencentcloud/services/sms/v20190711/sms_models.d.ts +2 -2
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +2 -2
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +11 -11
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +5 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +8 -8
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +34 -15
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +1 -1
- package/tencentcloud/services/vdb/v20230616/vdb_client.d.ts +21 -1
- package/tencentcloud/services/vdb/v20230616/vdb_client.js +30 -0
- package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +259 -27
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +8 -5
- package/tencentcloud/services/vtc/v20240223/vtc_models.d.ts +1 -1
- package/test/aiart.v20221229.test.js +10 -0
- package/test/cvm.v20170312.test.js +10 -0
- package/test/dcdb.v20180411.test.js +22 -2
- package/test/dlc.v20210125.test.js +20 -0
- package/test/dnspod.v20210323.test.js +10 -0
- package/test/emr.v20190103.test.js +64 -4
- package/test/es.v20180416.test.js +10 -0
- package/test/ess.v20201111.test.js +10 -0
- package/test/essbasic.v20210526.test.js +10 -0
- package/test/mariadb.v20170312.test.js +24 -4
- package/test/redis.v20180412.test.js +20 -0
- package/test/vdb.v20230616.test.js +50 -0
|
@@ -878,6 +878,16 @@ it("dlc.v20210125.CreateCHDFSBindingProduct", async function () {
|
|
|
878
878
|
}
|
|
879
879
|
})
|
|
880
880
|
|
|
881
|
+
it("dlc.v20210125.QueryInternalTableWarehouse", async function () {
|
|
882
|
+
try {
|
|
883
|
+
const data = await client.QueryInternalTableWarehouse({})
|
|
884
|
+
expect(data).to.be.ok
|
|
885
|
+
} catch(error) {
|
|
886
|
+
expect(error.requestId).to.be.ok
|
|
887
|
+
expect(error.code).to.be.ok
|
|
888
|
+
}
|
|
889
|
+
})
|
|
890
|
+
|
|
881
891
|
it("dlc.v20210125.DescribeDatasourceConnection", async function () {
|
|
882
892
|
try {
|
|
883
893
|
const data = await client.DescribeDatasourceConnection({})
|
|
@@ -998,6 +1008,16 @@ it("dlc.v20210125.DeleteUser", async function () {
|
|
|
998
1008
|
}
|
|
999
1009
|
})
|
|
1000
1010
|
|
|
1011
|
+
it("dlc.v20210125.DeleteTable", async function () {
|
|
1012
|
+
try {
|
|
1013
|
+
const data = await client.DeleteTable({})
|
|
1014
|
+
expect(data).to.be.ok
|
|
1015
|
+
} catch(error) {
|
|
1016
|
+
expect(error.requestId).to.be.ok
|
|
1017
|
+
expect(error.code).to.be.ok
|
|
1018
|
+
}
|
|
1019
|
+
})
|
|
1020
|
+
|
|
1001
1021
|
it("dlc.v20210125.DescribeEngineUsageInfo", async function () {
|
|
1002
1022
|
try {
|
|
1003
1023
|
const data = await client.DescribeEngineUsageInfo({})
|
|
@@ -518,6 +518,16 @@ it("dnspod.v20210323.CreateRecord", async function () {
|
|
|
518
518
|
}
|
|
519
519
|
})
|
|
520
520
|
|
|
521
|
+
it("dnspod.v20210323.DescribeDomainShareUserList", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.DescribeDomainShareUserList({})
|
|
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
|
+
|
|
521
531
|
it("dnspod.v20210323.DescribeRecordLineCategoryList", async function () {
|
|
522
532
|
try {
|
|
523
533
|
const data = await client.DescribeRecordLineCategoryList({})
|
|
@@ -258,6 +258,16 @@ it("emr.v20190103.DeleteUserManagerUserList", async function () {
|
|
|
258
258
|
}
|
|
259
259
|
})
|
|
260
260
|
|
|
261
|
+
it("emr.v20190103.TerminateSLInstance", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.TerminateSLInstance({})
|
|
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
|
+
|
|
261
271
|
it("emr.v20190103.AddUsersForUserManager", async function () {
|
|
262
272
|
try {
|
|
263
273
|
const data = await client.AddUsersForUserManager({})
|
|
@@ -278,6 +288,26 @@ it("emr.v20190103.ModifyAutoRenewFlag", async function () {
|
|
|
278
288
|
}
|
|
279
289
|
})
|
|
280
290
|
|
|
291
|
+
it("emr.v20190103.CreateSLInstance", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.CreateSLInstance({})
|
|
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("emr.v20190103.DescribeSLInstanceList", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.DescribeSLInstanceList({})
|
|
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
|
+
|
|
281
311
|
it("emr.v20190103.ModifyAutoScaleStrategy", async function () {
|
|
282
312
|
try {
|
|
283
313
|
const data = await client.ModifyAutoScaleStrategy({})
|
|
@@ -318,6 +348,16 @@ it("emr.v20190103.DescribeInstanceRenewNodes", async function () {
|
|
|
318
348
|
}
|
|
319
349
|
})
|
|
320
350
|
|
|
351
|
+
it("emr.v20190103.StartStopServiceOrMonitor", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.StartStopServiceOrMonitor({})
|
|
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
|
+
|
|
321
361
|
it("emr.v20190103.ModifyResourceScheduler", async function () {
|
|
322
362
|
try {
|
|
323
363
|
const data = await client.ModifyResourceScheduler({})
|
|
@@ -328,9 +368,9 @@ it("emr.v20190103.ModifyResourceScheduler", async function () {
|
|
|
328
368
|
}
|
|
329
369
|
})
|
|
330
370
|
|
|
331
|
-
it("emr.v20190103.
|
|
371
|
+
it("emr.v20190103.DescribeResourceScheduleDiffDetail", async function () {
|
|
332
372
|
try {
|
|
333
|
-
const data = await client.
|
|
373
|
+
const data = await client.DescribeResourceScheduleDiffDetail({})
|
|
334
374
|
expect(data).to.be.ok
|
|
335
375
|
} catch(error) {
|
|
336
376
|
expect(error.requestId).to.be.ok
|
|
@@ -338,9 +378,19 @@ it("emr.v20190103.SyncPodState", async function () {
|
|
|
338
378
|
}
|
|
339
379
|
})
|
|
340
380
|
|
|
341
|
-
it("emr.v20190103.
|
|
381
|
+
it("emr.v20190103.DescribeSLInstance", async function () {
|
|
342
382
|
try {
|
|
343
|
-
const data = await client.
|
|
383
|
+
const data = await client.DescribeSLInstance({})
|
|
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
|
+
|
|
391
|
+
it("emr.v20190103.ModifySLInstance", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.ModifySLInstance({})
|
|
344
394
|
expect(data).to.be.ok
|
|
345
395
|
} catch(error) {
|
|
346
396
|
expect(error.requestId).to.be.ok
|
|
@@ -428,6 +478,16 @@ it("emr.v20190103.DescribeEmrOverviewMetrics", async function () {
|
|
|
428
478
|
}
|
|
429
479
|
})
|
|
430
480
|
|
|
481
|
+
it("emr.v20190103.SyncPodState", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.SyncPodState({})
|
|
484
|
+
expect(data).to.be.ok
|
|
485
|
+
} catch(error) {
|
|
486
|
+
expect(error.requestId).to.be.ok
|
|
487
|
+
expect(error.code).to.be.ok
|
|
488
|
+
}
|
|
489
|
+
})
|
|
490
|
+
|
|
431
491
|
it("emr.v20190103.InquirePriceRenewEmr", async function () {
|
|
432
492
|
try {
|
|
433
493
|
const data = await client.InquirePriceRenewEmr({})
|
|
@@ -338,6 +338,16 @@ it("es.v20180416.DescribeInstanceOperations", async function () {
|
|
|
338
338
|
}
|
|
339
339
|
})
|
|
340
340
|
|
|
341
|
+
it("es.v20180416.DescribeSpaceKibanaTools", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.DescribeSpaceKibanaTools({})
|
|
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
|
+
|
|
341
351
|
it("es.v20180416.DescribeLogstashPipelines", async function () {
|
|
342
352
|
try {
|
|
343
353
|
const data = await client.DescribeLogstashPipelines({})
|
|
@@ -268,6 +268,16 @@ it("ess.v20201111.CreateUserAutoSignSealUrl", async function () {
|
|
|
268
268
|
}
|
|
269
269
|
})
|
|
270
270
|
|
|
271
|
+
it("ess.v20201111.DescribeOrganizationAuthStatus", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.DescribeOrganizationAuthStatus({})
|
|
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
|
+
|
|
271
281
|
it("ess.v20201111.RenewAutoSignLicense", async function () {
|
|
272
282
|
try {
|
|
273
283
|
const data = await client.RenewAutoSignLicense({})
|
|
@@ -558,6 +558,16 @@ it("essbasic.v20210526.ChannelCreateFlowApprovers", async function () {
|
|
|
558
558
|
}
|
|
559
559
|
})
|
|
560
560
|
|
|
561
|
+
it("essbasic.v20210526.CreatePersonAuthCertificateImage", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.CreatePersonAuthCertificateImage({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
561
571
|
it("essbasic.v20210526.CreatePartnerAutoSignAuthUrl", async function () {
|
|
562
572
|
try {
|
|
563
573
|
const data = await client.CreatePartnerAutoSignAuthUrl({})
|
|
@@ -448,6 +448,16 @@ it("mariadb.v20170312.InitDBInstances", async function () {
|
|
|
448
448
|
}
|
|
449
449
|
})
|
|
450
450
|
|
|
451
|
+
it("mariadb.v20170312.UpgradeDedicatedDBInstance", async function () {
|
|
452
|
+
try {
|
|
453
|
+
const data = await client.UpgradeDedicatedDBInstance({})
|
|
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
|
+
|
|
451
461
|
it("mariadb.v20170312.CreateDBInstance", async function () {
|
|
452
462
|
try {
|
|
453
463
|
const data = await client.CreateDBInstance({})
|
|
@@ -628,9 +638,9 @@ it("mariadb.v20170312.DescribeBinlogTime", async function () {
|
|
|
628
638
|
}
|
|
629
639
|
})
|
|
630
640
|
|
|
631
|
-
it("mariadb.v20170312.
|
|
641
|
+
it("mariadb.v20170312.TerminateDedicatedDBInstance", async function () {
|
|
632
642
|
try {
|
|
633
|
-
const data = await client.
|
|
643
|
+
const data = await client.TerminateDedicatedDBInstance({})
|
|
634
644
|
expect(data).to.be.ok
|
|
635
645
|
} catch(error) {
|
|
636
646
|
expect(error.requestId).to.be.ok
|
|
@@ -678,9 +688,9 @@ it("mariadb.v20170312.CancelDcnJob", async function () {
|
|
|
678
688
|
}
|
|
679
689
|
})
|
|
680
690
|
|
|
681
|
-
it("mariadb.v20170312.
|
|
691
|
+
it("mariadb.v20170312.DescribeBackupConfigs", async function () {
|
|
682
692
|
try {
|
|
683
|
-
const data = await client.
|
|
693
|
+
const data = await client.DescribeBackupConfigs({})
|
|
684
694
|
expect(data).to.be.ok
|
|
685
695
|
} catch(error) {
|
|
686
696
|
expect(error.requestId).to.be.ok
|
|
@@ -708,6 +718,16 @@ it("mariadb.v20170312.UpgradeDBInstance", async function () {
|
|
|
708
718
|
}
|
|
709
719
|
})
|
|
710
720
|
|
|
721
|
+
it("mariadb.v20170312.ModifyBackupConfigs", async function () {
|
|
722
|
+
try {
|
|
723
|
+
const data = await client.ModifyBackupConfigs({})
|
|
724
|
+
expect(data).to.be.ok
|
|
725
|
+
} catch(error) {
|
|
726
|
+
expect(error.requestId).to.be.ok
|
|
727
|
+
expect(error.code).to.be.ok
|
|
728
|
+
}
|
|
729
|
+
})
|
|
730
|
+
|
|
711
731
|
it("mariadb.v20170312.DescribeDBInstanceDetail", async function () {
|
|
712
732
|
try {
|
|
713
733
|
const data = await client.DescribeDBInstanceDetail({})
|
|
@@ -248,6 +248,16 @@ it("redis.v20180412.ModifyConnectionConfig", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
+
it("redis.v20180412.DescribeInstanceLogDelivery", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DescribeInstanceLogDelivery({})
|
|
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
|
+
|
|
251
261
|
it("redis.v20180412.ModifyInstance", async function () {
|
|
252
262
|
try {
|
|
253
263
|
const data = await client.ModifyInstance({})
|
|
@@ -408,6 +418,16 @@ it("redis.v20180412.RenewInstance", async function () {
|
|
|
408
418
|
}
|
|
409
419
|
})
|
|
410
420
|
|
|
421
|
+
it("redis.v20180412.ModifyInstanceLogDelivery", async function () {
|
|
422
|
+
try {
|
|
423
|
+
const data = await client.ModifyInstanceLogDelivery({})
|
|
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
|
+
|
|
411
431
|
it("redis.v20180412.AllocateWanAddress", async function () {
|
|
412
432
|
try {
|
|
413
433
|
const data = await client.AllocateWanAddress({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.vdb.v20230616.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("vdb.v20230616.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("vdb.v20230616.AssociateSecurityGroups", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.AssociateSecurityGroups({})
|
|
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("vdb.v20230616.DescribeInstances", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeInstances({})
|
|
@@ -28,4 +38,44 @@ it("vdb.v20230616.DescribeInstances", async function () {
|
|
|
28
38
|
}
|
|
29
39
|
})
|
|
30
40
|
|
|
41
|
+
it("vdb.v20230616.DescribeDBSecurityGroups", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeDBSecurityGroups({})
|
|
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("vdb.v20230616.ModifyDBInstanceSecurityGroups", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.ModifyDBInstanceSecurityGroups({})
|
|
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("vdb.v20230616.DescribeInstanceNodes", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeInstanceNodes({})
|
|
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("vdb.v20230616.DisassociateSecurityGroups", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DisassociateSecurityGroups({})
|
|
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
|
+
|
|
31
81
|
})
|