tencentcloud-sdk-nodejs 4.0.455 → 4.0.457
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 +343 -0
- package/SERVICE_CHANGELOG.md +353 -56
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +1 -1
- package/src/services/captcha/v20190722/captcha_models.ts +18 -8
- package/src/services/cdb/v20170320/cdb_client.ts +2 -1
- package/src/services/cdb/v20170320/cdb_models.ts +162 -10
- package/src/services/cpdp/v20190820/cpdp_client.ts +13 -0
- package/src/services/cpdp/v20190820/cpdp_models.ts +92 -0
- package/src/services/cvm/v20170312/cvm_models.ts +1 -1
- package/src/services/cwp/v20180228/cwp_client.ts +28 -16
- package/src/services/cwp/v20180228/cwp_models.ts +168 -123
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/mongodb/v20190725/mongodb_client.ts +1 -1
- package/src/services/mongodb/v20190725/mongodb_models.ts +48 -13
- package/src/services/monitor/v20180724/monitor_models.ts +11 -0
- package/src/services/redis/v20180412/redis_client.ts +498 -474
- package/src/services/redis/v20180412/redis_models.ts +75 -24
- package/src/services/rum/v20210622/rum_models.ts +17 -7
- package/src/services/tcm/v20210413/tcm_client.ts +44 -8
- package/src/services/tcm/v20210413/tcm_models.ts +165 -39
- package/src/services/teo/v20220901/teo_client.ts +85 -12
- package/src/services/teo/v20220901/teo_models.ts +497 -208
- package/src/services/tke/v20180525/tke_client.ts +25 -1
- package/src/services/tke/v20180525/tke_models.ts +92 -2
- package/src/services/tsf/v20180326/tsf_client.ts +2 -0
- package/src/services/tsf/v20180326/tsf_models.ts +74 -1
- package/src/services/vod/v20180717/vod_client.ts +2 -2
- package/src/services/vpc/v20170312/vpc_client.ts +4 -4
- package/src/services/vpc/v20170312/vpc_models.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +1 -1
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +16 -8
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +133 -10
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +5 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +6 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +78 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +9 -5
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +12 -6
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +142 -101
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +1 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +1 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +41 -13
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +9 -0
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +171 -163
- package/tencentcloud/services/redis/v20180412/redis_client.js +255 -243
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +68 -23
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +15 -7
- package/tencentcloud/services/tcm/v20210413/tcm_client.d.ts +15 -3
- package/tencentcloud/services/tcm/v20210413/tcm_client.js +21 -3
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +141 -34
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +27 -3
- package/tencentcloud/services/teo/v20220901/teo_client.js +39 -3
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +401 -151
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +9 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +12 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +79 -2
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +62 -1
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +2 -2
- package/tencentcloud/services/vod/v20180717/vod_client.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +2 -2
- package/test/cpdp.v20190820.test.js +10 -0
- package/test/cwp.v20180228.test.js +14 -4
- package/test/redis.v20180412.test.js +182 -162
- package/test/tcm.v20210413.test.js +32 -2
- package/test/teo.v20220901.test.js +62 -2
- package/test/tke.v20180525.test.js +20 -0
|
@@ -18,9 +18,29 @@ const client = new tencentcloud.tcm.v20210413.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tcm.v20210413.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("tcm.v20210413.
|
|
21
|
+
it("tcm.v20210413.DeleteMesh", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DeleteMesh({})
|
|
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("tcm.v20210413.CreateMesh", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.CreateMesh({})
|
|
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("tcm.v20210413.ModifyMesh", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ModifyMesh({})
|
|
24
44
|
expect(data).to.be.ok
|
|
25
45
|
} catch(error) {
|
|
26
46
|
expect(error.requestId).to.be.ok
|
|
@@ -38,4 +58,14 @@ it("tcm.v20210413.DescribeMesh", async function () {
|
|
|
38
58
|
}
|
|
39
59
|
})
|
|
40
60
|
|
|
61
|
+
it("tcm.v20210413.DescribeMeshList", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeMeshList({})
|
|
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
|
+
|
|
41
71
|
})
|
|
@@ -278,6 +278,16 @@ it("teo.v20220901.CreateLogSet", async function () {
|
|
|
278
278
|
}
|
|
279
279
|
})
|
|
280
280
|
|
|
281
|
+
it("teo.v20220901.ReclaimAliasDomain", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.ReclaimAliasDomain({})
|
|
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
|
+
|
|
281
291
|
it("teo.v20220901.ModifyAlarmConfig", async function () {
|
|
282
292
|
try {
|
|
283
293
|
const data = await client.ModifyAlarmConfig({})
|
|
@@ -308,9 +318,9 @@ it("teo.v20220901.CreatePrefetchTask", async function () {
|
|
|
308
318
|
}
|
|
309
319
|
})
|
|
310
320
|
|
|
311
|
-
it("teo.v20220901.
|
|
321
|
+
it("teo.v20220901.DeleteAliasDomain", async function () {
|
|
312
322
|
try {
|
|
313
|
-
const data = await client.
|
|
323
|
+
const data = await client.DeleteAliasDomain({})
|
|
314
324
|
expect(data).to.be.ok
|
|
315
325
|
} catch(error) {
|
|
316
326
|
expect(error.requestId).to.be.ok
|
|
@@ -538,6 +548,16 @@ it("teo.v20220901.DescribeBotData", async function () {
|
|
|
538
548
|
}
|
|
539
549
|
})
|
|
540
550
|
|
|
551
|
+
it("teo.v20220901.CreateAliasDomain", async function () {
|
|
552
|
+
try {
|
|
553
|
+
const data = await client.CreateAliasDomain({})
|
|
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("teo.v20220901.DescribeWebProtectionHitRuleDetail", async function () {
|
|
542
562
|
try {
|
|
543
563
|
const data = await client.DescribeWebProtectionHitRuleDetail({})
|
|
@@ -548,6 +568,16 @@ it("teo.v20220901.DescribeWebProtectionHitRuleDetail", async function () {
|
|
|
548
568
|
}
|
|
549
569
|
})
|
|
550
570
|
|
|
571
|
+
it("teo.v20220901.ModifyAliasDomainStatus", async function () {
|
|
572
|
+
try {
|
|
573
|
+
const data = await client.ModifyAliasDomainStatus({})
|
|
574
|
+
expect(data).to.be.ok
|
|
575
|
+
} catch(error) {
|
|
576
|
+
expect(error.requestId).to.be.ok
|
|
577
|
+
expect(error.code).to.be.ok
|
|
578
|
+
}
|
|
579
|
+
})
|
|
580
|
+
|
|
551
581
|
it("teo.v20220901.DescribeTopL7CacheData", async function () {
|
|
552
582
|
try {
|
|
553
583
|
const data = await client.DescribeTopL7CacheData({})
|
|
@@ -608,6 +638,16 @@ it("teo.v20220901.ModifySecurityPolicy", async function () {
|
|
|
608
638
|
}
|
|
609
639
|
})
|
|
610
640
|
|
|
641
|
+
it("teo.v20220901.DescribeLogTopicTaskDetail", async function () {
|
|
642
|
+
try {
|
|
643
|
+
const data = await client.DescribeLogTopicTaskDetail({})
|
|
644
|
+
expect(data).to.be.ok
|
|
645
|
+
} catch(error) {
|
|
646
|
+
expect(error.requestId).to.be.ok
|
|
647
|
+
expect(error.code).to.be.ok
|
|
648
|
+
}
|
|
649
|
+
})
|
|
650
|
+
|
|
611
651
|
it("teo.v20220901.ModifyRulePriority", async function () {
|
|
612
652
|
try {
|
|
613
653
|
const data = await client.ModifyRulePriority({})
|
|
@@ -958,6 +998,16 @@ it("teo.v20220901.SwitchLogTopicTask", async function () {
|
|
|
958
998
|
}
|
|
959
999
|
})
|
|
960
1000
|
|
|
1001
|
+
it("teo.v20220901.ModifyAliasDomain", async function () {
|
|
1002
|
+
try {
|
|
1003
|
+
const data = await client.ModifyAliasDomain({})
|
|
1004
|
+
expect(data).to.be.ok
|
|
1005
|
+
} catch(error) {
|
|
1006
|
+
expect(error.requestId).to.be.ok
|
|
1007
|
+
expect(error.code).to.be.ok
|
|
1008
|
+
}
|
|
1009
|
+
})
|
|
1010
|
+
|
|
961
1011
|
it("teo.v20220901.DescribeDnssec", async function () {
|
|
962
1012
|
try {
|
|
963
1013
|
const data = await client.DescribeDnssec({})
|
|
@@ -1188,6 +1238,16 @@ it("teo.v20220901.DescribeWebManagedRulesData", async function () {
|
|
|
1188
1238
|
}
|
|
1189
1239
|
})
|
|
1190
1240
|
|
|
1241
|
+
it("teo.v20220901.DescribeAliasDomains", async function () {
|
|
1242
|
+
try {
|
|
1243
|
+
const data = await client.DescribeAliasDomains({})
|
|
1244
|
+
expect(data).to.be.ok
|
|
1245
|
+
} catch(error) {
|
|
1246
|
+
expect(error.requestId).to.be.ok
|
|
1247
|
+
expect(error.code).to.be.ok
|
|
1248
|
+
}
|
|
1249
|
+
})
|
|
1250
|
+
|
|
1191
1251
|
it("teo.v20220901.DescribeBillingData", async function () {
|
|
1192
1252
|
try {
|
|
1193
1253
|
const data = await client.DescribeBillingData({})
|
|
@@ -338,6 +338,16 @@ it("tke.v20180525.DescribeEdgeLogSwitches", async function () {
|
|
|
338
338
|
}
|
|
339
339
|
})
|
|
340
340
|
|
|
341
|
+
it("tke.v20180525.UpdateEdgeClusterVersion", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.UpdateEdgeClusterVersion({})
|
|
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("tke.v20180525.DescribeTKEEdgeExternalKubeconfig", async function () {
|
|
342
352
|
try {
|
|
343
353
|
const data = await client.DescribeTKEEdgeExternalKubeconfig({})
|
|
@@ -1468,6 +1478,16 @@ it("tke.v20180525.DescribeClusterKubeconfig", async function () {
|
|
|
1468
1478
|
}
|
|
1469
1479
|
})
|
|
1470
1480
|
|
|
1481
|
+
it("tke.v20180525.DescribeEdgeClusterUpgradeInfo", async function () {
|
|
1482
|
+
try {
|
|
1483
|
+
const data = await client.DescribeEdgeClusterUpgradeInfo({})
|
|
1484
|
+
expect(data).to.be.ok
|
|
1485
|
+
} catch(error) {
|
|
1486
|
+
expect(error.requestId).to.be.ok
|
|
1487
|
+
expect(error.code).to.be.ok
|
|
1488
|
+
}
|
|
1489
|
+
})
|
|
1490
|
+
|
|
1471
1491
|
it("tke.v20180525.DescribePrometheusConfig", async function () {
|
|
1472
1492
|
try {
|
|
1473
1493
|
const data = await client.DescribePrometheusConfig({})
|