tencentcloud-sdk-nodejs 4.0.464 → 4.0.465

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 (49) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +6 -4
  3. package/SERVICE_CHANGELOG.md +377 -682
  4. package/package.json +1 -1
  5. package/products.md +12 -12
  6. package/src/common/sdk_version.ts +1 -1
  7. package/src/services/cwp/v20180228/cwp_client.ts +106 -19
  8. package/src/services/cwp/v20180228/cwp_models.ts +633 -199
  9. package/src/services/ess/v20201111/ess_models.ts +1 -1
  10. package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
  11. package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
  12. package/src/services/monitor/v20180724/monitor_client.ts +2 -1
  13. package/src/services/monitor/v20180724/monitor_models.ts +32 -5
  14. package/src/services/tcb/v20180608/tcb_models.ts +7 -0
  15. package/src/services/tcm/v20210413/tcm_client.ts +1 -0
  16. package/src/services/tcm/v20210413/tcm_models.ts +45 -0
  17. package/src/services/tcss/v20201101/tcss_client.ts +94 -29
  18. package/src/services/tcss/v20201101/tcss_models.ts +438 -278
  19. package/src/services/tdcpg/v20211118/tdcpg_models.ts +13 -0
  20. package/src/services/thpc/v20220401/thpc_client.ts +16 -2
  21. package/src/services/thpc/v20220401/thpc_models.ts +145 -15
  22. package/src/services/tke/v20180525/tke_client.ts +1 -1
  23. package/src/services/tke/v20180525/tke_models.ts +24 -0
  24. package/tencentcloud/common/sdk_version.d.ts +1 -1
  25. package/tencentcloud/common/sdk_version.js +1 -1
  26. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +33 -5
  27. package/tencentcloud/services/cwp/v20180228/cwp_client.js +48 -6
  28. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +514 -147
  29. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
  30. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
  31. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
  32. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
  33. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  34. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +27 -4
  35. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +6 -0
  36. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +37 -0
  37. package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +28 -5
  38. package/tencentcloud/services/tcss/v20201101/tcss_client.js +39 -6
  39. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +379 -239
  40. package/tencentcloud/services/tdcpg/v20211118/tdcpg_models.d.ts +11 -0
  41. package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +5 -1
  42. package/tencentcloud/services/thpc/v20220401/thpc_client.js +6 -0
  43. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +124 -15
  44. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
  45. package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
  46. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +20 -0
  47. package/test/cwp.v20180228.test.js +74 -4
  48. package/test/tcss.v20201101.test.js +54 -4
  49. package/test/thpc.v20220401.test.js +10 -0
@@ -1134,6 +1134,17 @@ export interface CloneClusterToPointInTimeRequest {
1134
1134
  * 是否自动续费,0-不 1-是。默认为0,只有当PayMode为PREPAID时生效。
1135
1135
  */
1136
1136
  AutoRenewFlag?: number;
1137
+ /**
1138
+ * 存储付费模式
1139
+ - PREPAID:预付费,即包年包月
1140
+ - POSTPAID_BY_HOUR:按小时后付费
1141
+ 默认为POSTPAID_BY_HOUR,实例付费模式为按小时付费时,存储付费模式不支持包年包月
1142
+ */
1143
+ StoragePayMode?: string;
1144
+ /**
1145
+ * 存储最大使用量,单位GB。取值参考文档【购买指南】。存储使用预付费模式时必须设置,存储使用按小时后付费时不可设置
1146
+ */
1147
+ Storage?: number;
1137
1148
  }
1138
1149
  /**
1139
1150
  * DescribeClusterRecoveryTimeRange请求参数结构体
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribeClustersRequest, DeleteNodesResponse, DeleteClusterResponse, CreateClusterRequest, CreateClusterResponse, BindAutoScalingGroupResponse, DeleteClusterRequest, AddNodesRequest, BindAutoScalingGroupRequest, DeleteNodesRequest, DescribeClustersResponse, AddNodesResponse } from "./thpc_models";
3
+ import { DescribeClustersRequest, SetAutoScalingConfigurationRequest, DeleteNodesResponse, DeleteClusterResponse, SetAutoScalingConfigurationResponse, CreateClusterRequest, CreateClusterResponse, BindAutoScalingGroupResponse, DeleteClusterRequest, AddNodesRequest, BindAutoScalingGroupRequest, DeleteNodesRequest, DescribeClustersResponse, AddNodesResponse } from "./thpc_models";
4
4
  /**
5
5
  * thpc client
6
6
  * @class
@@ -19,6 +19,10 @@ export declare class Client extends AbstractClient {
19
19
  * 本接口 (CreateCluster) 用于创建并启动集群。
20
20
  */
