tencentcloud-sdk-nodejs 4.0.488 → 4.0.489

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 (30) hide show
  1. package/CHANGELOG.md +123 -0
  2. package/SERVICE_CHANGELOG.md +160 -213
  3. package/package.json +1 -1
  4. package/products.md +7 -7
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cpdp/v20190820/cpdp_models.ts +14 -0
  7. package/src/services/dnspod/v20210323/dnspod_client.ts +14 -1
  8. package/src/services/dnspod/v20210323/dnspod_models.ts +96 -40
  9. package/src/services/mongodb/v20190725/mongodb_models.ts +17 -2
  10. package/src/services/redis/v20180412/redis_client.ts +1 -1
  11. package/src/services/redis/v20180412/redis_models.ts +3 -3
  12. package/src/services/tcss/v20201101/tcss_client.ts +287 -100
  13. package/src/services/tcss/v20201101/tcss_models.ts +1780 -817
  14. package/src/services/tdmq/v20200217/tdmq_models.ts +6 -0
  15. package/tencentcloud/common/sdk_version.d.ts +1 -1
  16. package/tencentcloud/common/sdk_version.js +1 -1
  17. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +12 -0
  18. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +6 -2
  19. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +7 -1
  20. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +88 -40
  21. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +14 -2
  22. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
  23. package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
  24. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +3 -3
  25. package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +87 -27
  26. package/tencentcloud/services/tcss/v20201101/tcss_client.js +129 -39
  27. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1499 -681
  28. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +5 -0
  29. package/test/dnspod.v20210323.test.js +10 -0
  30. package/test/tcss.v20201101.test.js +176 -26
@@ -3229,6 +3229,11 @@ export interface RocketMQClusterInfo {
3229
3229
  注意:此字段可能返回 null,表示取不到有效值。
3230
3230
  */
3231
3231
  IsVip: boolean;
3232
+ /**
3233
+ * Rocketmq集群标识
3234
+ 注意:此字段可能返回 null,表示取不到有效值。
3235
+ */
3236
+ RocketMQFlag: boolean;
3232
3237
  }
