tencentcloud-sdk-nodejs 4.0.249 → 4.0.253

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 (122) hide show
  1. package/CHANGELOG.md +941 -78
  2. package/package.json +1 -1
  3. package/products.md +35 -34
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/apigateway/v20180808/apigateway_models.ts +20 -0
  6. package/src/services/asr/v20190614/asr_client.ts +2 -2
  7. package/src/services/asr/v20190614/asr_models.ts +10 -2
  8. package/src/services/billing/v20180709/billing_models.ts +51 -20
  9. package/src/services/ccc/v20200210/ccc_client.ts +31 -15
  10. package/src/services/ccc/v20200210/ccc_models.ts +334 -179
  11. package/src/services/cdn/v20180606/cdn_client.ts +6 -4
  12. package/src/services/cdn/v20180606/cdn_models.ts +130 -39
  13. package/src/services/ckafka/v20190819/ckafka_client.ts +3 -2
  14. package/src/services/ckafka/v20190819/ckafka_models.ts +53 -38
  15. package/src/services/cls/v20201016/cls_models.ts +2 -0
  16. package/src/services/cpdp/v20190820/cpdp_client.ts +34 -9
  17. package/src/services/cpdp/v20190820/cpdp_models.ts +319 -159
  18. package/src/services/dcdb/v20180411/dcdb_models.ts +7 -7
  19. package/src/services/dnspod/v20210323/dnspod_client.ts +82 -69
  20. package/src/services/dnspod/v20210323/dnspod_models.ts +1178 -1133
  21. package/src/services/domain/v20180808/domain_models.ts +20 -0
  22. package/src/services/ecm/v20190719/ecm_models.ts +2 -2
  23. package/src/services/emr/v20190103/emr_models.ts +40 -4
  24. package/src/services/ft/v20200304/ft_models.ts +8 -2
  25. package/src/services/gs/v20191118/gs_models.ts +3 -3
  26. package/src/services/index.ts +1 -0
  27. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +38 -13
  28. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +113 -21
  29. package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -2
  30. package/src/services/mongodb/v20190725/mongodb_models.ts +5 -0
  31. package/src/services/oceanus/v20190422/oceanus_models.ts +22 -0
  32. package/src/services/postgres/v20170312/postgres_models.ts +5 -5
  33. package/src/services/redis/v20180412/redis_models.ts +4 -3
  34. package/src/services/rum/v20210622/rum_client.ts +27 -3
  35. package/src/services/rum/v20210622/rum_models.ts +270 -25
  36. package/src/services/scf/v20180416/scf_client.ts +13 -0
  37. package/src/services/scf/v20180416/scf_models.ts +81 -27
  38. package/src/services/ssl/v20191205/ssl_models.ts +1 -1
  39. package/src/services/tat/v20201028/tat_client.ts +16 -1
  40. package/src/services/tat/v20201028/tat_models.ts +31 -4
  41. package/src/services/tcb/v20180608/tcb_models.ts +6 -1
  42. package/src/services/tcss/index.ts +5 -0
  43. package/src/services/tcss/v20201101/index.ts +6 -0
  44. package/src/services/tcss/v20201101/tcss_client.ts +2106 -0
  45. package/src/services/tcss/v20201101/tcss_models.ts +11427 -0
  46. package/src/services/tem/v20210701/tem_client.ts +12 -0
  47. package/src/services/tem/v20210701/tem_models.ts +35 -0
  48. package/src/services/tke/v20180525/tke_models.ts +6 -0
  49. package/src/services/vod/v20180717/vod_client.ts +5 -3
  50. package/src/services/vod/v20180717/vod_models.ts +245 -30
  51. package/tencentcloud/common/sdk_version.d.ts +1 -1
  52. package/tencentcloud/common/sdk_version.js +1 -1
  53. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +16 -0
  54. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +2 -2
  55. package/tencentcloud/services/asr/v20190614/asr_client.js +2 -2
  56. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +9 -2
  57. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +50 -19
  58. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +9 -5
  59. package/tencentcloud/services/ccc/v20200210/ccc_client.js +12 -6
  60. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +283 -153
  61. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
  62. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +113 -35
  63. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
  64. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +46 -33
  65. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -0
  66. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +11 -3
  67. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +15 -3
  68. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +271 -136
  69. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +7 -7
  70. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +9 -5
  71. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +12 -6
  72. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +1048 -1009
  73. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +16 -0
  74. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +2 -2
  75. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +34 -4
  76. package/tencentcloud/services/ft/v20200304/ft_models.d.ts +7 -2
  77. package/tencentcloud/services/gs/v20191118/gs_models.d.ts +3 -3
  78. package/tencentcloud/services/index.d.ts +1 -0
  79. package/tencentcloud/services/index.js +2 -0
  80. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +13 -5
  81. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +18 -6
  82. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +97 -18
  83. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -2
  84. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +4 -0
  85. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +18 -0
  86. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +5 -5
  87. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +3 -2
  88. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +9 -1
  89. package/tencentcloud/services/rum/v20210622/rum_client.js +12 -0
  90. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +225 -25
  91. package/tencentcloud/services/scf/v20180416/scf_client.d.ts +5 -1
  92. package/tencentcloud/services/scf/v20180416/scf_client.js +6 -0
  93. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +73 -26
  94. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +1 -1
  95. package/tencentcloud/services/tat/v20201028/tat_client.d.ts +8 -1
  96. package/tencentcloud/services/tat/v20201028/tat_client.js +9 -0
  97. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +28 -4
  98. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +5 -1
  99. package/tencentcloud/services/tcss/index.d.ts +6 -0
  100. package/tencentcloud/services/tcss/index.js +7 -0
  101. package/tencentcloud/services/tcss/v20201101/index.d.ts +6 -0
  102. package/tencentcloud/services/tcss/v20201101/index.js +9 -0
  103. package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +674 -0
  104. package/tencentcloud/services/tcss/v20201101/tcss_client.js +1027 -0
  105. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +9642 -0
  106. package/tencentcloud/services/tcss/v20201101/tcss_models.js +18 -0
  107. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +5 -1
  108. package/tencentcloud/services/tem/v20210701/tem_client.js +6 -0
  109. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +30 -0
  110. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -0
  111. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +4 -3
  112. package/tencentcloud/services/vod/v20180717/vod_client.js +4 -3
  113. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +177 -0
  114. package/test/ccc.v20200210.test.js +14 -4
  115. package/test/cpdp.v20190820.test.js +22 -2
  116. package/test/dnspod.v20210323.test.js +14 -4
  117. package/test/iotexplorer.v20190423.test.js +24 -4
  118. package/test/rum.v20210622.test.js +20 -0
  119. package/test/scf.v20180416.test.js +10 -0
  120. package/test/tat.v20201028.test.js +10 -0
  121. package/test/tcss.v20201101.test.js +1681 -0
  122. package/test/tem.v20210701.test.js +10 -0
