tencentcloud-sdk-nodejs 4.0.934 → 4.0.936

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 (117) hide show
  1. package/CHANGELOG.md +551 -0
  2. package/SERVICE_CHANGELOG.md +555 -88
  3. package/package.json +1 -1
  4. package/products.md +30 -30
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_client.ts +13 -0
  7. package/src/services/aiart/v20221229/aiart_models.ts +69 -0
  8. package/src/services/cfg/v20210820/cfg_models.ts +6 -1
  9. package/src/services/cfw/v20190904/cfw_models.ts +42 -2
  10. package/src/services/ckafka/v20190819/ckafka_models.ts +3 -2
  11. package/src/services/dcdb/v20180411/dcdb_client.ts +35 -7
  12. package/src/services/dcdb/v20180411/dcdb_models.ts +184 -6
  13. package/src/services/dnspod/v20210323/dnspod_client.ts +14 -1
  14. package/src/services/dnspod/v20210323/dnspod_models.ts +69 -6
  15. package/src/services/emr/v20190103/emr_client.ts +88 -22
  16. package/src/services/emr/v20190103/emr_models.ts +1402 -1119
  17. package/src/services/es/v20180416/es_client.ts +12 -0
  18. package/src/services/es/v20180416/es_models.ts +28 -0
  19. package/src/services/ess/v20201111/ess_client.ts +6 -8
  20. package/src/services/ess/v20201111/ess_models.ts +28 -37
  21. package/src/services/essbasic/v20210526/essbasic_client.ts +22 -0
  22. package/src/services/essbasic/v20210526/essbasic_models.ts +60 -0
  23. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +2 -2
  24. package/src/services/iss/v20230517/iss_client.ts +38 -25
  25. package/src/services/iss/v20230517/iss_models.ts +49 -6
  26. package/src/services/mariadb/v20170312/mariadb_client.ts +41 -13
  27. package/src/services/mariadb/v20170312/mariadb_models.ts +184 -6
  28. package/src/services/mps/v20190612/mps_client.ts +5 -2
  29. package/src/services/mps/v20190612/mps_models.ts +128 -55
  30. package/src/services/ocr/v20181119/ocr_models.ts +10 -6
  31. package/src/services/redis/v20180412/redis_client.ts +29 -4
  32. package/src/services/redis/v20180412/redis_models.ts +239 -131
  33. package/src/services/sms/v20210111/sms_models.ts +9 -9
  34. package/src/services/ssl/v20191205/ssl_models.ts +3 -3
  35. package/src/services/teo/v20220901/teo_models.ts +11 -11
  36. package/src/services/tke/v20180525/tke_models.ts +4 -0
  37. package/src/services/tke/v20220501/tke_client.ts +97 -20
  38. package/src/services/tke/v20220501/tke_models.ts +494 -215
  39. package/src/services/tsf/v20180326/tsf_models.ts +34 -15
  40. package/src/services/vdb/v20230616/vdb_client.ts +66 -2
  41. package/src/services/vdb/v20230616/vdb_models.ts +273 -27
  42. package/src/services/vod/index.ts +2 -0
  43. package/src/services/vod/v20240718/index.ts +6 -0
  44. package/src/services/vod/v20240718/vod_client.ts +44 -0
  45. package/src/services/vod/v20240718/vod_models.ts +76 -0
  46. package/src/services/vpc/v20170312/vpc_models.ts +12 -5
  47. package/tencentcloud/common/sdk_version.d.ts +1 -1
  48. package/tencentcloud/common/sdk_version.js +1 -1
  49. package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +6 -1
  50. package/tencentcloud/services/aiart/v20221229/aiart_client.js +7 -0
  51. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +67 -0
  52. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +6 -1
  53. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +42 -2
  54. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +3 -2
  55. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +13 -3
  56. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +17 -3
  57. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +178 -6
  58. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +5 -1
  59. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +6 -0
  60. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +66 -6
  61. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +29 -5
  62. package/tencentcloud/services/emr/v20190103/emr_client.js +40 -6
  63. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +1241 -970
  64. package/tencentcloud/services/es/v20180416/es_client.d.ts +5 -1
  65. package/tencentcloud/services/es/v20180416/es_client.js +6 -0
  66. package/tencentcloud/services/es/v20180416/es_models.d.ts +26 -0
  67. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +6 -8
  68. package/tencentcloud/services/ess/v20201111/ess_client.js +6 -8
  69. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +28 -37
  70. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +15 -1
  71. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +16 -0
  72. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +58 -0
  73. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +2 -2
  74. package/tencentcloud/services/iss/v20230517/iss_client.d.ts +13 -9
  75. package/tencentcloud/services/iss/v20230517/iss_client.js +18 -12
  76. package/tencentcloud/services/iss/v20230517/iss_models.d.ts +46 -6
  77. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +15 -5
  78. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +20 -6
  79. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +178 -6
  80. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
  81. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +125 -55
  82. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +10 -6
  83. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +9 -1
  84. package/tencentcloud/services/redis/v20180412/redis_client.js +12 -0
  85. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +234 -131
  86. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +9 -9
  87. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +3 -3
  88. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +11 -11
  89. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -0
  90. package/tencentcloud/services/tke/v20220501/tke_client.d.ts +29 -5
  91. package/tencentcloud/services/tke/v20220501/tke_client.js +42 -6
  92. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +481 -219
  93. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +34 -15
  94. package/tencentcloud/services/vdb/v20230616/vdb_client.d.ts +21 -1
  95. package/tencentcloud/services/vdb/v20230616/vdb_client.js +30 -0
  96. package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +259 -27
  97. package/tencentcloud/services/vod/index.d.ts +4 -0
  98. package/tencentcloud/services/vod/index.js +2 -0
  99. package/tencentcloud/services/vod/v20240718/index.d.ts +6 -0
  100. package/tencentcloud/services/vod/v20240718/index.js +9 -0
  101. package/tencentcloud/services/vod/v20240718/vod_client.d.ts +14 -0
  102. package/tencentcloud/services/vod/v20240718/vod_client.js +37 -0
  103. package/tencentcloud/services/vod/v20240718/vod_models.d.ts +57 -0
  104. package/tencentcloud/services/vod/v20240718/vod_models.js +18 -0
  105. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +12 -5
  106. package/test/aiart.v20221229.test.js +10 -0
  107. package/test/dcdb.v20180411.test.js +22 -2
  108. package/test/dnspod.v20210323.test.js +10 -0
  109. package/test/emr.v20190103.test.js +54 -4
  110. package/test/es.v20180416.test.js +10 -0
  111. package/test/essbasic.v20210526.test.js +10 -0
  112. package/test/iss.v20230517.test.js +18 -8
  113. package/test/mariadb.v20170312.test.js +24 -4
  114. package/test/redis.v20180412.test.js +20 -0
  115. package/test/tke.v20220501.test.js +64 -4
  116. package/test/vdb.v20230616.test.js +50 -0
  117. package/test/vod.v20240718.test.js +31 -0