3233
3238
  /**
3234
3239
  * DescribeRocketMQTopics返回参数结构体
@@ -118,6 +118,16 @@ it("dnspod.v20210323.DescribeSnapshotList", async function () {
118
118
  }
119
119
  })
120
120
 
121
+ it("dnspod.v20210323.ModifyRecordFields", async function () {
122
+ try {
123
+ const data = await client.ModifyRecordFields({})
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("dnspod.v20210323.DownloadSnapshot", async function () {
122
132
  try {
123
133
  const data = await client.DownloadSnapshot({})
@@ -28,9 +28,9 @@ it("tcss.v20201101.DescribeImageAuthorizedInfo", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("tcss.v20201101.DescribeSupportDefenceVul", async function () {
31
+ it("tcss.v20201101.CreateK8sApiAbnormalEventExportJob", async function () {
32
32
  try {
33
- const data = await client.DescribeSupportDefenceVul({})
33
+ const data = await client.CreateK8sApiAbnormalEventExportJob({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -148,9 +148,9 @@ it("tcss.v20201101.DescribeAccessControlDetail", async function () {
148
148
  }
149
149
  })
150
150
 
151
- it("tcss.v20201101.ModifyAccessControlRuleStatus", async function () {
151
+ it("tcss.v20201101.DescribeVirusAutoIsolateSampleDetail", async function () {
152
152
  try {
153
- const data = await client.ModifyAccessControlRuleStatus({})
153
+ const data = await client.DescribeVirusAutoIsolateSampleDetail({})
154
154
  expect(data).to.be.ok
155
155
  } catch(error) {
156
156
  expect(error.requestId).to.be.ok
@@ -178,9 +178,9 @@ it("tcss.v20201101.DescribeNetworkFirewallPolicyStatus", async function () {
178
178
  }
179
179
  })
180
180
 
181
- it("tcss.v20201101.UpdateAndPublishNetworkFirewallPolicyYamlDetail", async function () {
181
+ it("tcss.v20201101.DescribeK8sApiAbnormalSummary", async function () {
182
182
  try {
183
- const data = await client.UpdateAndPublishNetworkFirewallPolicyYamlDetail({})
183
+ const data = await client.DescribeK8sApiAbnormalSummary({})
184
184
  expect(data).to.be.ok
185
185
  } catch(error) {
186
186
  expect(error.requestId).to.be.ok
@@ -378,9 +378,9 @@ it("tcss.v20201101.DescribeAgentDaemonSetCmd", async function () {
378
378
  }
379
379
  })
380
380
 
381
- it("tcss.v20201101.ModifyVirusScanTimeoutSetting", async function () {
381
+ it("tcss.v20201101.CreateK8sApiAbnormalRuleExportJob", async function () {
382
382
  try {
383
- const data = await client.ModifyVirusScanTimeoutSetting({})
383
+ const data = await client.CreateK8sApiAbnormalRuleExportJob({})
384
384
  expect(data).to.be.ok
385
385
  } catch(error) {
386
386
  expect(error.requestId).to.be.ok
@@ -578,9 +578,9 @@ it("tcss.v20201101.CreateAssetImageRegistryScanTaskOneKey", async function () {
578
578
  }
579
579
  })
580
580
 
581
- it("tcss.v20201101.ModifyAssetImageScanStop", async function () {
581
+ it("tcss.v20201101.ModifyAccessControlRuleStatus", async function () {
582
582
  try {
583
- const data = await client.ModifyAssetImageScanStop({})
583
+ const data = await client.ModifyAccessControlRuleStatus({})
584
584
  expect(data).to.be.ok
585
585
  } catch(error) {
586
586
  expect(error.requestId).to.be.ok
@@ -688,6 +688,16 @@ it("tcss.v20201101.DescribeRiskSyscallNames", async function () {
688
688
  }
689
689
  })
690
690
 
691
+ it("tcss.v20201101.ModifyK8sApiAbnormalRuleInfo", async function () {
692
+ try {
693
+ const data = await client.ModifyK8sApiAbnormalRuleInfo({})
694
+ expect(data).to.be.ok
695
+ } catch(error) {
696
+ expect(error.requestId).to.be.ok
697
+ expect(error.code).to.be.ok
698
+ }
699
+ })
700
+
691
701
  it("tcss.v20201101.DescribeCompliancePeriodTaskList", async function () {
692
702
  try {
693
703
  const data = await client.DescribeCompliancePeriodTaskList({})
@@ -838,6 +848,16 @@ it("tcss.v20201101.DescribeValueAddedSrvInfo", async function () {
838
848
  }
839
849
  })
840
850
 
851
+ it("tcss.v20201101.ModifyVirusFileStatus", async function () {
852
+ try {
853
+ const data = await client.ModifyVirusFileStatus({})
854
+ expect(data).to.be.ok
855
+ } catch(error) {
856
+ expect(error.requestId).to.be.ok
857
+ expect(error.code).to.be.ok
858
+ }
859
+ })
860
+
841
861
  it("tcss.v20201101.AddEditReverseShellWhiteList", async function () {
842
862
  try {
843
863
  const data = await client.AddEditReverseShellWhiteList({})
@@ -918,9 +938,9 @@ it("tcss.v20201101.DescribeSecLogDeliveryClsOptions", async function () {
918
938
  }
919
939
  })
920
940
 
921
- it("tcss.v20201101.ResetSecLogTopicConfig", async function () {
941
+ it("tcss.v20201101.DescribeUnauthorizedCoresTendency", async function () {
922
942
  try {
923
- const data = await client.ResetSecLogTopicConfig({})
943
+ const data = await client.DescribeUnauthorizedCoresTendency({})
924
944
  expect(data).to.be.ok
925
945
  } catch(error) {
926
946
  expect(error.requestId).to.be.ok
@@ -1238,9 +1258,9 @@ it("tcss.v20201101.DescribeVulDefencePlugin", async function () {
1238
1258
  }
1239
1259
  })
1240
1260
 
1241
- it("tcss.v20201101.ModifyVirusFileStatus", async function () {
1261
+ it("tcss.v20201101.DescribeK8sApiAbnormalEventList", async function () {
1242
1262
  try {
1243
- const data = await client.ModifyVirusFileStatus({})
1263
+ const data = await client.DescribeK8sApiAbnormalEventList({})
1244
1264
  expect(data).to.be.ok
1245
1265
  } catch(error) {
1246
1266
  expect(error.requestId).to.be.ok
@@ -1388,6 +1408,16 @@ it("tcss.v20201101.DescribeVirusList", async function () {
1388
1408
  }
1389
1409
  })
1390
1410
 
1411
+ it("tcss.v20201101.ModifyAssetImageScanStop", async function () {
1412
+ try {
1413
+ const data = await client.ModifyAssetImageScanStop({})
1414
+ expect(data).to.be.ok
1415
+ } catch(error) {
1416
+ expect(error.requestId).to.be.ok
1417
+ expect(error.code).to.be.ok
1418
+ }
1419
+ })
1420
+
1391
1421
  it("tcss.v20201101.ScanComplianceAssets", async function () {
1392
1422
  try {
1393
1423
  const data = await client.ScanComplianceAssets({})
@@ -1398,9 +1428,9 @@ it("tcss.v20201101.ScanComplianceAssets", async function () {
1398
1428
  }
1399
1429
  })
1400
1430
 
1401
- it("tcss.v20201101.StopVirusScanTask", async function () {
1431
+ it("tcss.v20201101.ModifyK8sApiAbnormalEventStatus", async function () {
1402
1432
  try {
1403
- const data = await client.StopVirusScanTask({})
1433
+ const data = await client.ModifyK8sApiAbnormalEventStatus({})
1404
1434
  expect(data).to.be.ok
1405
1435
  } catch(error) {
1406
1436
  expect(error.requestId).to.be.ok
@@ -1508,9 +1538,29 @@ it("tcss.v20201101.DescribeComplianceScanFailedAssetList", async function () {
1508
1538
  }
1509
1539
  })
1510
1540
 
1511
- it("tcss.v20201101.DescribeAssetPortList", async function () {
1541
+ it("tcss.v20201101.DescribeK8sApiAbnormalRuleScopeList", async function () {
1512
1542
  try {
1513
- const data = await client.DescribeAssetPortList({})
1543
+ const data = await client.DescribeK8sApiAbnormalRuleScopeList({})
1544
+ expect(data).to.be.ok
1545
+ } catch(error) {
1546
+ expect(error.requestId).to.be.ok
1547
+ expect(error.code).to.be.ok
1548
+ }
1549
+ })
1550
+
1551
+ it("tcss.v20201101.DescribeAssetClusterList", async function () {
1552
+ try {
1553
+ const data = await client.DescribeAssetClusterList({})
1554
+ expect(data).to.be.ok
1555
+ } catch(error) {
1556
+ expect(error.requestId).to.be.ok
1557
+ expect(error.code).to.be.ok
1558
+ }
1559
+ })
1560
+
1561
+ it("tcss.v20201101.DescribeSupportDefenceVul", async function () {
1562
+ try {
1563
+ const data = await client.DescribeSupportDefenceVul({})
1514
1564
  expect(data).to.be.ok
1515
1565
  } catch(error) {
1516
1566
  expect(error.requestId).to.be.ok
@@ -1618,6 +1668,16 @@ it("tcss.v20201101.DescribeAssetImageRegistryRiskListExport", async function ()
1618
1668
  }
1619
1669
  })
1620
1670
 
1671
+ it("tcss.v20201101.ModifyVirusScanTimeoutSetting", async function () {
1672
+ try {
1673
+ const data = await client.ModifyVirusScanTimeoutSetting({})
1674
+ expect(data).to.be.ok
1675
+ } catch(error) {
1676
+ expect(error.requestId).to.be.ok
1677
+ expect(error.code).to.be.ok
1678
+ }
1679
+ })
1680
+
1621
1681
  it("tcss.v20201101.CreateVirusScanTask", async function () {
1622
1682
  try {
1623
1683
  const data = await client.CreateVirusScanTask({})
@@ -1738,6 +1798,16 @@ it("tcss.v20201101.DescribeAccessControlRuleDetail", async function () {
1738
1798
  }
1739
1799
  })
1740
1800
 
1801
+ it("tcss.v20201101.UpdateAndPublishNetworkFirewallPolicyYamlDetail", async function () {
1802
+ try {
1803
+ const data = await client.UpdateAndPublishNetworkFirewallPolicyYamlDetail({})
1804
+ expect(data).to.be.ok
1805
+ } catch(error) {
1806
+ expect(error.requestId).to.be.ok
1807
+ expect(error.code).to.be.ok
1808
+ }
1809
+ })
1810
+
1741
1811
  it("tcss.v20201101.ModifyImageAuthorized", async function () {
1742
1812
  try {
1743
1813
  const data = await client.ModifyImageAuthorized({})
@@ -1898,9 +1968,9 @@ it("tcss.v20201101.AddAssetImageRegistryRegistryDetail", async function () {
1898
1968
  }
1899
1969
  })
1900
1970
 
1901
- it("tcss.v20201101.DescribeUnauthorizedCoresTendency", async function () {
1971
+ it("tcss.v20201101.DescribeAssetPortList", async function () {
1902
1972
  try {
1903
- const data = await client.DescribeUnauthorizedCoresTendency({})
1973
+ const data = await client.DescribeAssetPortList({})
1904
1974
  expect(data).to.be.ok
1905
1975
  } catch(error) {
1906
1976
  expect(error.requestId).to.be.ok
@@ -2058,6 +2128,16 @@ it("tcss.v20201101.DescribeVulScanLocalImageList", async function () {
2058
2128
  }
2059
2129
  })
2060
2130
 
2131
+ it("tcss.v20201101.StopVirusScanTask", async function () {
2132
+ try {
2133
+ const data = await client.StopVirusScanTask({})
2134
+ expect(data).to.be.ok
2135
+ } catch(error) {
2136
+ expect(error.requestId).to.be.ok
2137
+ expect(error.code).to.be.ok
2138
+ }
2139
+ })
2140
+
2061
2141
  it("tcss.v20201101.AddEditAbnormalProcessRule", async function () {
2062
2142
  try {
2063
2143
  const data = await client.AddEditAbnormalProcessRule({})
@@ -2068,6 +2148,26 @@ it("tcss.v20201101.AddEditAbnormalProcessRule", async function () {
2068
2148
  }
2069
2149
  })
2070
2150
 
2151
+ it("tcss.v20201101.ModifyVulDefenceEventStatus", async function () {
2152
+ try {
2153
+ const data = await client.ModifyVulDefenceEventStatus({})
2154
+ expect(data).to.be.ok
2155
+ } catch(error) {
2156
+ expect(error.requestId).to.be.ok
2157
+ expect(error.code).to.be.ok
2158
+ }
2159
+ })
2160
+
2161
+ it("tcss.v20201101.ResetSecLogTopicConfig", async function () {
2162
+ try {
2163
+ const data = await client.ResetSecLogTopicConfig({})
2164
+ expect(data).to.be.ok
2165
+ } catch(error) {
2166
+ expect(error.requestId).to.be.ok
2167
+ expect(error.code).to.be.ok
2168
+ }
2169
+ })
2170
+
2071
2171
  it("tcss.v20201101.CreateVirusScanAgain", async function () {
2072
2172
  try {
2073
2173
  const data = await client.CreateVirusScanAgain({})
@@ -2138,9 +2238,9 @@ it("tcss.v20201101.DescribeAssetImageList", async function () {
2138
2238
  }
2139
2239
  })
2140
2240
 
2141
- it("tcss.v20201101.DescribeVirusAutoIsolateSampleDetail", async function () {
2241
+ it("tcss.v20201101.DeleteK8sApiAbnormalRule", async function () {
2142
2242
  try {
2143
- const data = await client.DescribeVirusAutoIsolateSampleDetail({})
2243
+ const data = await client.DeleteK8sApiAbnormalRule({})
2144
2244
  expect(data).to.be.ok
2145
2245
  } catch(error) {
2146
2246
  expect(error.requestId).to.be.ok
@@ -2278,6 +2378,16 @@ it("tcss.v20201101.DescribeNetworkFirewallPodLabelsList", async function () {
2278
2378
  }
2279
2379
  })
2280
2380
 
2381
+ it("tcss.v20201101.DescribeK8sApiAbnormalTendency", async function () {
2382
+ try {
2383
+ const data = await client.DescribeK8sApiAbnormalTendency({})
2384
+ expect(data).to.be.ok
2385
+ } catch(error) {
2386
+ expect(error.requestId).to.be.ok
2387
+ expect(error.code).to.be.ok
2388
+ }
2389
+ })
2390
+
2281
2391
  it("tcss.v20201101.DescribeAbnormalProcessEvents", async function () {
2282
2392
  try {
2283
2393
  const data = await client.DescribeAbnormalProcessEvents({})
@@ -2338,6 +2448,16 @@ it("tcss.v20201101.DescribeESHits", async function () {
2338
2448
  }
2339
2449
  })
2340
2450
 
2451
+ it("tcss.v20201101.DescribeVulDefenceSetting", async function () {
2452
+ try {
2453
+ const data = await client.DescribeVulDefenceSetting({})
2454
+ expect(data).to.be.ok
2455
+ } catch(error) {
2456
+ expect(error.requestId).to.be.ok
2457
+ expect(error.code).to.be.ok
2458
+ }
2459
+ })
2460
+
2341
2461
  it("tcss.v20201101.DescribeAssetSyncLastTime", async function () {
2342
2462
  try {
2343
2463
  const data = await client.DescribeAssetSyncLastTime({})
@@ -2348,6 +2468,16 @@ it("tcss.v20201101.DescribeAssetSyncLastTime", async function () {
2348
2468
  }
2349
2469
  })
2350
2470
 
2471
+ it("tcss.v20201101.DescribeK8sApiAbnormalRuleInfo", async function () {
2472
+ try {
2473
+ const data = await client.DescribeK8sApiAbnormalRuleInfo({})
2474
+ expect(data).to.be.ok
2475
+ } catch(error) {
2476
+ expect(error.requestId).to.be.ok
2477
+ expect(error.code).to.be.ok
2478
+ }
2479
+ })
2480
+
2351
2481
  it("tcss.v20201101.DeleteCompliancePolicyItemFromWhitelist", async function () {
2352
2482
  try {
2353
2483
  const data = await client.DeleteCompliancePolicyItemFromWhitelist({})
@@ -2888,6 +3018,16 @@ it("tcss.v20201101.DescribeAssetImageVirusList", async function () {
2888
3018
  }
2889
3019
  })
2890
3020
 
3021
+ it("tcss.v20201101.CreateK8sApiAbnormalRuleInfo", async function () {
3022
+ try {
3023
+ const data = await client.CreateK8sApiAbnormalRuleInfo({})
3024
+ expect(data).to.be.ok
3025
+ } catch(error) {
3026
+ expect(error.requestId).to.be.ok
3027
+ expect(error.code).to.be.ok
3028
+ }
3029
+ })
3030
+
2891
3031
  it("tcss.v20201101.DescribeAssetSummary", async function () {
2892
3032
  try {
2893
3033
  const data = await client.DescribeAssetSummary({})
@@ -2958,9 +3098,9 @@ it("tcss.v20201101.AddNetworkFirewallPolicyDetail", async function () {
2958
3098
  }
2959
3099
  })
2960
3100
 
2961
- it("tcss.v20201101.ModifyVulDefenceEventStatus", async function () {
3101
+ it("tcss.v20201101.DescribeK8sApiAbnormalEventInfo", async function () {
2962
3102
  try {
2963
- const data = await client.ModifyVulDefenceEventStatus({})
3103
+ const data = await client.DescribeK8sApiAbnormalEventInfo({})
2964
3104
  expect(data).to.be.ok
2965
3105
  } catch(error) {
2966
3106
  expect(error.requestId).to.be.ok
@@ -3098,6 +3238,16 @@ it("tcss.v20201101.DescribeVirusScanTaskStatus", async function () {
3098
3238
  }
3099
3239
  })
3100
3240
 
3241
+ it("tcss.v20201101.ModifyK8sApiAbnormalRuleStatus", async function () {
3242
+ try {
3243
+ const data = await client.ModifyK8sApiAbnormalRuleStatus({})
3244
+ expect(data).to.be.ok
3245
+ } catch(error) {
3246
+ expect(error.requestId).to.be.ok
3247
+ expect(error.code).to.be.ok
3248
+ }
3249
+ })
3250
+
3101
3251
  it("tcss.v20201101.DescribeSecEventsTendency", async function () {
3102
3252
  try {
3103
3253
  const data = await client.DescribeSecEventsTendency({})
@@ -3138,9 +3288,9 @@ it("tcss.v20201101.DeleteCompliancePolicyAssetSetFromWhitelist", async function
3138
3288
  }
3139
3289
  })
3140
3290
 
3141
- it("tcss.v20201101.DescribeVulDefenceSetting", async function () {
3291
+ it("tcss.v20201101.DescribeK8sApiAbnormalRuleList", async function () {
3142
3292
  try {
3143
- const data = await client.DescribeVulDefenceSetting({})
3293
+ const data = await client.DescribeK8sApiAbnormalRuleList({})
3144
3294
  expect(data).to.be.ok
3145
3295
  } catch(error) {
3146
3296
  expect(error.requestId).to.be.ok