tencentcloud-sdk-nodejs 4.0.297 → 4.0.300
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 +706 -0
- package/SERVICE_CHANGELOG.md +965 -60
- package/package.json +1 -1
- package/products.md +34 -33
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +127 -53
- package/src/services/antiddos/v20200309/antiddos_models.ts +355 -30
- package/src/services/api/v20201106/api_client.ts +13 -0
- package/src/services/api/v20201106/api_models.ts +45 -0
- package/src/services/apigateway/v20180808/apigateway_client.ts +75 -6
- package/src/services/apigateway/v20180808/apigateway_models.ts +621 -44
- package/src/services/as/v20180419/as_models.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +12 -0
- package/src/services/cam/v20190116/cam_client.ts +12 -0
- package/src/services/cam/v20190116/cam_models.ts +30 -0
- package/src/services/cdb/v20170320/cdb_models.ts +7 -1
- package/src/services/clb/v20180317/clb_client.ts +20 -11
- package/src/services/clb/v20180317/clb_models.ts +25 -0
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +37 -27
- package/src/services/cmq/v20190304/cmq_models.ts +94 -82
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +5 -0
- package/src/services/dcdb/v20180411/dcdb_client.ts +36 -12
- package/src/services/dcdb/v20180411/dcdb_models.ts +60 -0
- package/src/services/emr/v20190103/emr_client.ts +1 -0
- package/src/services/emr/v20190103/emr_models.ts +46 -0
- package/src/services/gme/v20180711/gme_client.ts +36 -0
- package/src/services/gme/v20180711/gme_models.ts +126 -0
- package/src/services/index.ts +1 -0
- package/src/services/ivld/v20210903/ivld_client.ts +78 -4
- package/src/services/ivld/v20210903/ivld_models.ts +156 -38
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +6 -0
- package/src/services/mariadb/v20170312/mariadb_client.ts +31 -7
- package/src/services/mariadb/v20170312/mariadb_models.ts +238 -179
- package/src/services/mongodb/v20190725/mongodb_client.ts +72 -60
- package/src/services/mongodb/v20190725/mongodb_models.ts +1022 -997
- package/src/services/monitor/v20180724/monitor_client.ts +1 -1
- package/src/services/monitor/v20180724/monitor_models.ts +8 -1
- package/src/services/oceanus/v20190422/oceanus_models.ts +84 -2
- package/src/services/postgres/v20170312/postgres_client.ts +85 -37
- package/src/services/postgres/v20170312/postgres_models.ts +258 -84
- package/src/services/rum/v20210622/rum_models.ts +1 -1
- package/src/services/sslpod/v20190605/sslpod_models.ts +7 -1
- package/src/services/tcss/v20201101/tcss_models.ts +26 -0
- package/src/services/tdcpg/index.ts +5 -0
- package/src/services/tdcpg/v20211118/index.ts +6 -0
- package/src/services/tdcpg/v20211118/tdcpg_client.ts +345 -0
- package/src/services/tdcpg/v20211118/tdcpg_models.ts +1320 -0
- package/src/services/tdid/v20210519/tdid_client.ts +64 -14
- package/src/services/tdid/v20210519/tdid_models.ts +205 -17
- package/src/services/tdmq/v20200217/tdmq_models.ts +41 -1
- package/src/services/tem/v20210701/tem_models.ts +5 -0
- package/src/services/tsf/v20180326/tsf_client.ts +128 -15
- package/src/services/tsf/v20180326/tsf_models.ts +1116 -112
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.d.ts +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +41 -17
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +60 -24
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +302 -28
- package/tencentcloud/services/api/v20201106/api_client.d.ts +5 -1
- package/tencentcloud/services/api/v20201106/api_client.js +6 -0
- package/tencentcloud/services/api/v20201106/api_models.d.ts +39 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +21 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +30 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +523 -40
- package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +10 -0
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
- package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +25 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +6 -1
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +8 -7
- package/tencentcloud/services/clb/v20180317/clb_client.js +10 -7
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +22 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +35 -25
- package/tencentcloud/services/cmq/v20190304/cmq_models.d.ts +89 -79
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +4 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +13 -5
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +18 -6
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +52 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +39 -0
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +13 -1
- package/tencentcloud/services/gme/v20180711/gme_client.js +18 -0
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +107 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +52 -2
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +57 -1
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +134 -34
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +5 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +9 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +12 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +202 -151
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +965 -943
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +7 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +68 -2
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +29 -13
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +42 -18
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +219 -71
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +1 -1
- package/tencentcloud/services/sslpod/v20190605/sslpod_models.d.ts +6 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +21 -0
- package/tencentcloud/services/tdcpg/index.d.ts +6 -0
- package/tencentcloud/services/tdcpg/index.js +7 -0
- package/tencentcloud/services/tdcpg/v20211118/index.d.ts +6 -0
- package/tencentcloud/services/tdcpg/v20211118/index.js +9 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_client.d.ts +116 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_client.js +187 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.d.ts +1111 -0
- package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.js +18 -0
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +22 -5
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +31 -6
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +175 -15
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +34 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +4 -0
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +37 -5
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +54 -6
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +934 -86
- package/test/antiddos.v20200309.test.js +76 -16
- package/test/api.v20201106.test.js +10 -0
- package/test/apigateway.v20180808.test.js +50 -0
- package/test/cam.v20190116.test.js +10 -0
- package/test/clb.v20180317.test.js +12 -2
- package/test/dcdb.v20180411.test.js +24 -4
- package/test/gme.v20180711.test.js +30 -0
- package/test/ivld.v20210903.test.js +30 -0
- package/test/mariadb.v20170312.test.js +20 -0
- package/test/mongodb.v20190725.test.js +10 -0
- package/test/postgres.v20170312.test.js +58 -18
- package/test/tdcpg.v20211118.test.js +271 -0
- package/test/tdid.v20210519.test.js +44 -4
- package/test/tsf.v20180326.test.js +84 -4
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.antiddos.v20200309.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("antiddos.v20200309.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("antiddos.v20200309.
|
|
21
|
+
it("antiddos.v20200309.ModifyCCLevelPolicy", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.ModifyCCLevelPolicy({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,19 @@ it("antiddos.v20200309.DescribeListWaterPrintConfig", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("antiddos.v20200309.
|
|
61
|
+
it("antiddos.v20200309.ModifyNewDomainRules", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.ModifyNewDomainRules({})
|
|
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("antiddos.v20200309.CreateCcBlackWhiteIpList", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateCcBlackWhiteIpList({})
|
|
64
74
|
expect(data).to.be.ok
|
|
65
75
|
} catch(error) {
|
|
66
76
|
expect(error.requestId).to.be.ok
|
|
@@ -188,6 +198,16 @@ it("antiddos.v20200309.DescribeDDoSTrend", async function () {
|
|
|
188
198
|
}
|
|
189
199
|
})
|
|
190
200
|
|
|
201
|
+
it("antiddos.v20200309.DeleteDDoSBlackWhiteIpList", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DeleteDDoSBlackWhiteIpList({})
|
|
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
|
+
|
|
191
211
|
it("antiddos.v20200309.DescribeDefaultAlarmThreshold", async function () {
|
|
192
212
|
try {
|
|
193
213
|
const data = await client.DescribeDefaultAlarmThreshold({})
|
|
@@ -208,9 +228,9 @@ it("antiddos.v20200309.DescribeListBlackWhiteIpList", async function () {
|
|
|
208
228
|
}
|
|
209
229
|
})
|
|
210
230
|
|
|
211
|
-
it("antiddos.v20200309.
|
|
231
|
+
it("antiddos.v20200309.DeleteCCThresholdPolicy", async function () {
|
|
212
232
|
try {
|
|
213
|
-
const data = await client.
|
|
233
|
+
const data = await client.DeleteCCThresholdPolicy({})
|
|
214
234
|
expect(data).to.be.ok
|
|
215
235
|
} catch(error) {
|
|
216
236
|
expect(error.requestId).to.be.ok
|
|
@@ -248,9 +268,9 @@ it("antiddos.v20200309.DisassociateDDoSEipAddress", async function () {
|
|
|
248
268
|
}
|
|
249
269
|
})
|
|
250
270
|
|
|
251
|
-
it("antiddos.v20200309.
|
|
271
|
+
it("antiddos.v20200309.DescribeCCLevelPolicy", async function () {
|
|
252
272
|
try {
|
|
253
|
-
const data = await client.
|
|
273
|
+
const data = await client.DescribeCCLevelPolicy({})
|
|
254
274
|
expect(data).to.be.ok
|
|
255
275
|
} catch(error) {
|
|
256
276
|
expect(error.requestId).to.be.ok
|
|
@@ -288,6 +308,16 @@ it("antiddos.v20200309.CreateBoundIP", async function () {
|
|
|
288
308
|
}
|
|
289
309
|
})
|
|
290
310
|
|
|
311
|
+
it("antiddos.v20200309.ModifyCcBlackWhiteIpList", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.ModifyCcBlackWhiteIpList({})
|
|
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
|
+
|
|
291
321
|
it("antiddos.v20200309.DeleteCcGeoIPBlockConfig", async function () {
|
|
292
322
|
try {
|
|
293
323
|
const data = await client.DeleteCcGeoIPBlockConfig({})
|
|
@@ -338,6 +368,16 @@ it("antiddos.v20200309.DescribeBlackWhiteIpList", async function () {
|
|
|
338
368
|
}
|
|
339
369
|
})
|
|
340
370
|
|
|
371
|
+
it("antiddos.v20200309.DescribeCCLevelList", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DescribeCCLevelList({})
|
|
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
|
+
|
|
341
381
|
it("antiddos.v20200309.ModifyDDoSBlackWhiteIpList", async function () {
|
|
342
382
|
try {
|
|
343
383
|
const data = await client.ModifyDDoSBlackWhiteIpList({})
|
|
@@ -378,9 +418,9 @@ it("antiddos.v20200309.CreateDDoSBlackWhiteIpList", async function () {
|
|
|
378
418
|
}
|
|
379
419
|
})
|
|
380
420
|
|
|
381
|
-
it("antiddos.v20200309.
|
|
421
|
+
it("antiddos.v20200309.DescribeCCThresholdList", async function () {
|
|
382
422
|
try {
|
|
383
|
-
const data = await client.
|
|
423
|
+
const data = await client.DescribeCCThresholdList({})
|
|
384
424
|
expect(data).to.be.ok
|
|
385
425
|
} catch(error) {
|
|
386
426
|
expect(error.requestId).to.be.ok
|
|
@@ -398,6 +438,16 @@ it("antiddos.v20200309.ModifyCCPrecisionPolicy", async function () {
|
|
|
398
438
|
}
|
|
399
439
|
})
|
|
400
440
|
|
|
441
|
+
it("antiddos.v20200309.ModifyL7RulesEdge", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.ModifyL7RulesEdge({})
|
|
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
|
+
|
|
401
451
|
it("antiddos.v20200309.CreateIPAlarmThresholdConfig", async function () {
|
|
402
452
|
try {
|
|
403
453
|
const data = await client.CreateIPAlarmThresholdConfig({})
|
|
@@ -408,9 +458,9 @@ it("antiddos.v20200309.CreateIPAlarmThresholdConfig", async function () {
|
|
|
408
458
|
}
|
|
409
459
|
})
|
|
410
460
|
|
|
411
|
-
it("antiddos.v20200309.
|
|
461
|
+
it("antiddos.v20200309.DeleteCCLevelPolicy", async function () {
|
|
412
462
|
try {
|
|
413
|
-
const data = await client.
|
|
463
|
+
const data = await client.DeleteCCLevelPolicy({})
|
|
414
464
|
expect(data).to.be.ok
|
|
415
465
|
} catch(error) {
|
|
416
466
|
expect(error.requestId).to.be.ok
|
|
@@ -608,9 +658,9 @@ it("antiddos.v20200309.DeleteWaterPrintConfig", async function () {
|
|
|
608
658
|
}
|
|
609
659
|
})
|
|
610
660
|
|
|
611
|
-
it("antiddos.v20200309.
|
|
661
|
+
it("antiddos.v20200309.DescribeCcGeoIPBlockConfigList", async function () {
|
|
612
662
|
try {
|
|
613
|
-
const data = await client.
|
|
663
|
+
const data = await client.DescribeCcGeoIPBlockConfigList({})
|
|
614
664
|
expect(data).to.be.ok
|
|
615
665
|
} catch(error) {
|
|
616
666
|
expect(error.requestId).to.be.ok
|
|
@@ -688,9 +738,9 @@ it("antiddos.v20200309.DescribeDDoSBlackWhiteIpList", async function () {
|
|
|
688
738
|
}
|
|
689
739
|
})
|
|
690
740
|
|
|
691
|
-
it("antiddos.v20200309.
|
|
741
|
+
it("antiddos.v20200309.DescribeCCTrend", async function () {
|
|
692
742
|
try {
|
|
693
|
-
const data = await client.
|
|
743
|
+
const data = await client.DescribeCCTrend({})
|
|
694
744
|
expect(data).to.be.ok
|
|
695
745
|
} catch(error) {
|
|
696
746
|
expect(error.requestId).to.be.ok
|
|
@@ -748,6 +798,16 @@ it("antiddos.v20200309.DescribeListPortAclList", async function () {
|
|
|
748
798
|
}
|
|
749
799
|
})
|
|
750
800
|
|
|
801
|
+
it("antiddos.v20200309.DescribeDDoSConnectLimitList", async function () {
|
|
802
|
+
try {
|
|
803
|
+
const data = await client.DescribeDDoSConnectLimitList({})
|
|
804
|
+
expect(data).to.be.ok
|
|
805
|
+
} catch(error) {
|
|
806
|
+
expect(error.requestId).to.be.ok
|
|
807
|
+
expect(error.code).to.be.ok
|
|
808
|
+
}
|
|
809
|
+
})
|
|
810
|
+
|
|
751
811
|
it("antiddos.v20200309.CreateCcGeoIPBlockConfig", async function () {
|
|
752
812
|
try {
|
|
753
813
|
const data = await client.CreateCcGeoIPBlockConfig({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.api.v20201106.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("api.v20201106.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("api.v20201106.DescribeProducts", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeProducts({})
|
|
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("api.v20201106.DescribeRegions", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeRegions({})
|
|
@@ -228,6 +228,16 @@ it("apigateway.v20180808.DescribeApiApp", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
+
it("apigateway.v20180808.DescribeUpstreams", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DescribeUpstreams({})
|
|
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
|
+
|
|
231
241
|
it("apigateway.v20180808.DescribeApi", async function () {
|
|
232
242
|
try {
|
|
233
243
|
const data = await client.DescribeApi({})
|
|
@@ -398,6 +408,16 @@ it("apigateway.v20180808.DescribeIPStrategy", async function () {
|
|
|
398
408
|
}
|
|
399
409
|
})
|
|
400
410
|
|
|
411
|
+
it("apigateway.v20180808.ModifyUpstream", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.ModifyUpstream({})
|
|
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
|
+
|
|
401
421
|
it("apigateway.v20180808.DescribeServiceReleaseVersion", async function () {
|
|
402
422
|
try {
|
|
403
423
|
const data = await client.DescribeServiceReleaseVersion({})
|
|
@@ -628,6 +648,16 @@ it("apigateway.v20180808.ModifyExclusiveInstance", async function () {
|
|
|
628
648
|
}
|
|
629
649
|
})
|
|
630
650
|
|
|
651
|
+
it("apigateway.v20180808.CreateUpstream", async function () {
|
|
652
|
+
try {
|
|
653
|
+
const data = await client.CreateUpstream({})
|
|
654
|
+
expect(data).to.be.ok
|
|
655
|
+
} catch(error) {
|
|
656
|
+
expect(error.requestId).to.be.ok
|
|
657
|
+
expect(error.code).to.be.ok
|
|
658
|
+
}
|
|
659
|
+
})
|
|
660
|
+
|
|
631
661
|
it("apigateway.v20180808.DescribeUsagePlanEnvironments", async function () {
|
|
632
662
|
try {
|
|
633
663
|
const data = await client.DescribeUsagePlanEnvironments({})
|
|
@@ -668,6 +698,16 @@ it("apigateway.v20180808.DescribeServiceEnvironmentList", async function () {
|
|
|
668
698
|
}
|
|
669
699
|
})
|
|
670
700
|
|
|
701
|
+
it("apigateway.v20180808.DeleteUpstream", async function () {
|
|
702
|
+
try {
|
|
703
|
+
const data = await client.DeleteUpstream({})
|
|
704
|
+
expect(data).to.be.ok
|
|
705
|
+
} catch(error) {
|
|
706
|
+
expect(error.requestId).to.be.ok
|
|
707
|
+
expect(error.code).to.be.ok
|
|
708
|
+
}
|
|
709
|
+
})
|
|
710
|
+
|
|
671
711
|
it("apigateway.v20180808.UnBindSubDomain", async function () {
|
|
672
712
|
try {
|
|
673
713
|
const data = await client.UnBindSubDomain({})
|
|
@@ -708,6 +748,16 @@ it("apigateway.v20180808.DescribeApiKey", async function () {
|
|
|
708
748
|
}
|
|
709
749
|
})
|
|
710
750
|
|
|
751
|
+
it("apigateway.v20180808.DescribeUpstreamBindApis", async function () {
|
|
752
|
+
try {
|
|
753
|
+
const data = await client.DescribeUpstreamBindApis({})
|
|
754
|
+
expect(data).to.be.ok
|
|
755
|
+
} catch(error) {
|
|
756
|
+
expect(error.requestId).to.be.ok
|
|
757
|
+
expect(error.code).to.be.ok
|
|
758
|
+
}
|
|
759
|
+
})
|
|
760
|
+
|
|
711
761
|
it("apigateway.v20180808.ReleaseService", async function () {
|
|
712
762
|
try {
|
|
713
763
|
const data = await client.ReleaseService({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.cam.v20190116.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("cam.v20190116.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("cam.v20190116.GetUserAppId", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.GetUserAppId({})
|
|
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("cam.v20190116.SetMfaFlag", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.SetMfaFlag({})
|
|
@@ -128,9 +128,9 @@ it("clb.v20180317.BatchDeregisterTargets", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("clb.v20180317.
|
|
131
|
+
it("clb.v20180317.ModifyLoadBalancerMixIpTarget", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.ModifyLoadBalancerMixIpTarget({})
|
|
134
134
|
expect(data).to.be.ok
|
|
135
135
|
} catch(error) {
|
|
136
136
|
expect(error.requestId).to.be.ok
|
|
@@ -248,6 +248,16 @@ it("clb.v20180317.ModifyBlockIPList", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
+
it("clb.v20180317.RegisterTargetGroupInstances", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.RegisterTargetGroupInstances({})
|
|
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("clb.v20180317.DeregisterTargetsFromClassicalLB", async function () {
|
|
252
262
|
try {
|
|
253
263
|
const data = await client.DeregisterTargetsFromClassicalLB({})
|
|
@@ -28,9 +28,9 @@ it("dcdb.v20180411.DescribeAccountPrivileges", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("dcdb.v20180411.
|
|
31
|
+
it("dcdb.v20180411.ActiveHourDCDBInstance", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.ActiveHourDCDBInstance({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -118,6 +118,16 @@ it("dcdb.v20180411.ModifyAccountDescription", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
+
it("dcdb.v20180411.DescribeOrders", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeOrders({})
|
|
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
|
+
|
|
121
131
|
it("dcdb.v20180411.DescribeUserTasks", async function () {
|
|
122
132
|
try {
|
|
123
133
|
const data = await client.DescribeUserTasks({})
|
|
@@ -268,9 +278,9 @@ it("dcdb.v20180411.DescribeDBLogFiles", async function () {
|
|
|
268
278
|
}
|
|
269
279
|
})
|
|
270
280
|
|
|
271
|
-
it("dcdb.v20180411.
|
|
281
|
+
it("dcdb.v20180411.IsolateHourDCDBInstance", async function () {
|
|
272
282
|
try {
|
|
273
|
-
const data = await client.
|
|
283
|
+
const data = await client.IsolateHourDCDBInstance({})
|
|
274
284
|
expect(data).to.be.ok
|
|
275
285
|
} catch(error) {
|
|
276
286
|
expect(error.requestId).to.be.ok
|
|
@@ -538,6 +548,16 @@ it("dcdb.v20180411.DisassociateSecurityGroups", async function () {
|
|
|
538
548
|
}
|
|
539
549
|
})
|
|
540
550
|
|
|
551
|
+
it("dcdb.v20180411.UpgradeDCDBInstance", async function () {
|
|
552
|
+
try {
|
|
553
|
+
const data = await client.UpgradeDCDBInstance({})
|
|
554
|
+
expect(data).to.be.ok
|
|
555
|
+
} catch(error) {
|
|
556
|
+
expect(error.requestId).to.be.ok
|
|
557
|
+
expect(error.code).to.be.ok
|
|
558
|
+
}
|
|
559
|
+
})
|
|
560
|
+
|
|
541
561
|
it("dcdb.v20180411.DescribeDCDBRenewalPrice", async function () {
|
|
542
562
|
try {
|
|
543
563
|
const data = await client.DescribeDCDBRenewalPrice({})
|
|
@@ -28,6 +28,16 @@ it("gme.v20180711.DescribeFilterResult", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("gme.v20180711.UpdateScanRooms", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.UpdateScanRooms({})
|
|
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("gme.v20180711.CreateApp", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.CreateApp({})
|
|
@@ -78,6 +88,16 @@ it("gme.v20180711.DescribeFilterResultList", async function () {
|
|
|
78
88
|
}
|
|
79
89
|
})
|
|
80
90
|
|
|
91
|
+
it("gme.v20180711.UpdateScanUsers", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.UpdateScanUsers({})
|
|
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
|
+
|
|
81
101
|
it("gme.v20180711.DescribeAppStatistics", async function () {
|
|
82
102
|
try {
|
|
83
103
|
const data = await client.DescribeAppStatistics({})
|
|
@@ -128,6 +148,16 @@ it("gme.v20180711.ModifyAppStatus", async function () {
|
|
|
128
148
|
}
|
|
129
149
|
})
|
|
130
150
|
|
|
151
|
+
it("gme.v20180711.DescribeRealtimeScanConfig", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeRealtimeScanConfig({})
|
|
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
|
+
|
|
131
161
|
it("gme.v20180711.DescribeUserInAndOutTime", async function () {
|
|
132
162
|
try {
|
|
133
163
|
const data = await client.DescribeUserInAndOutTime({})
|
|
@@ -58,6 +58,16 @@ it("ivld.v20210903.DeleteCustomPersonImage", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("ivld.v20210903.QueryCallback", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.QueryCallback({})
|
|
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
|
+
|
|
61
71
|
it("ivld.v20210903.UpdateCustomCategory", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.UpdateCustomCategory({})
|
|
@@ -188,6 +198,16 @@ it("ivld.v20210903.DeleteMedia", async function () {
|
|
|
188
198
|
}
|
|
189
199
|
})
|
|
190
200
|
|
|
201
|
+
it("ivld.v20210903.ModifyCallback", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.ModifyCallback({})
|
|
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
|
+
|
|
191
211
|
it("ivld.v20210903.DescribeTasks", async function () {
|
|
192
212
|
try {
|
|
193
213
|
const data = await client.DescribeTasks({})
|
|
@@ -218,6 +238,16 @@ it("ivld.v20210903.DescribeCustomCategories", async function () {
|
|
|
218
238
|
}
|
|
219
239
|
})
|
|
220
240
|
|
|
241
|
+
it("ivld.v20210903.DeleteTask", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DeleteTask({})
|
|
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
|
+
|
|
221
251
|
it("ivld.v20210903.DescribeCustomGroup", async function () {
|
|
222
252
|
try {
|
|
223
253
|
const data = await client.DescribeCustomGroup({})
|
|
@@ -158,6 +158,16 @@ it("mariadb.v20170312.DescribeDBResourceUsageDetails", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
+
it("mariadb.v20170312.ActivateHourDBInstance", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.ActivateHourDBInstance({})
|
|
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
|
+
|
|
161
171
|
it("mariadb.v20170312.ResetAccountPassword", async function () {
|
|
162
172
|
try {
|
|
163
173
|
const data = await client.ResetAccountPassword({})
|
|
@@ -518,6 +528,16 @@ it("mariadb.v20170312.CopyAccountPrivileges", async function () {
|
|
|
518
528
|
}
|
|
519
529
|
})
|
|
520
530
|
|
|
531
|
+
it("mariadb.v20170312.IsolateHourDBInstance", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.IsolateHourDBInstance({})
|
|
534
|
+
expect(data).to.be.ok
|
|
535
|
+
} catch(error) {
|
|
536
|
+
expect(error.requestId).to.be.ok
|
|
537
|
+
expect(error.code).to.be.ok
|
|
538
|
+
}
|
|
539
|
+
})
|
|
540
|
+
|
|
521
541
|
it("mariadb.v20170312.DescribeDatabases", async function () {
|
|
522
542
|
try {
|
|
523
543
|
const data = await client.DescribeDatabases({})
|
|
@@ -318,4 +318,14 @@ it("mongodb.v20190725.InquirePriceRenewDBInstances", async function () {
|
|
|
318
318
|
}
|
|
319
319
|
})
|
|
320
320
|
|
|
321
|
+
it("mongodb.v20190725.ModifyDBInstanceSecurityGroup", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.ModifyDBInstanceSecurityGroup({})
|
|
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
|
+
|
|
321
331
|
})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.postgres.v20170312.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("postgres.v20170312.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("postgres.v20170312.CreateReadOnlyGroupNetworkAccess", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateReadOnlyGroupNetworkAccess({})
|
|
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("postgres.v20170312.ModifyDBInstancesProject", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.ModifyDBInstancesProject({})
|
|
@@ -38,6 +48,36 @@ it("postgres.v20170312.DescribeOrders", async function () {
|
|
|
38
48
|
}
|
|
39
49
|
})
|
|
40
50
|
|
|
51
|
+
it("postgres.v20170312.DescribeDBInstances", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeDBInstances({})
|
|
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("postgres.v20170312.DeleteReadOnlyGroupNetworkAccess", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DeleteReadOnlyGroupNetworkAccess({})
|
|
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("postgres.v20170312.UpgradeDBInstance", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.UpgradeDBInstance({})
|
|
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("postgres.v20170312.ModifyDBInstanceParameters", async function () {
|
|
42
82
|
try {
|
|
43
83
|
const data = await client.ModifyDBInstanceParameters({})
|
|
@@ -138,9 +178,19 @@ it("postgres.v20170312.InquiryPriceCreateDBInstances", async function () {
|
|
|
138
178
|
}
|
|
139
179
|
})
|
|
140
180
|
|
|
141
|
-
it("postgres.v20170312.
|
|
181
|
+
it("postgres.v20170312.OpenDBExtranetAccess", async function () {
|
|
142
182
|
try {
|
|
143
|
-
const data = await client.
|
|
183
|
+
const data = await client.OpenDBExtranetAccess({})
|
|
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("postgres.v20170312.DeleteDBInstanceNetworkAccess", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DeleteDBInstanceNetworkAccess({})
|
|
144
194
|
expect(data).to.be.ok
|
|
145
195
|
} catch(error) {
|
|
146
196
|
expect(error.requestId).to.be.ok
|
|
@@ -228,9 +278,9 @@ it("postgres.v20170312.ModifyDBInstanceName", async function () {
|
|
|
228
278
|
}
|
|
229
279
|
})
|
|
230
280
|
|
|
231
|
-
it("postgres.v20170312.
|
|
281
|
+
it("postgres.v20170312.InquiryPriceUpgradeDBInstance", async function () {
|
|
232
282
|
try {
|
|
233
|
-
const data = await client.
|
|
283
|
+
const data = await client.InquiryPriceUpgradeDBInstance({})
|
|
234
284
|
expect(data).to.be.ok
|
|
235
285
|
} catch(error) {
|
|
236
286
|
expect(error.requestId).to.be.ok
|
|
@@ -268,9 +318,9 @@ it("postgres.v20170312.CreateServerlessDBInstance", async function () {
|
|
|
268
318
|
}
|
|
269
319
|
})
|
|
270
320
|
|
|
271
|
-
it("postgres.v20170312.
|
|
321
|
+
it("postgres.v20170312.DescribeDBInstanceParameters", async function () {
|
|
272
322
|
try {
|
|
273
|
-
const data = await client.
|
|
323
|
+
const data = await client.DescribeDBInstanceParameters({})
|
|
274
324
|
expect(data).to.be.ok
|
|
275
325
|
} catch(error) {
|
|
276
326
|
expect(error.requestId).to.be.ok
|
|
@@ -298,16 +348,6 @@ it("postgres.v20170312.RestartDBInstance", async function () {
|
|
|
298
348
|
}
|
|
299
349
|
})
|
|
300
350
|
|
|
301
|
-
it("postgres.v20170312.OpenDBExtranetAccess", async function () {
|
|
302
|
-
try {
|
|
303
|
-
const data = await client.OpenDBExtranetAccess({})
|
|
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
351
|
it("postgres.v20170312.IsolateDBInstances", async function () {
|
|
312
352
|
try {
|
|
313
353
|
const data = await client.IsolateDBInstances({})
|
|
@@ -338,9 +378,9 @@ it("postgres.v20170312.InitDBInstances", async function () {
|
|
|
338
378
|
}
|
|
339
379
|
})
|
|
340
380
|
|
|
341
|
-
it("postgres.v20170312.
|
|
381
|
+
it("postgres.v20170312.CreateDBInstanceNetworkAccess", async function () {
|
|
342
382
|
try {
|
|
343
|
-
const data = await client.
|
|
383
|
+
const data = await client.CreateDBInstanceNetworkAccess({})
|
|
344
384
|
expect(data).to.be.ok
|
|
345
385
|
} catch(error) {
|
|
346
386
|
expect(error.requestId).to.be.ok
|