@@ -15998,6 +15998,10 @@ export interface CreateSecurityGroupWithPoliciesRequest {
15998
15998
  * 安全组规则集合。
15999
15999
  */
16000
16000
  SecurityGroupPolicySet?: SecurityGroupPolicySet;
16001
+ /**
16002
+ * 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
16003
+ */
16004
+ Tags?: Array<Tag>;
16001
16005
  }
16002
16006
  /**
16003
16007
  * ReleaseAddresses请求参数结构体
@@ -16082,7 +16086,7 @@ export interface NotifyRoutesResponse {
16082
16086
  */
16083
16087
  export interface Route {
16084
16088
  /**
16085
- * 目的网段,取值不能在私有网络网段内,例如:112.20.51.0/24。
16089
+ * 创建IPv4目的网段,取值不能在私有网络网段内,例如:112.20.51.0/24。
16086
16090
  */
16087
16091
  DestinationCidrBlock: string;
16088
16092
  /**
@@ -16092,10 +16096,13 @@ export interface Route {
16092
16096
  DIRECTCONNECT:专线网关;
16093
16097
  PEERCONNECTION:对等连接;
16094
16098
  HAVIP:高可用虚拟IP;
16095
- NATNAT网关;
16099
+ NAT:公网NAT网关;
16096
16100
  NORMAL_CVM:普通云服务器;
16097
16101
  EIP:云服务器的公网IP;
16098
- LOCAL_GATEWAY:本地网关。
16102
+ LOCAL_GATEWAY:CDC本地网关;
16103
+ INTRANAT:私网NAT网关;
16104
+ USER_CCN;云联网(自定义路由)。
16105
+
16099
16106
  */
16100
16107
  GatewayType: string;
16101
16108
  /**
@@ -16131,7 +16138,7 @@ export interface Route {
16131
16138
  */
16132
16139
  RouteTableId?: string;
16133
16140
  /**
16134
- * 目的IPv6网段,取值不能在私有网络网段内,例如:2402:4e00:1000:810b::/64。
16141
+ * 创建IPv6目的网段,取值不能在私有网络网段内,例如:2402:4e00:1000:810b::/64。
16135
16142
  注意:此字段可能返回 null,表示取不到有效值。
16136
16143
  */
16137
16144
  DestinationIpv6CidrBlock?: string;
@@ -16140,7 +16147,7 @@ export interface Route {
16140
16147
  */
16141
16148
  RouteItemId?: string;
16142
16149
  /**
16143
- * 路由策略是否发布到云联网。
16150
+ * 路由策略是否发布到云联网。该字段仅做出参使用,作为入参字段时此参数不生效。
16144
16151
  注意:此字段可能返回 null,表示取不到有效值。
16145
16152
  */
16146
16153
  PublishedToVbc?: boolean;
@@ -18,6 +18,16 @@ const client = new tencentcloud.aiart.v20221229.Client({
18
18
  })
19
19
  describe("aiart.v20221229.test.js", function () {
20
20
 
21
+ it("aiart.v20221229.SketchToImage", async function () {
22
+ try {
23
+ const data = await client.SketchToImage({})
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("aiart.v20221229.SubmitTextToImageProJob", async function () {
22
32
  try {
23
33
  const data = await client.SubmitTextToImageProJob({})
@@ -628,6 +628,16 @@ it("dcdb.v20180411.ModifyInstanceVport", async function () {
628
628
  }
629
629
  })
630
630
 
631
+ it("dcdb.v20180411.TerminateDedicatedDBInstance", async function () {
632
+ try {
633
+ const data = await client.TerminateDedicatedDBInstance({})
634
+ expect(data).to.be.ok
635
+ } catch(error) {
636
+ expect(error.requestId).to.be.ok
637
+ expect(error.code).to.be.ok
638
+ }
639
+ })
640
+
631
641
  it("dcdb.v20180411.DescribeDBSecurityGroups", async function () {
632
642
  try {
633
643
  const data = await client.DescribeDBSecurityGroups({})
@@ -668,9 +678,9 @@ it("dcdb.v20180411.CancelDcnJob", async function () {
668
678
  }
669
679
  })
670
680
 
671
- it("dcdb.v20180411.TerminateDedicatedDBInstance", async function () {
681
+ it("dcdb.v20180411.DescribeBackupConfigs", async function () {
672
682
  try {
673
- const data = await client.TerminateDedicatedDBInstance({})
683
+ const data = await client.DescribeBackupConfigs({})
674
684
  expect(data).to.be.ok
675
685
  } catch(error) {
676
686
  expect(error.requestId).to.be.ok
@@ -698,6 +708,16 @@ it("dcdb.v20180411.CreateTmpDCDBInstance", async function () {
698
708
  }
699
709
  })
700
710
 
711
+ it("dcdb.v20180411.ModifyBackupConfigs", async function () {
712
+ try {
713
+ const data = await client.ModifyBackupConfigs({})
714
+ expect(data).to.be.ok
715
+ } catch(error) {
716
+ expect(error.requestId).to.be.ok
717
+ expect(error.code).to.be.ok
718
+ }
719
+ })
720
+
701
721
  it("dcdb.v20180411.ModifyDBInstanceName", async function () {
702
722
  try {
703
723
  const data = await client.ModifyDBInstanceName({})
@@ -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({})
@@ -338,9 +378,9 @@ it("emr.v20190103.DescribeResourceScheduleDiffDetail", async function () {
338
378
  }
339
379
  })
340
380
 
341
- it("emr.v20190103.SyncPodState", async function () {
381
+ it("emr.v20190103.DescribeSLInstance", async function () {
342
382
  try {
343
- const data = await client.SyncPodState({})
383
+ const data = await client.DescribeSLInstance({})
344
384
  expect(data).to.be.ok
345
385
  } catch(error) {
346
386
  expect(error.requestId).to.be.ok
@@ -348,9 +388,9 @@ it("emr.v20190103.SyncPodState", async function () {
348
388
  }
349
389
  })
350
390
 
351
- it("emr.v20190103.StartStopServiceOrMonitor", async function () {
391
+ it("emr.v20190103.ModifySLInstance", async function () {
352
392
  try {
353
- const data = await client.StartStopServiceOrMonitor({})
393
+ const data = await client.ModifySLInstance({})
354
394
  expect(data).to.be.ok
355
395
  } catch(error) {
356
396
  expect(error.requestId).to.be.ok
@@ -438,6 +478,16 @@ it("emr.v20190103.DescribeEmrOverviewMetrics", async function () {
438
478
  }
439
479
  })
440
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
+
441
491
  it("emr.v20190103.InquirePriceRenewEmr", async function () {
442
492
  try {
443
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({})
@@ -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({})
@@ -88,9 +88,9 @@ it("iss.v20230517.DescribeDeviceChannel", async function () {
88
88
  }
89
89
  })
90
90
 
91
- it("iss.v20230517.DeleteRecordBackupTemplate", async function () {
91
+ it("iss.v20230517.AddRecordRetrieveTask", async function () {
92
92
  try {
93
- const data = await client.DeleteRecordBackupTemplate({})
93
+ const data = await client.AddRecordRetrieveTask({})
94
94
  expect(data).to.be.ok
95
95
  } catch(error) {
96
96
  expect(error.requestId).to.be.ok
@@ -338,9 +338,9 @@ it("iss.v20230517.UpdateRecordTemplate", async function () {
338
338
  }
339
339
  })
340
340
 
341
- it("iss.v20230517.AddRecordRetrieveTask", async function () {
341
+ it("iss.v20230517.DeleteRecordBackupTemplate", async function () {
342
342
  try {
343
- const data = await client.AddRecordRetrieveTask({})
343
+ const data = await client.DeleteRecordBackupTemplate({})
344
344
  expect(data).to.be.ok
345
345
  } catch(error) {
346
346
  expect(error.requestId).to.be.ok
@@ -478,9 +478,9 @@ it("iss.v20230517.BatchOperateDevice", async function () {
478
478
  }
479
479
  })
480
480
 
481
- it("iss.v20230517.UpdateOrganization", async function () {
481
+ it("iss.v20230517.CallISAPI", async function () {
482
482
  try {
483
- const data = await client.UpdateOrganization({})
483
+ const data = await client.CallISAPI({})
484
484
  expect(data).to.be.ok
485
485
  } catch(error) {
486
486
  expect(error.requestId).to.be.ok
@@ -528,9 +528,9 @@ it("iss.v20230517.UpgradeGateway", async function () {
528
528
  }
529
529
  })
530
530
 
531
- it("iss.v20230517.UpdateUserDevice", async function () {
531
+ it("iss.v20230517.UpdateOrganization", async function () {
532
532
  try {
533
- const data = await client.UpdateUserDevice({})
533
+ const data = await client.UpdateOrganization({})
534
534
  expect(data).to.be.ok
535
535
  } catch(error) {
536
536
  expect(error.requestId).to.be.ok
@@ -668,6 +668,16 @@ it("iss.v20230517.UpdateAITaskStatus", async function () {
668
668
  }
669
669
  })
670
670
 
671
+ it("iss.v20230517.UpdateUserDevice", async function () {
672
+ try {
673
+ const data = await client.UpdateUserDevice({})
674
+ expect(data).to.be.ok
675
+ } catch(error) {
676
+ expect(error.requestId).to.be.ok
677
+ expect(error.code).to.be.ok
678
+ }
679
+ })
680
+
671
681
  it("iss.v20230517.ListRecordBackupPlanDevices", async function () {
672
682
  try {
673
683
  const data = await client.ListRecordBackupPlanDevices({})
@@ -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.UpgradeDedicatedDBInstance", async function () {
641
+ it("mariadb.v20170312.TerminateDedicatedDBInstance", async function () {
632
642
  try {
633
- const data = await client.UpgradeDedicatedDBInstance({})
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.TerminateDedicatedDBInstance", async function () {
691
+ it("mariadb.v20170312.DescribeBackupConfigs", async function () {
682
692
  try {
683
- const data = await client.TerminateDedicatedDBInstance({})
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({})
@@ -28,9 +28,19 @@ it("tke.v20220501.DescribeNodePools", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("tke.v20220501.CreateNodePool", async function () {
31
+ it("tke.v20220501.ModifyNodePool", async function () {
32
32
  try {
33
- const data = await client.CreateNodePool({})
33
+ const data = await client.ModifyNodePool({})
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("tke.v20220501.DeleteHealthCheckPolicy", async function () {
42
+ try {
43
+ const data = await client.DeleteHealthCheckPolicy({})
34
44
  expect(data).to.be.ok
35
45
  } catch(error) {
36
46
  expect(error.requestId).to.be.ok
@@ -48,9 +58,59 @@ it("tke.v20220501.DeleteNodePool", async function () {
48
58
  }
49
59
  })
50
60
 
51
- it("tke.v20220501.ModifyNodePool", async function () {
61
+ it("tke.v20220501.DescribeHealthCheckPolicies", async function () {
52
62
  try {
53
- const data = await client.ModifyNodePool({})
63
+ const data = await client.DescribeHealthCheckPolicies({})
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("tke.v20220501.ModifyHealthCheckPolicy", async function () {
72
+ try {
73
+ const data = await client.ModifyHealthCheckPolicy({})
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
+
81
+ it("tke.v20220501.CreateNodePool", async function () {
82
+ try {
83
+ const data = await client.CreateNodePool({})
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("tke.v20220501.DescribeHealthCheckTemplate", async function () {
92
+ try {
93
+ const data = await client.DescribeHealthCheckTemplate({})
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("tke.v20220501.DescribeHealthCheckPolicyBindings", async function () {
102
+ try {
103
+ const data = await client.DescribeHealthCheckPolicyBindings({})
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("tke.v20220501.CreateHealthCheckPolicy", async function () {
112
+ try {
113
+ const data = await client.CreateHealthCheckPolicy({})
54
114
  expect(data).to.be.ok
55
115
  } catch(error) {
56
116
  expect(error.requestId).to.be.ok
@@ -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
  })
@@ -0,0 +1,31 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.vod.v20240718.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("vod.v20240718.test.js", function () {
20
+
21
+ it("vod.v20240718.CreateStorageCredentials", async function () {
22
+ try {
23
+ const data = await client.CreateStorageCredentials({})
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
+ })