@@ -0,0 +1,1681 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.tcss.v20201101.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("tcss.v20201101.test.js", function () {
20
+
21
+ it("tcss.v20201101.DescribeImageAuthorizedInfo", async function () {
22
+ try {
23
+ const data = await client.DescribeImageAuthorizedInfo({})
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("tcss.v20201101.DescribeAbnormalProcessEventsExport", async function () {
32
+ try {
33
+ const data = await client.DescribeAbnormalProcessEventsExport({})
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("tcss.v20201101.DescribeVirusScanTimeoutSetting", async function () {
42
+ try {
43
+ const data = await client.DescribeVirusScanTimeoutSetting({})
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("tcss.v20201101.DescribeVirusSummary", async function () {
52
+ try {
53
+ const data = await client.DescribeVirusSummary({})
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("tcss.v20201101.DescribeAssetHostList", async function () {
62
+ try {
63
+ const data = await client.DescribeAssetHostList({})
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("tcss.v20201101.ScanComplianceScanFailedAssets", async function () {
72
+ try {
73
+ const data = await client.ScanComplianceScanFailedAssets({})
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("tcss.v20201101.ModifyAccessControlRuleStatus", async function () {
82
+ try {
83
+ const data = await client.ModifyAccessControlRuleStatus({})
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("tcss.v20201101.DescribeAbnormalProcessRulesExport", async function () {
92
+ try {
93
+ const data = await client.DescribeAbnormalProcessRulesExport({})
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("tcss.v20201101.ModifyEscapeEventStatus", async function () {
102
+ try {
103
+ const data = await client.ModifyEscapeEventStatus({})
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("tcss.v20201101.DescribeImageRegistryTimingScanTask", async function () {
112
+ try {
113
+ const data = await client.DescribeImageRegistryTimingScanTask({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
121
+ it("tcss.v20201101.DescribeAssetAppServiceList", async function () {
122
+ try {
123
+ const data = await client.DescribeAssetAppServiceList({})
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
+
131
+ it("tcss.v20201101.DescribeAssetContainerList", async function () {
132
+ try {
133
+ const data = await client.DescribeAssetContainerList({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
141
+ it("tcss.v20201101.RemoveAssetImageRegistryRegistryDetail", async function () {
142
+ try {
143
+ const data = await client.RemoveAssetImageRegistryRegistryDetail({})
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
+
151
+ it("tcss.v20201101.CreateRefreshTask", async function () {
152
+ try {
153
+ const data = await client.CreateRefreshTask({})
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
+
161
+ it("tcss.v20201101.DescribeReverseShellWhiteLists", async function () {
162
+ try {
163
+ const data = await client.DescribeReverseShellWhiteLists({})
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
+
171
+ it("tcss.v20201101.DescribeAffectedWorkloadList", async function () {
172
+ try {
173
+ const data = await client.DescribeAffectedWorkloadList({})
174
+ expect(data).to.be.ok
175
+ } catch(error) {
176
+ expect(error.requestId).to.be.ok
177
+ expect(error.code).to.be.ok
178
+ }
179
+ })
180
+
181
+ it("tcss.v20201101.DescribeAssetComponentList", async function () {
182
+ try {
183
+ const data = await client.DescribeAssetComponentList({})
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("tcss.v20201101.DescribeAssetImageScanStatus", async function () {
192
+ try {
193
+ const data = await client.DescribeAssetImageScanStatus({})
194
+ expect(data).to.be.ok
195
+ } catch(error) {
196
+ expect(error.requestId).to.be.ok
197
+ expect(error.code).to.be.ok
198
+ }
199
+ })
200
+
201
+ it("tcss.v20201101.DescribeVirusMonitorSetting", async function () {
202
+ try {
203
+ const data = await client.DescribeVirusMonitorSetting({})
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
+
211
+ it("tcss.v20201101.ModifyVirusScanTimeoutSetting", async function () {
212
+ try {
213
+ const data = await client.ModifyVirusScanTimeoutSetting({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
221
+ it("tcss.v20201101.CreateClusterCheckTask", async function () {
222
+ try {
223
+ const data = await client.CreateClusterCheckTask({})
224
+ expect(data).to.be.ok
225
+ } catch(error) {
226
+ expect(error.requestId).to.be.ok
227
+ expect(error.code).to.be.ok
228
+ }
229
+ })
230
+
231
+ it("tcss.v20201101.DescribeAccessControlEvents", async function () {
232
+ try {
233
+ const data = await client.DescribeAccessControlEvents({})
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
+
241
+ it("tcss.v20201101.ModifyVirusScanSetting", async function () {
242
+ try {
243
+ const data = await client.ModifyVirusScanSetting({})
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
+
251
+ it("tcss.v20201101.DescribeAssetImageRegistryVirusListExport", async function () {
252
+ try {
253
+ const data = await client.DescribeAssetImageRegistryVirusListExport({})
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
+
261
+ it("tcss.v20201101.DescribeAffectedClusterCount", async function () {
262
+ try {
263
+ const data = await client.DescribeAffectedClusterCount({})
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
+
271
+ it("tcss.v20201101.ModifyRiskSyscallStatus", async function () {
272
+ try {
273
+ const data = await client.ModifyRiskSyscallStatus({})
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
+
281
+ it("tcss.v20201101.DescribeEscapeEventInfo", async function () {
282
+ try {
283
+ const data = await client.DescribeEscapeEventInfo({})
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
+
291
+ it("tcss.v20201101.DescribeAssetImageRegistryAssetStatus", async function () {
292
+ try {
293
+ const data = await client.DescribeAssetImageRegistryAssetStatus({})
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("tcss.v20201101.DescribeAssetImageRegistryRegistryList", async function () {
302
+ try {
303
+ const data = await client.DescribeAssetImageRegistryRegistryList({})
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
+ it("tcss.v20201101.ModifyAssetImageRegistryScanStop", async function () {
312
+ try {
313
+ const data = await client.ModifyAssetImageRegistryScanStop({})
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
+
321
+ it("tcss.v20201101.DescribeClusterDetail", async function () {
322
+ try {
323
+ const data = await client.DescribeClusterDetail({})
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
+
331
+ it("tcss.v20201101.DescribeAssetImageRegistryVirusList", async function () {
332
+ try {
333
+ const data = await client.DescribeAssetImageRegistryVirusList({})
334
+ expect(data).to.be.ok
335
+ } catch(error) {
336
+ expect(error.requestId).to.be.ok
337
+ expect(error.code).to.be.ok
338
+ }
339
+ })
340
+
341
+ it("tcss.v20201101.UpdateImageRegistryTimingScanTask", async function () {
342
+ try {
343
+ const data = await client.UpdateImageRegistryTimingScanTask({})
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
+
351
+ it("tcss.v20201101.CreateAssetImageRegistryScanTaskOneKey", async function () {
352
+ try {
353
+ const data = await client.CreateAssetImageRegistryScanTaskOneKey({})
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
+
361
+ it("tcss.v20201101.ModifyAssetImageScanStop", async function () {
362
+ try {
363
+ const data = await client.ModifyAssetImageScanStop({})
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
+
371
+ it("tcss.v20201101.DescribeEscapeEventsExport", async function () {
372
+ try {
373
+ const data = await client.DescribeEscapeEventsExport({})
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
+
381
+ it("tcss.v20201101.DescribeAssetImageListExport", async function () {
382
+ try {
383
+ const data = await client.DescribeAssetImageListExport({})
384
+ expect(data).to.be.ok
385
+ } catch(error) {
386
+ expect(error.requestId).to.be.ok
387
+ expect(error.code).to.be.ok
388
+ }
389
+ })
390
+
391
+ it("tcss.v20201101.DescribeAssetImageScanSetting", async function () {
392
+ try {
393
+ const data = await client.DescribeAssetImageScanSetting({})
394
+ expect(data).to.be.ok
395
+ } catch(error) {
396
+ expect(error.requestId).to.be.ok
397
+ expect(error.code).to.be.ok
398
+ }
399
+ })
400
+
401
+ it("tcss.v20201101.CreateCheckComponent", async function () {
402
+ try {
403
+ const data = await client.CreateCheckComponent({})
404
+ expect(data).to.be.ok
405
+ } catch(error) {
406
+ expect(error.requestId).to.be.ok
407
+ expect(error.code).to.be.ok
408
+ }
409
+ })
410
+
411
+ it("tcss.v20201101.DescribeRiskSyscallNames", async function () {
412
+ try {
413
+ const data = await client.DescribeRiskSyscallNames({})
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
+
421
+ it("tcss.v20201101.DescribeCompliancePeriodTaskList", async function () {
422
+ try {
423
+ const data = await client.DescribeCompliancePeriodTaskList({})
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
+
431
+ it("tcss.v20201101.DeleteAccessControlRules", async function () {
432
+ try {
433
+ const data = await client.DeleteAccessControlRules({})
434
+ expect(data).to.be.ok
435
+ } catch(error) {
436
+ expect(error.requestId).to.be.ok
437
+ expect(error.code).to.be.ok
438
+ }
439
+ })
440
+
441
+ it("tcss.v20201101.DescribePurchaseStateInfo", async function () {
442
+ try {
443
+ const data = await client.DescribePurchaseStateInfo({})
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
+
451
+ it("tcss.v20201101.DescribeRiskSyscallWhiteListDetail", async function () {
452
+ try {
453
+ const data = await client.DescribeRiskSyscallWhiteListDetail({})
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
+
461
+ it("tcss.v20201101.DescribeAssetImageRegistryDetail", async function () {
462
+ try {
463
+ const data = await client.DescribeAssetImageRegistryDetail({})
464
+ expect(data).to.be.ok
465
+ } catch(error) {
466
+ expect(error.requestId).to.be.ok
467
+ expect(error.code).to.be.ok
468
+ }
469
+ })
470
+
471
+ it("tcss.v20201101.DescribeRiskSyscallEventsExport", async function () {
472
+ try {
473
+ const data = await client.DescribeRiskSyscallEventsExport({})
474
+ expect(data).to.be.ok
475
+ } catch(error) {
476
+ expect(error.requestId).to.be.ok
477
+ expect(error.code).to.be.ok
478
+ }
479
+ })
480
+
481
+ it("tcss.v20201101.DescribeAbnormalProcessRuleDetail", async function () {
482
+ try {
483
+ const data = await client.DescribeAbnormalProcessRuleDetail({})
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
+
491
+ it("tcss.v20201101.DescribeAssetImageRegistryRegistryDetail", async function () {
492
+ try {
493
+ const data = await client.DescribeAssetImageRegistryRegistryDetail({})
494
+ expect(data).to.be.ok
495
+ } catch(error) {
496
+ expect(error.requestId).to.be.ok
497
+ expect(error.code).to.be.ok
498
+ }
499
+ })
500
+
501
+ it("tcss.v20201101.DescribeValueAddedSrvInfo", async function () {
502
+ try {
503
+ const data = await client.DescribeValueAddedSrvInfo({})
504
+ expect(data).to.be.ok
505
+ } catch(error) {
506
+ expect(error.requestId).to.be.ok
507
+ expect(error.code).to.be.ok
508
+ }
509
+ })
510
+
511
+ it("tcss.v20201101.AddEditReverseShellWhiteList", async function () {
512
+ try {
513
+ const data = await client.AddEditReverseShellWhiteList({})
514
+ expect(data).to.be.ok
515
+ } catch(error) {
516
+ expect(error.requestId).to.be.ok
517
+ expect(error.code).to.be.ok
518
+ }
519
+ })
520
+
521
+ it("tcss.v20201101.DescribeReverseShellDetail", async function () {
522
+ try {
523
+ const data = await client.DescribeReverseShellDetail({})
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
+
531
+ it("tcss.v20201101.DescribeAssetImageBindRuleInfo", async function () {
532
+ try {
533
+ const data = await client.DescribeAssetImageBindRuleInfo({})
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
+
541
+ it("tcss.v20201101.DescribeRiskSyscallDetail", async function () {
542
+ try {
543
+ const data = await client.DescribeRiskSyscallDetail({})
544
+ expect(data).to.be.ok
545
+ } catch(error) {
546
+ expect(error.requestId).to.be.ok
547
+ expect(error.code).to.be.ok
548
+ }
549
+ })
550
+
551
+ it("tcss.v20201101.DescribeRefreshTask", async function () {
552
+ try {
553
+ const data = await client.DescribeRefreshTask({})
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
+
561
+ it("tcss.v20201101.DescribeTaskResultSummary", async function () {
562
+ try {
563
+ const data = await client.DescribeTaskResultSummary({})
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
+
571
+ it("tcss.v20201101.DescribeAssetContainerDetail", async function () {
572
+ try {
573
+ const data = await client.DescribeAssetContainerDetail({})
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
+
581
+ it("tcss.v20201101.DescribeAssetImageRegistryRiskInfoList", async function () {
582
+ try {
583
+ const data = await client.DescribeAssetImageRegistryRiskInfoList({})
584
+ expect(data).to.be.ok
585
+ } catch(error) {
586
+ expect(error.requestId).to.be.ok
587
+ expect(error.code).to.be.ok
588
+ }
589
+ })
590
+
591
+ it("tcss.v20201101.ModifyEscapeRule", async function () {
592
+ try {
593
+ const data = await client.ModifyEscapeRule({})
594
+ expect(data).to.be.ok
595
+ } catch(error) {
596
+ expect(error.requestId).to.be.ok
597
+ expect(error.code).to.be.ok
598
+ }
599
+ })
600
+
601
+ it("tcss.v20201101.DescribeCompliancePolicyItemAffectedSummary", async function () {
602
+ try {
603
+ const data = await client.DescribeCompliancePolicyItemAffectedSummary({})
604
+ expect(data).to.be.ok
605
+ } catch(error) {
606
+ expect(error.requestId).to.be.ok
607
+ expect(error.code).to.be.ok
608
+ }
609
+ })
610
+
611
+ it("tcss.v20201101.DescribeContainerAssetSummary", async function () {
612
+ try {
613
+ const data = await client.DescribeContainerAssetSummary({})
614
+ expect(data).to.be.ok
615
+ } catch(error) {
616
+ expect(error.requestId).to.be.ok
617
+ expect(error.code).to.be.ok
618
+ }
619
+ })
620
+
621
+ it("tcss.v20201101.DescribeReverseShellEventsExport", async function () {
622
+ try {
623
+ const data = await client.DescribeReverseShellEventsExport({})
624
+ expect(data).to.be.ok
625
+ } catch(error) {
626
+ expect(error.requestId).to.be.ok
627
+ expect(error.code).to.be.ok
628
+ }
629
+ })
630
+
631
+ it("tcss.v20201101.ModifyAbnormalProcessRuleStatus", async function () {
632
+ try {
633
+ const data = await client.ModifyAbnormalProcessRuleStatus({})
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
+
641
+ it("tcss.v20201101.DescribeImageRiskTendency", async function () {
642
+ try {
643
+ const data = await client.DescribeImageRiskTendency({})
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
+
651
+ it("tcss.v20201101.DescribeExportJobResult", async function () {
652
+ try {
653
+ const data = await client.DescribeExportJobResult({})
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
+
661
+ it("tcss.v20201101.CreateAssetImageScanTask", async function () {
662
+ try {
663
+ const data = await client.CreateAssetImageScanTask({})
664
+ expect(data).to.be.ok
665
+ } catch(error) {
666
+ expect(error.requestId).to.be.ok
667
+ expect(error.code).to.be.ok
668
+ }
669
+ })
670
+
671
+ it("tcss.v20201101.DescribeAssetImageScanTask", async function () {
672
+ try {
673
+ const data = await client.DescribeAssetImageScanTask({})
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
+
681
+ it("tcss.v20201101.DescribeAssetImageRegistryListExport", async function () {
682
+ try {
683
+ const data = await client.DescribeAssetImageRegistryListExport({})
684
+ expect(data).to.be.ok
685
+ } catch(error) {
686
+ expect(error.requestId).to.be.ok
687
+ expect(error.code).to.be.ok
688
+ }
689
+ })
690
+
691
+ it("tcss.v20201101.DescribeComplianceTaskAssetSummary", async function () {
692
+ try {
693
+ const data = await client.DescribeComplianceTaskAssetSummary({})
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
+
701
+ it("tcss.v20201101.DescribeAccessControlRules", async function () {
702
+ try {
703
+ const data = await client.DescribeAccessControlRules({})
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
+
711
+ it("tcss.v20201101.DescribeAssetImageVirusListExport", async function () {
712
+ try {
713
+ const data = await client.DescribeAssetImageVirusListExport({})
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
+
721
+ it("tcss.v20201101.ModifyVirusMonitorSetting", async function () {
722
+ try {
723
+ const data = await client.ModifyVirusMonitorSetting({})
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
+
731
+ it("tcss.v20201101.DescribePostPayDetail", async function () {
732
+ try {
733
+ const data = await client.DescribePostPayDetail({})
734
+ expect(data).to.be.ok
735
+ } catch(error) {
736
+ expect(error.requestId).to.be.ok
737
+ expect(error.code).to.be.ok
738
+ }
739
+ })
740
+
741
+ it("tcss.v20201101.ScanComplianceAssets", async function () {
742
+ try {
743
+ const data = await client.ScanComplianceAssets({})
744
+ expect(data).to.be.ok
745
+ } catch(error) {
746
+ expect(error.requestId).to.be.ok
747
+ expect(error.code).to.be.ok
748
+ }
749
+ })
750
+
751
+ it("tcss.v20201101.StopVirusScanTask", async function () {
752
+ try {
753
+ const data = await client.StopVirusScanTask({})
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
+
761
+ it("tcss.v20201101.DescribeCheckItemList", async function () {
762
+ try {
763
+ const data = await client.DescribeCheckItemList({})
764
+ expect(data).to.be.ok
765
+ } catch(error) {
766
+ expect(error.requestId).to.be.ok
767
+ expect(error.code).to.be.ok
768
+ }
769
+ })
770
+
771
+ it("tcss.v20201101.DescribeVirusDetail", async function () {
772
+ try {
773
+ const data = await client.DescribeVirusDetail({})
774
+ expect(data).to.be.ok
775
+ } catch(error) {
776
+ expect(error.requestId).to.be.ok
777
+ expect(error.code).to.be.ok
778
+ }
779
+ })
780
+
781
+ it("tcss.v20201101.DescribeComplianceWhitelistItemList", async function () {
782
+ try {
783
+ const data = await client.DescribeComplianceWhitelistItemList({})
784
+ expect(data).to.be.ok
785
+ } catch(error) {
786
+ expect(error.requestId).to.be.ok
787
+ expect(error.code).to.be.ok
788
+ }
789
+ })
790
+
791
+ it("tcss.v20201101.CreateComplianceTask", async function () {
792
+ try {
793
+ const data = await client.CreateComplianceTask({})
794
+ expect(data).to.be.ok
795
+ } catch(error) {
796
+ expect(error.requestId).to.be.ok
797
+ expect(error.code).to.be.ok
798
+ }
799
+ })
800
+
801
+ it("tcss.v20201101.DescribeComplianceScanFailedAssetList", async function () {
802
+ try {
803
+ const data = await client.DescribeComplianceScanFailedAssetList({})
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
+
811
+ it("tcss.v20201101.DescribeAssetPortList", async function () {
812
+ try {
813
+ const data = await client.DescribeAssetPortList({})
814
+ expect(data).to.be.ok
815
+ } catch(error) {
816
+ expect(error.requestId).to.be.ok
817
+ expect(error.code).to.be.ok
818
+ }
819
+ })
820
+
821
+ it("tcss.v20201101.DescribeAssetImageRegistryVulListExport", async function () {
822
+ try {
823
+ const data = await client.DescribeAssetImageRegistryVulListExport({})
824
+ expect(data).to.be.ok
825
+ } catch(error) {
826
+ expect(error.requestId).to.be.ok
827
+ expect(error.code).to.be.ok
828
+ }
829
+ })
830
+
831
+ it("tcss.v20201101.DeleteAbnormalProcessRules", async function () {
832
+ try {
833
+ const data = await client.DeleteAbnormalProcessRules({})
834
+ expect(data).to.be.ok
835
+ } catch(error) {
836
+ expect(error.requestId).to.be.ok
837
+ expect(error.code).to.be.ok
838
+ }
839
+ })
840
+
841
+ it("tcss.v20201101.DescribeAssetImageRegistryRiskListExport", async function () {
842
+ try {
843
+ const data = await client.DescribeAssetImageRegistryRiskListExport({})
844
+ expect(data).to.be.ok
845
+ } catch(error) {
846
+ expect(error.requestId).to.be.ok
847
+ expect(error.code).to.be.ok
848
+ }
849
+ })
850
+
851
+ it("tcss.v20201101.CreateVirusScanTask", async function () {
852
+ try {
853
+ const data = await client.CreateVirusScanTask({})
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
+
861
+ it("tcss.v20201101.DescribeEscapeEventDetail", async function () {
862
+ try {
863
+ const data = await client.DescribeEscapeEventDetail({})
864
+ expect(data).to.be.ok
865
+ } catch(error) {
866
+ expect(error.requestId).to.be.ok
867
+ expect(error.code).to.be.ok
868
+ }
869
+ })
870
+
871
+ it("tcss.v20201101.DeleteReverseShellWhiteLists", async function () {
872
+ try {
873
+ const data = await client.DeleteReverseShellWhiteLists({})
874
+ expect(data).to.be.ok
875
+ } catch(error) {
876
+ expect(error.requestId).to.be.ok
877
+ expect(error.code).to.be.ok
878
+ }
879
+ })
880
+
881
+ it("tcss.v20201101.DescribeComplianceAssetDetailInfo", async function () {
882
+ try {
883
+ const data = await client.DescribeComplianceAssetDetailInfo({})
884
+ expect(data).to.be.ok
885
+ } catch(error) {
886
+ expect(error.requestId).to.be.ok
887
+ expect(error.code).to.be.ok
888
+ }
889
+ })
890
+
891
+ it("tcss.v20201101.DescribeWarningRules", async function () {
892
+ try {
893
+ const data = await client.DescribeWarningRules({})
894
+ expect(data).to.be.ok
895
+ } catch(error) {
896
+ expect(error.requestId).to.be.ok
897
+ expect(error.code).to.be.ok
898
+ }
899
+ })
900
+
901
+ it("tcss.v20201101.ModifyAbnormalProcessStatus", async function () {
902
+ try {
903
+ const data = await client.ModifyAbnormalProcessStatus({})
904
+ expect(data).to.be.ok
905
+ } catch(error) {
906
+ expect(error.requestId).to.be.ok
907
+ expect(error.code).to.be.ok
908
+ }
909
+ })
910
+
911
+ it("tcss.v20201101.CreateExportComplianceStatusListJob", async function () {
912
+ try {
913
+ const data = await client.CreateExportComplianceStatusListJob({})
914
+ expect(data).to.be.ok
915
+ } catch(error) {
916
+ expect(error.requestId).to.be.ok
917
+ expect(error.code).to.be.ok
918
+ }
919
+ })
920
+
921
+ it("tcss.v20201101.DescribeAssetImageSimpleList", async function () {
922
+ try {
923
+ const data = await client.DescribeAssetImageSimpleList({})
924
+ expect(data).to.be.ok
925
+ } catch(error) {
926
+ expect(error.requestId).to.be.ok
927
+ expect(error.code).to.be.ok
928
+ }
929
+ })
930
+
931
+ it("tcss.v20201101.DescribeImageSimpleList", async function () {
932
+ try {
933
+ const data = await client.DescribeImageSimpleList({})
934
+ expect(data).to.be.ok
935
+ } catch(error) {
936
+ expect(error.requestId).to.be.ok
937
+ expect(error.code).to.be.ok
938
+ }
939
+ })
940
+
941
+ it("tcss.v20201101.ModifyAccessControlStatus", async function () {
942
+ try {
943
+ const data = await client.ModifyAccessControlStatus({})
944
+ expect(data).to.be.ok
945
+ } catch(error) {
946
+ expect(error.requestId).to.be.ok
947
+ expect(error.code).to.be.ok
948
+ }
949
+ })
950
+
951
+ it("tcss.v20201101.DescribeEscapeRuleInfo", async function () {
952
+ try {
953
+ const data = await client.DescribeEscapeRuleInfo({})
954
+ expect(data).to.be.ok
955
+ } catch(error) {
956
+ expect(error.requestId).to.be.ok
957
+ expect(error.code).to.be.ok
958
+ }
959
+ })
960
+
961
+ it("tcss.v20201101.DescribeAssetImageRiskList", async function () {
962
+ try {
963
+ const data = await client.DescribeAssetImageRiskList({})
964
+ expect(data).to.be.ok
965
+ } catch(error) {
966
+ expect(error.requestId).to.be.ok
967
+ expect(error.code).to.be.ok
968
+ }
969
+ })
970
+
971
+ it("tcss.v20201101.DescribeAssetImageVulListExport", async function () {
972
+ try {
973
+ const data = await client.DescribeAssetImageVulListExport({})
974
+ expect(data).to.be.ok
975
+ } catch(error) {
976
+ expect(error.requestId).to.be.ok
977
+ expect(error.code).to.be.ok
978
+ }
979
+ })
980
+
981
+ it("tcss.v20201101.DescribeClusterSummary", async function () {
982
+ try {
983
+ const data = await client.DescribeClusterSummary({})
984
+ expect(data).to.be.ok
985
+ } catch(error) {
986
+ expect(error.requestId).to.be.ok
987
+ expect(error.code).to.be.ok
988
+ }
989
+ })
990
+
991
+ it("tcss.v20201101.DescribeEscapeSafeState", async function () {
992
+ try {
993
+ const data = await client.DescribeEscapeSafeState({})
994
+ expect(data).to.be.ok
995
+ } catch(error) {
996
+ expect(error.requestId).to.be.ok
997
+ expect(error.code).to.be.ok
998
+ }
999
+ })
1000
+
1001
+ it("tcss.v20201101.DescribeVirusTaskList", async function () {
1002
+ try {
1003
+ const data = await client.DescribeVirusTaskList({})
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
+
1011
+ it("tcss.v20201101.AddAssetImageRegistryRegistryDetail", async function () {
1012
+ try {
1013
+ const data = await client.AddAssetImageRegistryRegistryDetail({})
1014
+ expect(data).to.be.ok
1015
+ } catch(error) {
1016
+ expect(error.requestId).to.be.ok
1017
+ expect(error.code).to.be.ok
1018
+ }
1019
+ })
1020
+
1021
+ it("tcss.v20201101.DescribeVirusList", async function () {
1022
+ try {
1023
+ const data = await client.DescribeVirusList({})
1024
+ expect(data).to.be.ok
1025
+ } catch(error) {
1026
+ expect(error.requestId).to.be.ok
1027
+ expect(error.code).to.be.ok
1028
+ }
1029
+ })
1030
+
1031
+ it("tcss.v20201101.SyncAssetImageRegistryAsset", async function () {
1032
+ try {
1033
+ const data = await client.SyncAssetImageRegistryAsset({})
1034
+ expect(data).to.be.ok
1035
+ } catch(error) {
1036
+ expect(error.requestId).to.be.ok
1037
+ expect(error.code).to.be.ok
1038
+ }
1039
+ })
1040
+
1041
+ it("tcss.v20201101.DescribeImageRiskSummary", async function () {
1042
+ try {
1043
+ const data = await client.DescribeImageRiskSummary({})
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
+
1051
+ it("tcss.v20201101.ScanCompliancePolicyItems", async function () {
1052
+ try {
1053
+ const data = await client.ScanCompliancePolicyItems({})
1054
+ expect(data).to.be.ok
1055
+ } catch(error) {
1056
+ expect(error.requestId).to.be.ok
1057
+ expect(error.code).to.be.ok
1058
+ }
1059
+ })
1060
+
1061
+ it("tcss.v20201101.CreateVirusScanAgain", async function () {
1062
+ try {
1063
+ const data = await client.CreateVirusScanAgain({})
1064
+ expect(data).to.be.ok
1065
+ } catch(error) {
1066
+ expect(error.requestId).to.be.ok
1067
+ expect(error.code).to.be.ok
1068
+ }
1069
+ })
1070
+
1071
+ it("tcss.v20201101.DescribeContainerSecEventSummary", async function () {
1072
+ try {
1073
+ const data = await client.DescribeContainerSecEventSummary({})
1074
+ expect(data).to.be.ok
1075
+ } catch(error) {
1076
+ expect(error.requestId).to.be.ok
1077
+ expect(error.code).to.be.ok
1078
+ }
1079
+ })
1080
+
1081
+ it("tcss.v20201101.DescribeComplianceTaskPolicyItemSummaryList", async function () {
1082
+ try {
1083
+ const data = await client.DescribeComplianceTaskPolicyItemSummaryList({})
1084
+ expect(data).to.be.ok
1085
+ } catch(error) {
1086
+ expect(error.requestId).to.be.ok
1087
+ expect(error.code).to.be.ok
1088
+ }
1089
+ })
1090
+
1091
+ it("tcss.v20201101.DescribeAssetImageList", async function () {
1092
+ try {
1093
+ const data = await client.DescribeAssetImageList({})
1094
+ expect(data).to.be.ok
1095
+ } catch(error) {
1096
+ expect(error.requestId).to.be.ok
1097
+ expect(error.code).to.be.ok
1098
+ }
1099
+ })
1100
+
1101
+ it("tcss.v20201101.DescribeReverseShellEvents", async function () {
1102
+ try {
1103
+ const data = await client.DescribeReverseShellEvents({})
1104
+ expect(data).to.be.ok
1105
+ } catch(error) {
1106
+ expect(error.requestId).to.be.ok
1107
+ expect(error.code).to.be.ok
1108
+ }
1109
+ })
1110
+
1111
+ it("tcss.v20201101.ModifyVirusFileStatus", async function () {
1112
+ try {
1113
+ const data = await client.ModifyVirusFileStatus({})
1114
+ expect(data).to.be.ok
1115
+ } catch(error) {
1116
+ expect(error.requestId).to.be.ok
1117
+ expect(error.code).to.be.ok
1118
+ }
1119
+ })
1120
+
1121
+ it("tcss.v20201101.CreateAssetImageRegistryScanTask", async function () {
1122
+ try {
1123
+ const data = await client.CreateAssetImageRegistryScanTask({})
1124
+ expect(data).to.be.ok
1125
+ } catch(error) {
1126
+ expect(error.requestId).to.be.ok
1127
+ expect(error.code).to.be.ok
1128
+ }
1129
+ })
1130
+
1131
+ it("tcss.v20201101.DescribeUnfinishRefreshTask", async function () {
1132
+ try {
1133
+ const data = await client.DescribeUnfinishRefreshTask({})
1134
+ expect(data).to.be.ok
1135
+ } catch(error) {
1136
+ expect(error.requestId).to.be.ok
1137
+ expect(error.code).to.be.ok
1138
+ }
1139
+ })
1140
+
1141
+ it("tcss.v20201101.AddEditRiskSyscallWhiteList", async function () {
1142
+ try {
1143
+ const data = await client.AddEditRiskSyscallWhiteList({})
1144
+ expect(data).to.be.ok
1145
+ } catch(error) {
1146
+ expect(error.requestId).to.be.ok
1147
+ expect(error.code).to.be.ok
1148
+ }
1149
+ })
1150
+
1151
+ it("tcss.v20201101.DescribeAssetImageRegistryScanStatusOneKey", async function () {
1152
+ try {
1153
+ const data = await client.DescribeAssetImageRegistryScanStatusOneKey({})
1154
+ expect(data).to.be.ok
1155
+ } catch(error) {
1156
+ expect(error.requestId).to.be.ok
1157
+ expect(error.code).to.be.ok
1158
+ }
1159
+ })
1160
+
1161
+ it("tcss.v20201101.DescribeAccessControlDetail", async function () {
1162
+ try {
1163
+ const data = await client.DescribeAccessControlDetail({})
1164
+ expect(data).to.be.ok
1165
+ } catch(error) {
1166
+ expect(error.requestId).to.be.ok
1167
+ expect(error.code).to.be.ok
1168
+ }
1169
+ })
1170
+
1171
+ it("tcss.v20201101.DescribeAssetImageRegistryList", async function () {
1172
+ try {
1173
+ const data = await client.DescribeAssetImageRegistryList({})
1174
+ expect(data).to.be.ok
1175
+ } catch(error) {
1176
+ expect(error.requestId).to.be.ok
1177
+ expect(error.code).to.be.ok
1178
+ }
1179
+ })
1180
+
1181
+ it("tcss.v20201101.DescribeAssetProcessList", async function () {
1182
+ try {
1183
+ const data = await client.DescribeAssetProcessList({})
1184
+ expect(data).to.be.ok
1185
+ } catch(error) {
1186
+ expect(error.requestId).to.be.ok
1187
+ expect(error.code).to.be.ok
1188
+ }
1189
+ })
1190
+
1191
+ it("tcss.v20201101.DescribeAbnormalProcessEvents", async function () {
1192
+ try {
1193
+ const data = await client.DescribeAbnormalProcessEvents({})
1194
+ expect(data).to.be.ok
1195
+ } catch(error) {
1196
+ expect(error.requestId).to.be.ok
1197
+ expect(error.code).to.be.ok
1198
+ }
1199
+ })
1200
+
1201
+ it("tcss.v20201101.UpdateAssetImageRegistryRegistryDetail", async function () {
1202
+ try {
1203
+ const data = await client.UpdateAssetImageRegistryRegistryDetail({})
1204
+ expect(data).to.be.ok
1205
+ } catch(error) {
1206
+ expect(error.requestId).to.be.ok
1207
+ expect(error.code).to.be.ok
1208
+ }
1209
+ })
1210
+
1211
+ it("tcss.v20201101.DescribeProVersionInfo", async function () {
1212
+ try {
1213
+ const data = await client.DescribeProVersionInfo({})
1214
+ expect(data).to.be.ok
1215
+ } catch(error) {
1216
+ expect(error.requestId).to.be.ok
1217
+ expect(error.code).to.be.ok
1218
+ }
1219
+ })
1220
+
1221
+ it("tcss.v20201101.DescribeComplianceAssetPolicyItemList", async function () {
1222
+ try {
1223
+ const data = await client.DescribeComplianceAssetPolicyItemList({})
1224
+ expect(data).to.be.ok
1225
+ } catch(error) {
1226
+ expect(error.requestId).to.be.ok
1227
+ expect(error.code).to.be.ok
1228
+ }
1229
+ })
1230
+
1231
+ it("tcss.v20201101.SetCheckMode", async function () {
1232
+ try {
1233
+ const data = await client.SetCheckMode({})
1234
+ expect(data).to.be.ok
1235
+ } catch(error) {
1236
+ expect(error.requestId).to.be.ok
1237
+ expect(error.code).to.be.ok
1238
+ }
1239
+ })
1240
+
1241
+ it("tcss.v20201101.DeleteCompliancePolicyItemFromWhitelist", async function () {
1242
+ try {
1243
+ const data = await client.DeleteCompliancePolicyItemFromWhitelist({})
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
+
1251
+ it("tcss.v20201101.DescribeVirusScanSetting", async function () {
1252
+ try {
1253
+ const data = await client.DescribeVirusScanSetting({})
1254
+ expect(data).to.be.ok
1255
+ } catch(error) {
1256
+ expect(error.requestId).to.be.ok
1257
+ expect(error.code).to.be.ok
1258
+ }
1259
+ })
1260
+
1261
+ it("tcss.v20201101.DescribeComplianceAssetList", async function () {
1262
+ try {
1263
+ const data = await client.DescribeComplianceAssetList({})
1264
+ expect(data).to.be.ok
1265
+ } catch(error) {
1266
+ expect(error.requestId).to.be.ok
1267
+ expect(error.code).to.be.ok
1268
+ }
1269
+ })
1270
+
1271
+ it("tcss.v20201101.DescribeCompliancePolicyItemAffectedAssetList", async function () {
1272
+ try {
1273
+ const data = await client.DescribeCompliancePolicyItemAffectedAssetList({})
1274
+ expect(data).to.be.ok
1275
+ } catch(error) {
1276
+ expect(error.requestId).to.be.ok
1277
+ expect(error.code).to.be.ok
1278
+ }
1279
+ })
1280
+
1281
+ it("tcss.v20201101.ModifyAsset", async function () {
1282
+ try {
1283
+ const data = await client.ModifyAsset({})
1284
+ expect(data).to.be.ok
1285
+ } catch(error) {
1286
+ expect(error.requestId).to.be.ok
1287
+ expect(error.code).to.be.ok
1288
+ }
1289
+ })
1290
+
1291
+ it("tcss.v20201101.CreateOrModifyPostPayCores", async function () {
1292
+ try {
1293
+ const data = await client.CreateOrModifyPostPayCores({})
1294
+ expect(data).to.be.ok
1295
+ } catch(error) {
1296
+ expect(error.requestId).to.be.ok
1297
+ expect(error.code).to.be.ok
1298
+ }
1299
+ })
1300
+
1301
+ it("tcss.v20201101.DescribeAbnormalProcessDetail", async function () {
1302
+ try {
1303
+ const data = await client.DescribeAbnormalProcessDetail({})
1304
+ expect(data).to.be.ok
1305
+ } catch(error) {
1306
+ expect(error.requestId).to.be.ok
1307
+ expect(error.code).to.be.ok
1308
+ }
1309
+ })
1310
+
1311
+ it("tcss.v20201101.RenewImageAuthorizeState", async function () {
1312
+ try {
1313
+ const data = await client.RenewImageAuthorizeState({})
1314
+ expect(data).to.be.ok
1315
+ } catch(error) {
1316
+ expect(error.requestId).to.be.ok
1317
+ expect(error.code).to.be.ok
1318
+ }
1319
+ })
1320
+
1321
+ it("tcss.v20201101.ModifyAssetImageRegistryScanStopOneKey", async function () {
1322
+ try {
1323
+ const data = await client.ModifyAssetImageRegistryScanStopOneKey({})
1324
+ expect(data).to.be.ok
1325
+ } catch(error) {
1326
+ expect(error.requestId).to.be.ok
1327
+ expect(error.code).to.be.ok
1328
+ }
1329
+ })
1330
+
1331
+ it("tcss.v20201101.DescribeAccessControlRuleDetail", async function () {
1332
+ try {
1333
+ const data = await client.DescribeAccessControlRuleDetail({})
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
+
1341
+ it("tcss.v20201101.DescribeAffectedNodeList", async function () {
1342
+ try {
1343
+ const data = await client.DescribeAffectedNodeList({})
1344
+ expect(data).to.be.ok
1345
+ } catch(error) {
1346
+ expect(error.requestId).to.be.ok
1347
+ expect(error.code).to.be.ok
1348
+ }
1349
+ })
1350
+
1351
+ it("tcss.v20201101.DescribeAccessControlEventsExport", async function () {
1352
+ try {
1353
+ const data = await client.DescribeAccessControlEventsExport({})
1354
+ expect(data).to.be.ok
1355
+ } catch(error) {
1356
+ expect(error.requestId).to.be.ok
1357
+ expect(error.code).to.be.ok
1358
+ }
1359
+ })
1360
+
1361
+ it("tcss.v20201101.ModifyReverseShellStatus", async function () {
1362
+ try {
1363
+ const data = await client.ModifyReverseShellStatus({})
1364
+ expect(data).to.be.ok
1365
+ } catch(error) {
1366
+ expect(error.requestId).to.be.ok
1367
+ expect(error.code).to.be.ok
1368
+ }
1369
+ })
1370
+
1371
+ it("tcss.v20201101.AddEditWarningRules", async function () {
1372
+ try {
1373
+ const data = await client.AddEditWarningRules({})
1374
+ expect(data).to.be.ok
1375
+ } catch(error) {
1376
+ expect(error.requestId).to.be.ok
1377
+ expect(error.code).to.be.ok
1378
+ }
1379
+ })
1380
+
1381
+ it("tcss.v20201101.DescribeAssetImageRiskListExport", async function () {
1382
+ try {
1383
+ const data = await client.DescribeAssetImageRiskListExport({})
1384
+ expect(data).to.be.ok
1385
+ } catch(error) {
1386
+ expect(error.requestId).to.be.ok
1387
+ expect(error.code).to.be.ok
1388
+ }
1389
+ })
1390
+
1391
+ it("tcss.v20201101.DescribeAccessControlRulesExport", async function () {
1392
+ try {
1393
+ const data = await client.DescribeAccessControlRulesExport({})
1394
+ expect(data).to.be.ok
1395
+ } catch(error) {
1396
+ expect(error.requestId).to.be.ok
1397
+ expect(error.code).to.be.ok
1398
+ }
1399
+ })
1400
+
1401
+ it("tcss.v20201101.DescribeRiskList", async function () {
1402
+ try {
1403
+ const data = await client.DescribeRiskList({})
1404
+ expect(data).to.be.ok
1405
+ } catch(error) {
1406
+ expect(error.requestId).to.be.ok
1407
+ expect(error.code).to.be.ok
1408
+ }
1409
+ })
1410
+
1411
+ it("tcss.v20201101.DescribeAssetImageVulList", async function () {
1412
+ try {
1413
+ const data = await client.DescribeAssetImageVulList({})
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
+
1421
+ it("tcss.v20201101.AddCompliancePolicyItemToWhitelist", async function () {
1422
+ try {
1423
+ const data = await client.AddCompliancePolicyItemToWhitelist({})
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("tcss.v20201101.InitializeUserComplianceEnvironment", async function () {
1432
+ try {
1433
+ const data = await client.InitializeUserComplianceEnvironment({})
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
+
1441
+ it("tcss.v20201101.DescribeUserCluster", async function () {
1442
+ try {
1443
+ const data = await client.DescribeUserCluster({})
1444
+ expect(data).to.be.ok
1445
+ } catch(error) {
1446
+ expect(error.requestId).to.be.ok
1447
+ expect(error.code).to.be.ok
1448
+ }
1449
+ })
1450
+
1451
+ it("tcss.v20201101.ModifyCompliancePeriodTask", async function () {
1452
+ try {
1453
+ const data = await client.ModifyCompliancePeriodTask({})
1454
+ expect(data).to.be.ok
1455
+ } catch(error) {
1456
+ expect(error.requestId).to.be.ok
1457
+ expect(error.code).to.be.ok
1458
+ }
1459
+ })
1460
+
1461
+ it("tcss.v20201101.DescribeAssetImageRegistrySummary", async function () {
1462
+ try {
1463
+ const data = await client.DescribeAssetImageRegistrySummary({})
1464
+ expect(data).to.be.ok
1465
+ } catch(error) {
1466
+ expect(error.requestId).to.be.ok
1467
+ expect(error.code).to.be.ok
1468
+ }
1469
+ })
1470
+
1471
+ it("tcss.v20201101.DescribeAbnormalProcessRules", async function () {
1472
+ try {
1473
+ const data = await client.DescribeAbnormalProcessRules({})
1474
+ expect(data).to.be.ok
1475
+ } catch(error) {
1476
+ expect(error.requestId).to.be.ok
1477
+ expect(error.code).to.be.ok
1478
+ }
1479
+ })
1480
+
1481
+ it("tcss.v20201101.DescribeAssetDBServiceList", async function () {
1482
+ try {
1483
+ const data = await client.DescribeAssetDBServiceList({})
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
+
1491
+ it("tcss.v20201101.DescribeRiskSyscallEvents", async function () {
1492
+ try {
1493
+ const data = await client.DescribeRiskSyscallEvents({})
1494
+ expect(data).to.be.ok
1495
+ } catch(error) {
1496
+ expect(error.requestId).to.be.ok
1497
+ expect(error.code).to.be.ok
1498
+ }
1499
+ })
1500
+
1501
+ it("tcss.v20201101.DeleteRiskSyscallWhiteLists", async function () {
1502
+ try {
1503
+ const data = await client.DeleteRiskSyscallWhiteLists({})
1504
+ expect(data).to.be.ok
1505
+ } catch(error) {
1506
+ expect(error.requestId).to.be.ok
1507
+ expect(error.code).to.be.ok
1508
+ }
1509
+ })
1510
+
1511
+ it("tcss.v20201101.AddEditAccessControlRule", async function () {
1512
+ try {
1513
+ const data = await client.AddEditAccessControlRule({})
1514
+ expect(data).to.be.ok
1515
+ } catch(error) {
1516
+ expect(error.requestId).to.be.ok
1517
+ expect(error.code).to.be.ok
1518
+ }
1519
+ })
1520
+
1521
+ it("tcss.v20201101.DescribeReverseShellWhiteListDetail", async function () {
1522
+ try {
1523
+ const data = await client.DescribeReverseShellWhiteListDetail({})
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
+
1531
+ it("tcss.v20201101.CreateAssetImageScanSetting", async function () {
1532
+ try {
1533
+ const data = await client.CreateAssetImageScanSetting({})
1534
+ expect(data).to.be.ok
1535
+ } catch(error) {
1536
+ expect(error.requestId).to.be.ok
1537
+ expect(error.code).to.be.ok
1538
+ }
1539
+ })
1540
+
1541
+ it("tcss.v20201101.DescribeAssetImageVirusList", async function () {
1542
+ try {
1543
+ const data = await client.DescribeAssetImageVirusList({})
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.DescribeAssetSummary", async function () {
1552
+ try {
1553
+ const data = await client.DescribeAssetSummary({})
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.ExportVirusList", async function () {
1562
+ try {
1563
+ const data = await client.ExportVirusList({})
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("tcss.v20201101.DescribeAssetWebServiceList", async function () {
1572
+ try {
1573
+ const data = await client.DescribeAssetWebServiceList({})
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
+
1581
+ it("tcss.v20201101.CheckRepeatAssetImageRegistry", async function () {
1582
+ try {
1583
+ const data = await client.CheckRepeatAssetImageRegistry({})
1584
+ expect(data).to.be.ok
1585
+ } catch(error) {
1586
+ expect(error.requestId).to.be.ok
1587
+ expect(error.code).to.be.ok
1588
+ }
1589
+ })
1590
+
1591
+ it("tcss.v20201101.AddEditAbnormalProcessRule", async function () {
1592
+ try {
1593
+ const data = await client.AddEditAbnormalProcessRule({})
1594
+ expect(data).to.be.ok
1595
+ } catch(error) {
1596
+ expect(error.requestId).to.be.ok
1597
+ expect(error.code).to.be.ok
1598
+ }
1599
+ })
1600
+
1601
+ it("tcss.v20201101.DescribeAssetHostDetail", async function () {
1602
+ try {
1603
+ const data = await client.DescribeAssetHostDetail({})
1604
+ expect(data).to.be.ok
1605
+ } catch(error) {
1606
+ expect(error.requestId).to.be.ok
1607
+ expect(error.code).to.be.ok
1608
+ }
1609
+ })
1610
+
1611
+ it("tcss.v20201101.DescribeAssetImageHostList", async function () {
1612
+ try {
1613
+ const data = await client.DescribeAssetImageHostList({})
1614
+ expect(data).to.be.ok
1615
+ } catch(error) {
1616
+ expect(error.requestId).to.be.ok
1617
+ expect(error.code).to.be.ok
1618
+ }
1619
+ })
1620
+
1621
+ it("tcss.v20201101.DescribeRiskSyscallWhiteLists", async function () {
1622
+ try {
1623
+ const data = await client.DescribeRiskSyscallWhiteLists({})
1624
+ expect(data).to.be.ok
1625
+ } catch(error) {
1626
+ expect(error.requestId).to.be.ok
1627
+ expect(error.code).to.be.ok
1628
+ }
1629
+ })
1630
+
1631
+ it("tcss.v20201101.DescribeAssetImageRegistryVulList", async function () {
1632
+ try {
1633
+ const data = await client.DescribeAssetImageRegistryVulList({})
1634
+ expect(data).to.be.ok
1635
+ } catch(error) {
1636
+ expect(error.requestId).to.be.ok
1637
+ expect(error.code).to.be.ok
1638
+ }
1639
+ })
1640
+
1641
+ it("tcss.v20201101.DescribeVirusScanTaskStatus", async function () {
1642
+ try {
1643
+ const data = await client.DescribeVirusScanTaskStatus({})
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
+
1651
+ it("tcss.v20201101.ScanComplianceAssetsByPolicyItem", async function () {
1652
+ try {
1653
+ const data = await client.ScanComplianceAssetsByPolicyItem({})
1654
+ expect(data).to.be.ok
1655
+ } catch(error) {
1656
+ expect(error.requestId).to.be.ok
1657
+ expect(error.code).to.be.ok
1658
+ }
1659
+ })
1660
+
1661
+ it("tcss.v20201101.DescribeAssetImageDetail", async function () {
1662
+ try {
1663
+ const data = await client.DescribeAssetImageDetail({})
1664
+ expect(data).to.be.ok
1665
+ } catch(error) {
1666
+ expect(error.requestId).to.be.ok
1667
+ expect(error.code).to.be.ok
1668
+ }
1669
+ })
1670
+
1671
+ it("tcss.v20201101.DescribeSecEventsTendency", async function () {
1672
+ try {
1673
+ const data = await client.DescribeSecEventsTendency({})
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
+
1681
+ })