tencentcloud-sdk-nodejs 4.0.524 → 4.0.525
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 +121 -0
- package/SERVICE_CHANGELOG.md +155 -91
- package/package.json +1 -1
- package/products.md +5 -5
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20210624/bma_models.ts +20 -5
- package/src/services/cdn/v20180606/cdn_client.ts +22 -8
- package/src/services/cdn/v20180606/cdn_models.ts +145 -33
- package/src/services/clb/v20180317/clb_models.ts +1 -1
- package/src/services/teo/v20220901/teo_client.ts +4 -1
- package/src/services/teo/v20220901/teo_models.ts +120 -21
- package/src/services/tsf/v20180326/tsf_client.ts +210 -50
- package/src/services/tsf/v20180326/tsf_models.ts +1118 -299
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +17 -5
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +7 -3
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +9 -3
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +123 -28
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +103 -17
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +67 -15
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +99 -21
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +877 -180
- package/test/cdn.v20180606.test.js +12 -2
- package/test/tsf.v20180326.test.js +144 -14
|
@@ -78,9 +78,9 @@ it("cdn.v20180606.ListTopWafData", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("cdn.v20180606.
|
|
81
|
+
it("cdn.v20180606.DescribeEdgePackTaskStatus", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.DescribeEdgePackTaskStatus({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -448,6 +448,16 @@ it("cdn.v20180606.PurgePathCache", async function () {
|
|
|
448
448
|
}
|
|
449
449
|
})
|
|
450
450
|
|
|
451
|
+
it("cdn.v20180606.DescribePurgeTasks", async function () {
|
|
452
|
+
try {
|
|
453
|
+
const data = await client.DescribePurgeTasks({})
|
|
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("cdn.v20180606.DescribeUrlViolations", async function () {
|
|
452
462
|
try {
|
|
453
463
|
const data = await client.DescribeUrlViolations({})
|
|
@@ -138,6 +138,16 @@ it("tsf.v20180326.DeleteLaneRule", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("tsf.v20180326.DeleteCluster", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DeleteCluster({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
141
151
|
it("tsf.v20180326.RedoTaskFlowBatch", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.RedoTaskFlowBatch({})
|
|
@@ -188,9 +198,9 @@ it("tsf.v20180326.DescribeConfigs", async function () {
|
|
|
188
198
|
}
|
|
189
199
|
})
|
|
190
200
|
|
|
191
|
-
it("tsf.v20180326.
|
|
201
|
+
it("tsf.v20180326.CreateConfigTemplate", async function () {
|
|
192
202
|
try {
|
|
193
|
-
const data = await client.
|
|
203
|
+
const data = await client.CreateConfigTemplate({})
|
|
194
204
|
expect(data).to.be.ok
|
|
195
205
|
} catch(error) {
|
|
196
206
|
expect(error.requestId).to.be.ok
|
|
@@ -258,6 +268,16 @@ it("tsf.v20180326.DescribeTaskDetail", async function () {
|
|
|
258
268
|
}
|
|
259
269
|
})
|
|
260
270
|
|
|
271
|
+
it("tsf.v20180326.ModifyCluster", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.ModifyCluster({})
|
|
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
|
+
|
|
261
281
|
it("tsf.v20180326.DescribeContainerGroupDetail", async function () {
|
|
262
282
|
try {
|
|
263
283
|
const data = await client.DescribeContainerGroupDetail({})
|
|
@@ -338,6 +358,16 @@ it("tsf.v20180326.DescribeApiDetail", async function () {
|
|
|
338
358
|
}
|
|
339
359
|
})
|
|
340
360
|
|
|
361
|
+
it("tsf.v20180326.RevokeFileConfig", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.RevokeFileConfig({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
341
371
|
it("tsf.v20180326.CreateContainGroup", async function () {
|
|
342
372
|
try {
|
|
343
373
|
const data = await client.CreateContainGroup({})
|
|
@@ -528,9 +558,9 @@ it("tsf.v20180326.DescribeGroupUseDetail", async function () {
|
|
|
528
558
|
}
|
|
529
559
|
})
|
|
530
560
|
|
|
531
|
-
it("tsf.v20180326.
|
|
561
|
+
it("tsf.v20180326.DescribeImageRepository", async function () {
|
|
532
562
|
try {
|
|
533
|
-
const data = await client.
|
|
563
|
+
const data = await client.DescribeImageRepository({})
|
|
534
564
|
expect(data).to.be.ok
|
|
535
565
|
} catch(error) {
|
|
536
566
|
expect(error.requestId).to.be.ok
|
|
@@ -768,6 +798,16 @@ it("tsf.v20180326.DescribeApiGroups", async function () {
|
|
|
768
798
|
}
|
|
769
799
|
})
|
|
770
800
|
|
|
801
|
+
it("tsf.v20180326.DescribeClusters", async function () {
|
|
802
|
+
try {
|
|
803
|
+
const data = await client.DescribeClusters({})
|
|
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
|
+
|
|
771
811
|
it("tsf.v20180326.DescribeBusinessLogConfigs", async function () {
|
|
772
812
|
try {
|
|
773
813
|
const data = await client.DescribeBusinessLogConfigs({})
|
|
@@ -818,9 +858,9 @@ it("tsf.v20180326.DescribeGroups", async function () {
|
|
|
818
858
|
}
|
|
819
859
|
})
|
|
820
860
|
|
|
821
|
-
it("tsf.v20180326.
|
|
861
|
+
it("tsf.v20180326.DescribeFileConfigReleases", async function () {
|
|
822
862
|
try {
|
|
823
|
-
const data = await client.
|
|
863
|
+
const data = await client.DescribeFileConfigReleases({})
|
|
824
864
|
expect(data).to.be.ok
|
|
825
865
|
} catch(error) {
|
|
826
866
|
expect(error.requestId).to.be.ok
|
|
@@ -938,9 +978,9 @@ it("tsf.v20180326.DescribeStatistics", async function () {
|
|
|
938
978
|
}
|
|
939
979
|
})
|
|
940
980
|
|
|
941
|
-
it("tsf.v20180326.
|
|
981
|
+
it("tsf.v20180326.DeleteConfigTemplate", async function () {
|
|
942
982
|
try {
|
|
943
|
-
const data = await client.
|
|
983
|
+
const data = await client.DeleteConfigTemplate({})
|
|
944
984
|
expect(data).to.be.ok
|
|
945
985
|
} catch(error) {
|
|
946
986
|
expect(error.requestId).to.be.ok
|
|
@@ -998,6 +1038,16 @@ it("tsf.v20180326.AddInstances", async function () {
|
|
|
998
1038
|
}
|
|
999
1039
|
})
|
|
1000
1040
|
|
|
1041
|
+
it("tsf.v20180326.ModifyNamespace", async function () {
|
|
1042
|
+
try {
|
|
1043
|
+
const data = await client.ModifyNamespace({})
|
|
1044
|
+
expect(data).to.be.ok
|
|
1045
|
+
} catch(error) {
|
|
1046
|
+
expect(error.requestId).to.be.ok
|
|
1047
|
+
expect(error.code).to.be.ok
|
|
1048
|
+
}
|
|
1049
|
+
})
|
|
1050
|
+
|
|
1001
1051
|
it("tsf.v20180326.DescribeConfigSummary", async function () {
|
|
1002
1052
|
try {
|
|
1003
1053
|
const data = await client.DescribeConfigSummary({})
|
|
@@ -1068,9 +1118,9 @@ it("tsf.v20180326.DescribePrograms", async function () {
|
|
|
1068
1118
|
}
|
|
1069
1119
|
})
|
|
1070
1120
|
|
|
1071
|
-
it("tsf.v20180326.
|
|
1121
|
+
it("tsf.v20180326.DescribePublicConfig", async function () {
|
|
1072
1122
|
try {
|
|
1073
|
-
const data = await client.
|
|
1123
|
+
const data = await client.DescribePublicConfig({})
|
|
1074
1124
|
expect(data).to.be.ok
|
|
1075
1125
|
} catch(error) {
|
|
1076
1126
|
expect(error.requestId).to.be.ok
|
|
@@ -1088,9 +1138,9 @@ it("tsf.v20180326.DescribeApiGroup", async function () {
|
|
|
1088
1138
|
}
|
|
1089
1139
|
})
|
|
1090
1140
|
|
|
1091
|
-
it("tsf.v20180326.
|
|
1141
|
+
it("tsf.v20180326.ModifyApplication", async function () {
|
|
1092
1142
|
try {
|
|
1093
|
-
const data = await client.
|
|
1143
|
+
const data = await client.ModifyApplication({})
|
|
1094
1144
|
expect(data).to.be.ok
|
|
1095
1145
|
} catch(error) {
|
|
1096
1146
|
expect(error.requestId).to.be.ok
|
|
@@ -1178,9 +1228,9 @@ it("tsf.v20180326.DescribePublicConfigs", async function () {
|
|
|
1178
1228
|
}
|
|
1179
1229
|
})
|
|
1180
1230
|
|
|
1181
|
-
it("tsf.v20180326.
|
|
1231
|
+
it("tsf.v20180326.DescribeConfigTemplate", async function () {
|
|
1182
1232
|
try {
|
|
1183
|
-
const data = await client.
|
|
1233
|
+
const data = await client.DescribeConfigTemplate({})
|
|
1184
1234
|
expect(data).to.be.ok
|
|
1185
1235
|
} catch(error) {
|
|
1186
1236
|
expect(error.requestId).to.be.ok
|
|
@@ -1278,6 +1328,16 @@ it("tsf.v20180326.DeleteLane", async function () {
|
|
|
1278
1328
|
}
|
|
1279
1329
|
})
|
|
1280
1330
|
|
|
1331
|
+
it("tsf.v20180326.UpdateConfigTemplate", async function () {
|
|
1332
|
+
try {
|
|
1333
|
+
const data = await client.UpdateConfigTemplate({})
|
|
1334
|
+
expect(data).to.be.ok
|
|
1335
|
+
} catch(error) {
|
|
1336
|
+
expect(error.requestId).to.be.ok
|
|
1337
|
+
expect(error.code).to.be.ok
|
|
1338
|
+
}
|
|
1339
|
+
})
|
|
1340
|
+
|
|
1281
1341
|
it("tsf.v20180326.DescribeConfigReleases", async function () {
|
|
1282
1342
|
try {
|
|
1283
1343
|
const data = await client.DescribeConfigReleases({})
|
|
@@ -1358,6 +1418,26 @@ it("tsf.v20180326.ModifyLane", async function () {
|
|
|
1358
1418
|
}
|
|
1359
1419
|
})
|
|
1360
1420
|
|
|
1421
|
+
it("tsf.v20180326.EnableTask", async function () {
|
|
1422
|
+
try {
|
|
1423
|
+
const data = await client.EnableTask({})
|
|
1424
|
+
expect(data).to.be.ok
|
|
1425
|
+
} catch(error) {
|
|
1426
|
+
expect(error.requestId).to.be.ok
|
|
1427
|
+
expect(error.code).to.be.ok
|
|
1428
|
+
}
|
|
1429
|
+
})
|
|
1430
|
+
|
|
1431
|
+
it("tsf.v20180326.CreateMicroserviceWithDetailResp", async function () {
|
|
1432
|
+
try {
|
|
1433
|
+
const data = await client.CreateMicroserviceWithDetailResp({})
|
|
1434
|
+
expect(data).to.be.ok
|
|
1435
|
+
} catch(error) {
|
|
1436
|
+
expect(error.requestId).to.be.ok
|
|
1437
|
+
expect(error.code).to.be.ok
|
|
1438
|
+
}
|
|
1439
|
+
})
|
|
1440
|
+
|
|
1361
1441
|
it("tsf.v20180326.ModifyMicroservice", async function () {
|
|
1362
1442
|
try {
|
|
1363
1443
|
const data = await client.ModifyMicroservice({})
|
|
@@ -1438,6 +1518,16 @@ it("tsf.v20180326.RedoTaskBatch", async function () {
|
|
|
1438
1518
|
}
|
|
1439
1519
|
})
|
|
1440
1520
|
|
|
1521
|
+
it("tsf.v20180326.ReleaseApiGroup", async function () {
|
|
1522
|
+
try {
|
|
1523
|
+
const data = await client.ReleaseApiGroup({})
|
|
1524
|
+
expect(data).to.be.ok
|
|
1525
|
+
} catch(error) {
|
|
1526
|
+
expect(error.requestId).to.be.ok
|
|
1527
|
+
expect(error.code).to.be.ok
|
|
1528
|
+
}
|
|
1529
|
+
})
|
|
1530
|
+
|
|
1441
1531
|
it("tsf.v20180326.AssociateBusinessLogConfig", async function () {
|
|
1442
1532
|
try {
|
|
1443
1533
|
const data = await client.AssociateBusinessLogConfig({})
|
|
@@ -1468,6 +1558,26 @@ it("tsf.v20180326.DescribeConfigReleaseLogs", async function () {
|
|
|
1468
1558
|
}
|
|
1469
1559
|
})
|
|
1470
1560
|
|
|
1561
|
+
it("tsf.v20180326.DescribeSimpleApplications", async function () {
|
|
1562
|
+
try {
|
|
1563
|
+
const data = await client.DescribeSimpleApplications({})
|
|
1564
|
+
expect(data).to.be.ok
|
|
1565
|
+
} catch(error) {
|
|
1566
|
+
expect(error.requestId).to.be.ok
|
|
1567
|
+
expect(error.code).to.be.ok
|
|
1568
|
+
}
|
|
1569
|
+
})
|
|
1570
|
+
|
|
1571
|
+
it("tsf.v20180326.DescribePathRewrite", async function () {
|
|
1572
|
+
try {
|
|
1573
|
+
const data = await client.DescribePathRewrite({})
|
|
1574
|
+
expect(data).to.be.ok
|
|
1575
|
+
} catch(error) {
|
|
1576
|
+
expect(error.requestId).to.be.ok
|
|
1577
|
+
expect(error.code).to.be.ok
|
|
1578
|
+
}
|
|
1579
|
+
})
|
|
1580
|
+
|
|
1471
1581
|
it("tsf.v20180326.ExecuteTaskFlow", async function () {
|
|
1472
1582
|
try {
|
|
1473
1583
|
const data = await client.ExecuteTaskFlow({})
|
|
@@ -1528,6 +1638,16 @@ it("tsf.v20180326.DeleteRepository", async function () {
|
|
|
1528
1638
|
}
|
|
1529
1639
|
})
|
|
1530
1640
|
|
|
1641
|
+
it("tsf.v20180326.DisableTask", async function () {
|
|
1642
|
+
try {
|
|
1643
|
+
const data = await client.DisableTask({})
|
|
1644
|
+
expect(data).to.be.ok
|
|
1645
|
+
} catch(error) {
|
|
1646
|
+
expect(error.requestId).to.be.ok
|
|
1647
|
+
expect(error.code).to.be.ok
|
|
1648
|
+
}
|
|
1649
|
+
})
|
|
1650
|
+
|
|
1531
1651
|
it("tsf.v20180326.StartContainerGroup", async function () {
|
|
1532
1652
|
try {
|
|
1533
1653
|
const data = await client.StartContainerGroup({})
|
|
@@ -1718,6 +1838,16 @@ it("tsf.v20180326.ChangeApiUsableStatus", async function () {
|
|
|
1718
1838
|
}
|
|
1719
1839
|
})
|
|
1720
1840
|
|
|
1841
|
+
it("tsf.v20180326.ModifyGroup", async function () {
|
|
1842
|
+
try {
|
|
1843
|
+
const data = await client.ModifyGroup({})
|
|
1844
|
+
expect(data).to.be.ok
|
|
1845
|
+
} catch(error) {
|
|
1846
|
+
expect(error.requestId).to.be.ok
|
|
1847
|
+
expect(error.code).to.be.ok
|
|
1848
|
+
}
|
|
1849
|
+
})
|
|
1850
|
+
|
|
1721
1851
|
it("tsf.v20180326.DescribeDeliveryConfig", async function () {
|
|
1722
1852
|
try {
|
|
1723
1853
|
const data = await client.DescribeDeliveryConfig({})
|