21
21
  CreateCluster(req: CreateClusterRequest, cb?: (error: string, rep: CreateClusterResponse) => void): Promise<CreateClusterResponse>;
22
+ /**
23
+ * 本接口(SetAutoScalingConfiguration)用于为集群设置集群弹性伸缩配置信息。
24
+ */
25
+ SetAutoScalingConfiguration(req: SetAutoScalingConfigurationRequest, cb?: (error: string, rep: SetAutoScalingConfigurationResponse) => void): Promise<SetAutoScalingConfigurationResponse>;
22
26
  /**
23
27
  * 本接口(AddNodes)用于添加一个或者多个计算节点或者登录节点到指定集群。
24
28
  */
@@ -45,6 +45,12 @@ class Client extends abstract_client_1.AbstractClient {
45
45
  async CreateCluster(req, cb) {
46
46
  return this.request("CreateCluster", req, cb);
47
47
  }
48
+ /**
49
+ * 本接口(SetAutoScalingConfiguration)用于为集群设置集群弹性伸缩配置信息。
50
+ */
51
+ async SetAutoScalingConfiguration(req, cb) {
52
+ return this.request("SetAutoScalingConfiguration", req, cb);
53
+ }
48
54
  /**
49
55
  * 本接口(AddNodes)用于添加一个或者多个计算节点或者登录节点到指定集群。
50
56
  */
@@ -68,6 +68,35 @@ export interface DescribeClustersRequest {
68
68
  */
69
69
  Limit?: number;
70
70
  }
71
+ /**
72
+ * SetAutoScalingConfiguration请求参数结构体
73
+ */
74
+ export interface SetAutoScalingConfigurationRequest {
75
+ /**
76
+ * 集群ID。
77
+ */
78
+ ClusterId: string;
79
+ /**
80
+ * 任务连续等待时间,队列的任务处于连续等待的时间。单位秒。默认值120。
81
+ */
82
+ ExpansionBusyTime?: number;
83
+ /**
84
+ * 节点连续空闲(未运行作业)时间,一个节点连续处于空闲状态时间。单位秒。默认值300。
85
+ */
86
+ ShrinkIdleTime?: number;
87
+ /**
88
+ * 扩容队列配置列表。
89
+ */
90
+ QueueConfigs?: Array<QueueConfig>;
91
+ /**
92
+ * 是否只预检此次请求。
93
+ true:发送检查请求,不会绑定弹性伸缩组。检查项包括是否填写了必需参数,请求格式,业务限制。
94
+ 如果检查不通过,则返回对应错误码;
95
+ 如果检查通过,则返回RequestId。
96
+ false(默认):发送正常请求,通过检查后直接绑定弹性伸缩组。
97
+ */
98
+ DryRun?: boolean;
99
+ }
71
100
  /**
72
101
  * 描述了实例登录相关配置与信息。
73
102
  */
@@ -96,22 +125,84 @@ export interface DeleteClusterResponse {
96
125
  RequestId?: string;
97
126
  }
98
127
  /**
99
- * 描述了实例的公网可访问性,声明了实例的公网使用计费模式,最大带宽等
128
+ * 弹性扩容节点配置信息。
100
129
  */
101
- export interface InternetAccessible {
130
+ export interface ExpansionNodeConfig {
102
131
  /**
103
- * 网络计费类型。取值范围:
104
- BANDWIDTH_PREPAID:预付费按带宽结算
105
- TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费
106
- BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费
107
- BANDWIDTH_PACKAGE:带宽包用户
108
- 默认取值:非带宽包用户默认与子机付费类型保持一致。
132
+ * 扩容实例所在的位置。
109
133
  */
110
- InternetChargeType?: string;
134
+ Placement: Placement;
111
135
  /**
112
- * 公网出带宽上限,单位:Mbps。默认值:0Mbps。不同机型带宽上限范围不一致,具体限制详见购买网络带宽。
136
+ * 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月<br><li>POSTPAID_BY_HOUR:按小时后付费<br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。
113
137
  */
114
- InternetMaxBandwidthOut?: number;
138
+ InstanceChargeType?: string;
139
+ /**
140
+ * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月节点的购买时长、是否设置自动续费等属性。若指定节点的付费模式为预付费则该参数必传。
141
+ */
142
+ InstanceChargePrepaid?: InstanceChargePrepaid;
143
+ /**
144
+ * 节点机型。不同实例机型指定了不同的资源规格。
145
+ <br><li>具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。
146
+ */
147
+ InstanceType?: string;
148
+ /**
149
+ * 私有网络相关信息配置。
150
+ */
151
+ VirtualPrivateCloud?: VirtualPrivateCloud;
152
+ }
153
+ /**
154
+ * 扩容队列配置。
155
+ */
156
+ export interface QueueConfig {
157
+ /**
158
+ * 队列名称。
159
+ */
160
+ QueueName: string;
161
+ /**
162
+ * 队列中弹性节点数量最小值。取值范围0~200。
163
+ */
164
+ MinSize?: number;
165
+ /**
166
+ * 队列中弹性节点数量最大值。取值范围0~200。
167
+ */
168
+ MaxSize?: number;
169
+ /**
170
+ * 是否开启自动扩容。
171
+ */
172
+ EnableAutoExpansion?: boolean;
173
+ /**
174
+ * 是否开启自动缩容。
175
+ */
176
+ EnableAutoShrink?: boolean;
177
+ /**
178
+ * 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜和特定自定义镜像。
179
+ */
180
+ ImageId?: string;
181
+ /**
182
+ * 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
183
+ */
184
+ SystemDisk?: SystemDisk;
185
+ /**
186
+ * 节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。
187
+ */
188
+ DataDisks?: Array<DataDisk>;
189
+ /**
190
+ * 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。
191
+ */
192
+ InternetAccessible?: InternetAccessible;
193
+ /**
194
+ * 扩容节点配置信息。
195
+ */
196
+ ExpansionNodeConfigs?: Array<ExpansionNodeConfig>;
197
+ }
198
+ /**
199
+ * 登录节点概览。
200
+ */
201
+ export interface LoginNodeOverview {
202
+ /**
203
+ * 登录节点ID。
204
+ */
205
+ NodeId: string;
115
206
  }
116
207
  /**
117
208
  * 描述CFS文件系统版本和挂载信息
@@ -173,6 +264,15 @@ export interface LoginNode {
173
264
  */
174
265
  InstanceName?: string;
175
266
  }
267
+ /**
268
+ * SetAutoScalingConfiguration返回参数结构体
269
+ */
270
+ export interface SetAutoScalingConfigurationResponse {
271
+ /**
272
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
273
+ */
274
+ RequestId?: string;
275
+ }
176
276
  /**
177
277
  * CreateCluster请求参数结构体
178
278
  */
@@ -555,13 +655,22 @@ export interface StorageOption {
555
655
  GooseFSOptions?: Array<GooseFSOption>;
556
656
  }
557
657
  /**
558
- * 登录节点概览。
658
+ * 描述了实例的公网可访问性,声明了实例的公网使用计费模式,最大带宽等
559
659
  */
560
- export interface LoginNodeOverview {
660
+ export interface InternetAccessible {
561
661
  /**
562
- * 登录节点ID。
662
+ * 网络计费类型。取值范围:
663
+ BANDWIDTH_PREPAID:预付费按带宽结算
664
+ TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费
665
+ BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费
666
+ BANDWIDTH_PACKAGE:带宽包用户
667
+ 默认取值:非带宽包用户默认与子机付费类型保持一致。
563
668
  */
564
- NodeId: string;
669
+ InternetChargeType?: string;
670
+ /**
671
+ * 公网出带宽上限,单位:Mbps。默认值:0Mbps。不同机型带宽上限范围不一致,具体限制详见购买网络带宽。
672
+ */
673
+ InternetMaxBandwidthOut?: number;
565
674
  }
566
675
  /**
567
676
  * 计算节点信息。
@@ -468,7 +468,7 @@ export declare class Client extends AbstractClient {
468
468
  */
469
469
  DescribeClusterSecurity(req: DescribeClusterSecurityRequest, cb?: (error: string, rep: DescribeClusterSecurityResponse) => void): Promise<DescribeClusterSecurityResponse>;
470
470
  /**
471
- * 获取2.0实例关联集群列表
471
+ * 获取TMP实例关联集群列表
472
472
  */
473
473
  DescribePrometheusClusterAgents(req: DescribePrometheusClusterAgentsRequest, cb?: (error: string, rep: DescribePrometheusClusterAgentsResponse) => void): Promise<DescribePrometheusClusterAgentsResponse>;
474
474
  /**
@@ -718,7 +718,7 @@ class Client extends abstract_client_1.AbstractClient {
718
718
  return this.request("DescribeClusterSecurity", req, cb);
719
719
  }
720
720
  /**
721
- * 获取2.0实例关联集群列表
721
+ * 获取TMP实例关联集群列表
722
722
  */
723
723
  async DescribePrometheusClusterAgents(req, cb) {
724
724
  return this.request("DescribePrometheusClusterAgents", req, cb);
@@ -2433,6 +2433,11 @@ export interface EdgeCluster {
2433
2433
  注意:此字段可能返回 null,表示取不到有效值。
2434
2434
  */
2435
2435
  ClusterAdvancedSettings?: EdgeClusterAdvancedSettings;
2436
+ /**
2437
+ * 边缘容器集群级别
2438
+ 注意:此字段可能返回 null,表示取不到有效值。
2439
+ */
2440
+ Level?: string;
2436
2441
  }
2437
2442
  /**
2438
2443
  * DescribeClusterNodePoolDetail返回参数结构体
@@ -8869,6 +8874,21 @@ abnormal = 异常
8869
8874
  注意:此字段可能返回 null,表示取不到有效值。
8870
8875
  */
8871
8876
  ExternalLabels: Array<Label>;
8877
+ /**
8878
+ * 集群所在地域
8879
+ 注意:此字段可能返回 null,表示取不到有效值。
8880
+ */
8881
+ Region: string;
8882
+ /**
8883
+ * 集群所在VPC ID
8884
+ 注意:此字段可能返回 null,表示取不到有效值。
8885
+ */
8886
+ VpcId: string;
8887
+ /**
8888
+ * 记录关联等操作的失败信息
8889
+ 注意:此字段可能返回 null,表示取不到有效值。
8890
+ */
8891
+ FailedReason: string;
8872
8892
  }
8873
8893
  /**
8874
8894
  * app所支持的chart
@@ -208,6 +208,16 @@ it("cwp.v20180228.DescribeServerRelatedDirInfo", async function () {
208
208
  }
209
209
  })
210
210
 
211
+ it("cwp.v20180228.StopBaselineDetect", async function () {
212
+ try {
213
+ const data = await client.StopBaselineDetect({})
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
+
211
221
  it("cwp.v20180228.CreateBaselineStrategy", async function () {
212
222
  try {
213
223
  const data = await client.CreateBaselineStrategy({})
@@ -308,6 +318,16 @@ it("cwp.v20180228.DescribeBaselineList", async function () {
308
318
  }
309
319
  })
310
320
 
321
+ it("cwp.v20180228.DeleteScanTask", async function () {
322
+ try {
323
+ const data = await client.DeleteScanTask({})
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
+
311
331
  it("cwp.v20180228.DeleteBashEvents", async function () {
312
332
  try {
313
333
  const data = await client.DeleteBashEvents({})
@@ -918,6 +938,16 @@ it("cwp.v20180228.DeleteMalwares", async function () {
918
938
  }
919
939
  })
920
940
 
941
+ it("cwp.v20180228.ExportTasks", async function () {
942
+ try {
943
+ const data = await client.ExportTasks({})
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
+
921
951
  it("cwp.v20180228.DescribeMachineList", async function () {
922
952
  try {
923
953
  const data = await client.DescribeMachineList({})
@@ -1138,6 +1168,16 @@ it("cwp.v20180228.DescribeBaselineStrategyDetail", async function () {
1138
1168
  }
1139
1169
  })
1140
1170
 
1171
+ it("cwp.v20180228.ModifyBaselinePolicy", async function () {
1172
+ try {
1173
+ const data = await client.ModifyBaselinePolicy({})
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
+
1141
1181
  it("cwp.v20180228.DescribeAssetWebLocationInfo", async function () {
1142
1182
  try {
1143
1183
  const data = await client.DescribeAssetWebLocationInfo({})
@@ -1158,6 +1198,16 @@ it("cwp.v20180228.UntrustMalwares", async function () {
1158
1198
  }
1159
1199
  })
1160
1200
 
1201
+ it("cwp.v20180228.DescribeBaselinePolicyList", async function () {
1202
+ try {
1203
+ const data = await client.DescribeBaselinePolicyList({})
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
+
1161
1211
  it("cwp.v20180228.DescribeProtectDirList", async function () {
1162
1212
  try {
1163
1213
  const data = await client.DescribeProtectDirList({})
@@ -1228,6 +1278,16 @@ it("cwp.v20180228.DescribeVulEffectHostList", async function () {
1228
1278
  }
1229
1279
  })
1230
1280
 
1281
+ it("cwp.v20180228.DeleteBaselinePolicy", async function () {
1282
+ try {
1283
+ const data = await client.DeleteBaselinePolicy({})
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
+
1231
1291
  it("cwp.v20180228.DescribeScanTaskStatus", async function () {
1232
1292
  try {
1233
1293
  const data = await client.DescribeScanTaskStatus({})
@@ -1628,6 +1688,16 @@ it("cwp.v20180228.SwitchBashRules", async function () {
1628
1688
  }
1629
1689
  })
1630
1690
 
1691
+ it("cwp.v20180228.DescribeMachineOsList", async function () {
1692
+ try {
1693
+ const data = await client.DescribeMachineOsList({})
1694
+ expect(data).to.be.ok
1695
+ } catch(error) {
1696
+ expect(error.requestId).to.be.ok
1697
+ expect(error.code).to.be.ok
1698
+ }
1699
+ })
1700
+
1631
1701
  it("cwp.v20180228.DescribeBanWhiteList", async function () {
1632
1702
  try {
1633
1703
  const data = await client.DescribeBanWhiteList({})
@@ -1818,9 +1888,9 @@ it("cwp.v20180228.DescribeBanRegions", async function () {
1818
1888
  }
1819
1889
  })
1820
1890
 
1821
- it("cwp.v20180228.DescribeMachineOsList", async function () {
1891
+ it("cwp.v20180228.DescribeJavaMemShellList", async function () {
1822
1892
  try {
1823
- const data = await client.DescribeMachineOsList({})
1893
+ const data = await client.DescribeJavaMemShellList({})
1824
1894
  expect(data).to.be.ok
1825
1895
  } catch(error) {
1826
1896
  expect(error.requestId).to.be.ok
@@ -2168,9 +2238,9 @@ it("cwp.v20180228.DescribeMachines", async function () {
2168
2238
  }
2169
2239
  })
2170
2240
 
2171
- it("cwp.v20180228.ExportTasks", async function () {
2241
+ it("cwp.v20180228.DescribeBaselineHostDetectList", async function () {
2172
2242
  try {
2173
- const data = await client.ExportTasks({})
2243
+ const data = await client.DescribeBaselineHostDetectList({})
2174
2244
  expect(data).to.be.ok
2175
2245
  } catch(error) {
2176
2246
  expect(error.requestId).to.be.ok
@@ -318,6 +318,16 @@ it("tcss.v20201101.DescribeVirusAutoIsolateSampleDownloadURL", async function ()
318
318
  }
319
319
  })
320
320
 
321
+ it("tcss.v20201101.DescribeImageRegistryNamespaceList", async function () {
322
+ try {
323
+ const data = await client.DescribeImageRegistryNamespaceList({})
324
+ expect(data).to.be.ok
325
+ } catch(error) {
326
+ expect(error.requestId).to.be.ok
327
+ expect(error.code).to.be.ok
328
+ }
329
+ })
330
+
321
331
  it("tcss.v20201101.DescribeScanIgnoreVulList", async function () {
322
332
  try {
323
333
  const data = await client.DescribeScanIgnoreVulList({})
@@ -458,6 +468,16 @@ it("tcss.v20201101.ConfirmNetworkFirewallPolicy", async function () {
458
468
  }
459
469
  })
460
470
 
471
+ it("tcss.v20201101.DeleteComplianceAssetPolicySetFromWhitelist", async function () {
472
+ try {
473
+ const data = await client.DeleteComplianceAssetPolicySetFromWhitelist({})
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
+
461
481
  it("tcss.v20201101.DescribeImageComponentList", async function () {
462
482
  try {
463
483
  const data = await client.DescribeImageComponentList({})
@@ -988,6 +1008,16 @@ it("tcss.v20201101.DescribeRiskSyscallEvents", async function () {
988
1008
  }
989
1009
  })
990
1010
 
1011
+ it("tcss.v20201101.AddComplianceAssetPolicySetToWhitelist", async function () {
1012
+ try {
1013
+ const data = await client.AddComplianceAssetPolicySetToWhitelist({})
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
+
991
1021
  it("tcss.v20201101.ModifySecLogJoinObjects", async function () {
992
1022
  try {
993
1023
  const data = await client.ModifySecLogJoinObjects({})
@@ -1338,6 +1368,16 @@ it("tcss.v20201101.CreateImageExportJob", async function () {
1338
1368
  }
1339
1369
  })
1340
1370
 
1371
+ it("tcss.v20201101.DescribeVulSummary", async function () {
1372
+ try {
1373
+ const data = await client.DescribeVulSummary({})
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
+
1341
1381
  it("tcss.v20201101.DescribeVirusList", async function () {
1342
1382
  try {
1343
1383
  const data = await client.DescribeVirusList({})
@@ -1498,6 +1538,16 @@ it("tcss.v20201101.DescribeAffectedWorkloadList", async function () {
1498
1538
  }
1499
1539
  })
1500
1540
 
1541
+ it("tcss.v20201101.AddCompliancePolicyAssetSetToWhitelist", async function () {
1542
+ try {
1543
+ const data = await client.AddCompliancePolicyAssetSetToWhitelist({})
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
+
1501
1551
  it("tcss.v20201101.DeleteAbnormalProcessRules", async function () {
1502
1552
  try {
1503
1553
  const data = await client.DeleteAbnormalProcessRules({})
@@ -3018,9 +3068,9 @@ it("tcss.v20201101.DescribeVirusScanTaskStatus", async function () {
3018
3068
  }
3019
3069
  })
3020
3070
 
3021
- it("tcss.v20201101.DescribeVulSummary", async function () {
3071
+ it("tcss.v20201101.DescribeSecEventsTendency", async function () {
3022
3072
  try {
3023
- const data = await client.DescribeVulSummary({})
3073
+ const data = await client.DescribeSecEventsTendency({})
3024
3074
  expect(data).to.be.ok
3025
3075
  } catch(error) {
3026
3076
  expect(error.requestId).to.be.ok
@@ -3048,9 +3098,9 @@ it("tcss.v20201101.ModifySecLogDeliveryKafkaSetting", async function () {
3048
3098
  }
3049
3099
  })
3050
3100
 
3051
- it("tcss.v20201101.DescribeSecEventsTendency", async function () {
3101
+ it("tcss.v20201101.DeleteCompliancePolicyAssetSetFromWhitelist", async function () {
3052
3102
  try {
3053
- const data = await client.DescribeSecEventsTendency({})
3103
+ const data = await client.DeleteCompliancePolicyAssetSetFromWhitelist({})
3054
3104
  expect(data).to.be.ok
3055
3105
  } catch(error) {
3056
3106
  expect(error.requestId).to.be.ok
@@ -48,6 +48,16 @@ it("thpc.v20220401.CreateCluster", async function () {
48
48
  }
49
49
  })
50
50
 
51
+ it("thpc.v20220401.SetAutoScalingConfiguration", async function () {
52
+ try {
53
+ const data = await client.SetAutoScalingConfiguration({})
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
+
51
61
  it("thpc.v20220401.AddNodes", async function () {
52
62
  try {
53
63
  const data = await client.AddNodes({})