tencentcloud-sdk-nodejs 4.0.624 → 4.0.625
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +154 -0
- package/SERVICE_CHANGELOG.md +229 -69
- package/package.json +1 -1
- package/products.md +13 -13
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cfs/v20190719/cfs_models.ts +4 -0
- package/src/services/csip/v20221121/csip_client.ts +19 -2
- package/src/services/csip/v20221121/csip_models.ts +160 -10
- package/src/services/dlc/v20210125/dlc_client.ts +29 -26
- package/src/services/dlc/v20210125/dlc_models.ts +197 -95
- package/src/services/monitor/v20180724/monitor_client.ts +3 -3
- package/src/services/sms/v20190711/sms_client.ts +0 -1
- package/src/services/sms/v20190711/sms_models.ts +2 -2
- package/src/services/sms/v20210111/sms_models.ts +2 -2
- package/src/services/tbaas/v20180416/tbaas_client.ts +38 -14
- package/src/services/tbaas/v20180416/tbaas_models.ts +72 -8
- package/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts +20 -15
- package/src/services/tdmq/v20200217/tdmq_client.ts +13 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +55 -6
- package/src/services/tke/v20180525/tke_client.ts +85 -24
- package/src/services/tke/v20180525/tke_models.ts +310 -133
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +4 -0
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +5 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +6 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +153 -10
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +26 -26
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +26 -26
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +194 -95
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +3 -3
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +3 -3
- package/tencentcloud/services/sms/v20190711/sms_client.d.ts +0 -1
- package/tencentcloud/services/sms/v20190711/sms_client.js +0 -1
- package/tencentcloud/services/sms/v20190711/sms_models.d.ts +2 -2
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +2 -2
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +24 -8
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +25 -7
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +70 -8
- package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts +20 -15
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +53 -6
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +25 -5
- package/tencentcloud/services/tke/v20180525/tke_client.js +36 -6
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +296 -130
- package/test/csip.v20221121.test.js +10 -0
- package/test/tbaas.v20180416.test.js +10 -0
- package/test/tdmq.v20200217.test.js +10 -0
- package/test/tke.v20180525.test.js +54 -4
package/products.md
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-05-18 01:10:41 |
|
|
48
48
|
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-06-09 01:07:54 |
|
|
49
49
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-06-08 01:11:18 |
|
|
50
|
-
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-06-
|
|
50
|
+
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-06-20 01:12:06 |
|
|
51
51
|
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-06-12 01:07:56 |
|
|
52
52
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-05-31 01:12:53 |
|
|
53
53
|
| ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2023-06-05 01:14:51 |
|
|
@@ -59,16 +59,16 @@
|
|
|
59
59
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2023-05-18 01:13:28 |
|
|
60
60
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2023-05-18 01:13:36 |
|
|
61
61
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-06-16 10:55:41 |
|
|
62
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-06-
|
|
62
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-06-20 01:14:19 |
|
|
63
63
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-05-18 01:14:25 |
|
|
64
64
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2023-05-18 01:14:51 |
|
|
65
65
|
| cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2023-05-31 21:42:46 |
|
|
66
66
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-06-19 01:11:32 |
|
|
67
67
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
68
|
-
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-06-
|
|
68
|
+
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-06-20 01:16:16 |
|
|
69
69
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
|
|
70
70
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-05-26 01:16:07 |
|
|
71
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-06-
|
|
71
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-06-20 01:17:02 |
|
|
72
72
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
73
73
|
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-06-19 01:14:27 |
|
|
74
74
|
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-05-18 01:19:47 |
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-05-18 01:21:33 |
|
|
79
79
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-05-18 01:21:37 |
|
|
80
80
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-06-13 01:16:36 |
|
|
81
|
-
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-06-
|
|
81
|
+
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-06-20 01:28:13 |
|
|
82
82
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-06-09 01:17:37 |
|
|
83
83
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-05-18 01:23:17 |
|
|
84
84
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-05-18 01:23:31 |
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2023-05-18 01:39:20 |
|
|
138
138
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2023-05-25 01:46:28 |
|
|
139
139
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-05-29 01:32:50 |
|
|
140
|
-
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-06-
|
|
140
|
+
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-06-20 01:40:35 |
|
|
141
141
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-06-15 01:28:24 |
|
|
142
142
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-05-18 01:42:01 |
|
|
143
143
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-06-15 01:29:09 |
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
|
|
154
154
|
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2023-06-15 01:30:36 |
|
|
155
155
|
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2023-06-14 01:36:28 |
|
|
156
|
-
| pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2023-
|
|
156
|
+
| pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2023-06-20 01:44:07 |
|
|
157
157
|
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2023-05-18 01:45:58 |
|
|
158
158
|
| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2023-06-19 01:32:53 |
|
|
159
159
|
| region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2023-06-12 01:33:36 |
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2023-05-18 01:47:52 |
|
|
166
166
|
| smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2023-05-18 01:47:59 |
|
|
167
167
|
| smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2023-05-18 01:48:01 |
|
|
168
|
-
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-06-
|
|
168
|
+
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-06-20 01:45:56 |
|
|
169
169
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2023-05-18 01:48:23 |
|
|
170
170
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
171
171
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-06-07 01:43:06 |
|
|
@@ -179,10 +179,10 @@
|
|
|
179
179
|
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2023-05-18 01:50:16 |
|
|
180
180
|
| tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2023-06-15 01:34:24 |
|
|
181
181
|
| tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
|
|
182
|
-
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-06-
|
|
182
|
+
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-06-20 01:47:44 |
|
|
183
183
|
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
|
|
184
184
|
| tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2023-06-06 01:55:04 |
|
|
185
|
-
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-
|
|
185
|
+
| tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2023-06-20 01:48:17 |
|
|
186
186
|
| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2023-03-30 01:54:55 |
|
|
187
187
|
| tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2023-05-18 01:51:15 |
|
|
188
188
|
| tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-06-07 01:46:42 |
|
|
193
193
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-05-18 01:54:30 |
|
|
194
194
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-05-18 01:54:42 |
|
|
195
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-06-
|
|
195
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-06-20 01:51:18 |
|
|
196
196
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-05-18 01:55:50 |
|
|
197
197
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-05-22 02:01:01 |
|
|
198
198
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-05-29 01:44:07 |
|
|
@@ -205,14 +205,14 @@
|
|
|
205
205
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-05-29 01:47:15 |
|
|
206
206
|
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-06-13 01:43:45 |
|
|
207
207
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-06-08 02:02:46 |
|
|
208
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-06-
|
|
208
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-06-20 01:53:31 |
|
|
209
209
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
210
210
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2023-05-18 02:01:07 |
|
|
211
211
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-05-18 02:01:10 |
|
|
212
212
|
| tourism | [文旅客情平台](https://cloud.tencent.com/document/product/1684) | 2023-05-18 02:01:16 |
|
|
213
213
|
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
|
|
214
214
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-06-01 09:59:32 |
|
|
215
|
-
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-
|
|
215
|
+
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-06-20 01:55:06 |
|
|
216
216
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-06-12 01:43:03 |
|
|
217
217
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-05-18 02:02:09 |
|
|
218
218
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-06-19 01:42:54 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.625"
|
|
@@ -20,13 +20,17 @@ import { ClientConfig } from "../../../common/interface"
|
|
|
20
20
|
import {
|
|
21
21
|
DescribeDomainAssetsResponse,
|
|
22
22
|
DescribeDbAssetInfoResponse,
|
|
23
|
-
|
|
23
|
+
CreateRiskCenterScanTaskRequest,
|
|
24
24
|
DescribeScanReportListRequest,
|
|
25
25
|
DescribeRiskCenterAssetViewVULRiskListRequest,
|
|
26
|
+
TaskCenterWeakPwdRiskInputParam,
|
|
26
27
|
CreateDomainAndIpRequest,
|
|
27
28
|
DomainAssetVO,
|
|
29
|
+
TaskCenterCFGRiskInputParam,
|
|
30
|
+
TaskCenterVulRiskInputParam,
|
|
28
31
|
DescribeVpcAssetsResponse,
|
|
29
32
|
FilterDataObject,
|
|
33
|
+
DescribeDbAssetsRequest,
|
|
30
34
|
CVMAssetVO,
|
|
31
35
|
DescribeScanReportListResponse,
|
|
32
36
|
DescribeClusterPodAssetsRequest,
|
|
@@ -37,18 +41,21 @@ import {
|
|
|
37
41
|
Vpc,
|
|
38
42
|
DescribeRiskCenterAssetViewVULRiskListResponse,
|
|
39
43
|
DescribeCVMAssetsRequest,
|
|
44
|
+
TaskAdvanceCFG,
|
|
40
45
|
DBAssetVO,
|
|
41
46
|
ScanTaskInfo,
|
|
42
47
|
SubnetAsset,
|
|
43
|
-
|
|
48
|
+
CreateRiskCenterScanTaskResponse,
|
|
44
49
|
DescribeRiskCenterAssetViewPortRiskListResponse,
|
|
45
50
|
DescribeSubnetAssetsResponse,
|
|
46
51
|
DescribeDbAssetInfoRequest,
|
|
47
52
|
DescribeRiskCenterAssetViewPortRiskListRequest,
|
|
48
53
|
DescribeCVMAssetsResponse,
|
|
49
54
|
DescribeVpcAssetsRequest,
|
|
55
|
+
TaskAssetObject,
|
|
50
56
|
Filter,
|
|
51
57
|
DbAssetInfo,
|
|
58
|
+
Tag,
|
|
52
59
|
IpAssetListVO,
|
|
53
60
|
AssetViewVULRisk,
|
|
54
61
|
DescribeClusterPodAssetsResponse,
|
|
@@ -193,6 +200,16 @@ export class Client extends AbstractClient {
|
|
|
193
200
|
return this.request("DescribeRiskCenterAssetViewPortRiskList", req, cb)
|
|
194
201
|
}
|
|
195
202
|
|
|
203
|
+
/**
|
|
204
|
+
* 创建风险中心扫描任务
|
|
205
|
+
*/
|
|
206
|
+
async CreateRiskCenterScanTask(
|
|
207
|
+
req: CreateRiskCenterScanTaskRequest,
|
|
208
|
+
cb?: (error: string, rep: CreateRiskCenterScanTaskResponse) => void
|
|
209
|
+
): Promise<CreateRiskCenterScanTaskResponse> {
|
|
210
|
+
return this.request("CreateRiskCenterScanTask", req, cb)
|
|
211
|
+
}
|
|
212
|
+
|
|
196
213
|
/**
|
|
197
214
|
* 资产列表
|
|
198
215
|
*/
|
|
@@ -71,13 +71,45 @@ export interface DescribeDbAssetInfoResponse {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* CreateRiskCenterScanTask请求参数结构体
|
|
75
75
|
*/
|
|
76
|
-
export interface
|
|
76
|
+
export interface CreateRiskCenterScanTaskRequest {
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* 任务名称
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
TaskName: string
|
|
81
|
+
/**
|
|
82
|
+
* 0-全扫,1-指定资产扫,2-排除资产扫,3-手动填写扫;1和2则Assets字段必填,3则SelfDefiningAssets必填
|
|
83
|
+
*/
|
|
84
|
+
ScanAssetType: number
|
|
85
|
+
/**
|
|
86
|
+
* 扫描项目;port/poc/weakpass/webcontent/configrisk
|
|
87
|
+
*/
|
|
88
|
+
ScanItem: Array<string>
|
|
89
|
+
/**
|
|
90
|
+
* 0-周期任务,1-立即扫描,2-定时扫描,3-自定义;0,2,3则ScanPlanContent必填
|
|
91
|
+
*/
|
|
92
|
+
ScanPlanType: number
|
|
93
|
+
/**
|
|
94
|
+
* 扫描资产信息列表
|
|
95
|
+
*/
|
|
96
|
+
Assets?: Array<TaskAssetObject>
|
|
97
|
+
/**
|
|
98
|
+
* 扫描计划详情
|
|
99
|
+
*/
|
|
100
|
+
ScanPlanContent?: string
|
|
101
|
+
/**
|
|
102
|
+
* ip/域名/url数组
|
|
103
|
+
*/
|
|
104
|
+
SelfDefiningAssets?: Array<string>
|
|
105
|
+
/**
|
|
106
|
+
* 高级配置
|
|
107
|
+
*/
|
|
108
|
+
TaskAdvanceCFG?: TaskAdvanceCFG
|
|
109
|
+
/**
|
|
110
|
+
* 体检模式,0-标准模式,1-快速模式,2-高级模式,默认标准模式
|
|
111
|
+
*/
|
|
112
|
+
TaskMode?: number
|
|
81
113
|
}
|
|
82
114
|
|
|
83
115
|
/**
|
|
@@ -100,6 +132,20 @@ export interface DescribeRiskCenterAssetViewVULRiskListRequest {
|
|
|
100
132
|
Filter?: Filter
|
|
101
133
|
}
|
|
102
134
|
|
|
135
|
+
/**
|
|
136
|
+
* 弱口令风险高级配置
|
|
137
|
+
*/
|
|
138
|
+
export interface TaskCenterWeakPwdRiskInputParam {
|
|
139
|
+
/**
|
|
140
|
+
* 检测项ID
|
|
141
|
+
*/
|
|
142
|
+
CheckItemId: number
|
|
143
|
+
/**
|
|
144
|
+
* 是否开启,0-不开启,1-开启
|
|
145
|
+
*/
|
|
146
|
+
Enable: number
|
|
147
|
+
}
|
|
148
|
+
|
|
103
149
|
/**
|
|
104
150
|
* CreateDomainAndIp请求参数结构体
|
|
105
151
|
*/
|
|
@@ -281,6 +327,38 @@ export interface DomainAssetVO {
|
|
|
281
327
|
WebAttack?: number
|
|
282
328
|
}
|
|
283
329
|
|
|
330
|
+
/**
|
|
331
|
+
* 配置风险高级配置
|
|
332
|
+
*/
|
|
333
|
+
export interface TaskCenterCFGRiskInputParam {
|
|
334
|
+
/**
|
|
335
|
+
* 检测项ID
|
|
336
|
+
*/
|
|
337
|
+
ItemId: string
|
|
338
|
+
/**
|
|
339
|
+
* 是否开启,0-不开启,1-开启
|
|
340
|
+
*/
|
|
341
|
+
Enable: number
|
|
342
|
+
/**
|
|
343
|
+
* 资源类型
|
|
344
|
+
*/
|
|
345
|
+
ResourceType: string
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* 漏洞风险高级配置
|
|
350
|
+
*/
|
|
351
|
+
export interface TaskCenterVulRiskInputParam {
|
|
352
|
+
/**
|
|
353
|
+
* 风险ID
|
|
354
|
+
*/
|
|
355
|
+
RiskId: string
|
|
356
|
+
/**
|
|
357
|
+
* 是否开启,0-不开启,1-开启
|
|
358
|
+
*/
|
|
359
|
+
Enable: number
|
|
360
|
+
}
|
|
361
|
+
|
|
284
362
|
/**
|
|
285
363
|
* DescribeVpcAssets返回参数结构体
|
|
286
364
|
*/
|
|
@@ -325,6 +403,16 @@ export interface FilterDataObject {
|
|
|
325
403
|
Text?: string
|
|
326
404
|
}
|
|
327
405
|
|
|
406
|
+
/**
|
|
407
|
+
* DescribeDbAssets请求参数结构体
|
|
408
|
+
*/
|
|
409
|
+
export interface DescribeDbAssetsRequest {
|
|
410
|
+
/**
|
|
411
|
+
* -
|
|
412
|
+
*/
|
|
413
|
+
Filter?: Filter
|
|
414
|
+
}
|
|
415
|
+
|
|
328
416
|
/**
|
|
329
417
|
* 主机资产信息
|
|
330
418
|
*/
|
|
@@ -802,6 +890,24 @@ export interface DescribeCVMAssetsRequest {
|
|
|
802
890
|
Filter?: Filter
|
|
803
891
|
}
|
|
804
892
|
|
|
893
|
+
/**
|
|
894
|
+
* 任务高级配置
|
|
895
|
+
*/
|
|
896
|
+
export interface TaskAdvanceCFG {
|
|
897
|
+
/**
|
|
898
|
+
* 漏洞风险高级配置
|
|
899
|
+
*/
|
|
900
|
+
VulRisk?: Array<TaskCenterVulRiskInputParam>
|
|
901
|
+
/**
|
|
902
|
+
* 弱口令风险高级配置
|
|
903
|
+
*/
|
|
904
|
+
WeakPwdRisk?: Array<TaskCenterWeakPwdRiskInputParam>
|
|
905
|
+
/**
|
|
906
|
+
* 配置风险高级配置
|
|
907
|
+
*/
|
|
908
|
+
CFGRisk?: Array<TaskCenterCFGRiskInputParam>
|
|
909
|
+
}
|
|
910
|
+
|
|
805
911
|
/**
|
|
806
912
|
* db资产输出字段
|
|
807
913
|
*/
|
|
@@ -1065,17 +1171,17 @@ export interface SubnetAsset {
|
|
|
1065
1171
|
}
|
|
1066
1172
|
|
|
1067
1173
|
/**
|
|
1068
|
-
*
|
|
1174
|
+
* CreateRiskCenterScanTask返回参数结构体
|
|
1069
1175
|
*/
|
|
1070
|
-
export interface
|
|
1176
|
+
export interface CreateRiskCenterScanTaskResponse {
|
|
1071
1177
|
/**
|
|
1072
|
-
*
|
|
1178
|
+
* 任务id
|
|
1073
1179
|
*/
|
|
1074
|
-
|
|
1180
|
+
TaskId?: string
|
|
1075
1181
|
/**
|
|
1076
|
-
*
|
|
1182
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1077
1183
|
*/
|
|
1078
|
-
|
|
1184
|
+
RequestId?: string
|
|
1079
1185
|
}
|
|
1080
1186
|
|
|
1081
1187
|
/**
|
|
@@ -1245,6 +1351,36 @@ export interface DescribeVpcAssetsRequest {
|
|
|
1245
1351
|
Filter?: Filter
|
|
1246
1352
|
}
|
|
1247
1353
|
|
|
1354
|
+
/**
|
|
1355
|
+
* 任务资产项
|
|
1356
|
+
*/
|
|
1357
|
+
export interface TaskAssetObject {
|
|
1358
|
+
/**
|
|
1359
|
+
* 资产名
|
|
1360
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1361
|
+
*/
|
|
1362
|
+
AssetName?: string
|
|
1363
|
+
/**
|
|
1364
|
+
* 资产类型
|
|
1365
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1366
|
+
*/
|
|
1367
|
+
InstanceType?: string
|
|
1368
|
+
/**
|
|
1369
|
+
* 资产分类
|
|
1370
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1371
|
+
*/
|
|
1372
|
+
AssetType?: string
|
|
1373
|
+
/**
|
|
1374
|
+
* ip/域名/资产id,数据库id等
|
|
1375
|
+
*/
|
|
1376
|
+
Asset?: string
|
|
1377
|
+
/**
|
|
1378
|
+
* 地域
|
|
1379
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1380
|
+
*/
|
|
1381
|
+
Region?: string
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1248
1384
|
/**
|
|
1249
1385
|
* 列表查询接口采用新filter 接口,直接传给后台供后台查询过滤
|
|
1250
1386
|
*/
|
|
@@ -1340,6 +1476,20 @@ export interface DbAssetInfo {
|
|
|
1340
1476
|
Tag?: Array<Tag>
|
|
1341
1477
|
}
|
|
1342
1478
|
|
|
1479
|
+
/**
|
|
1480
|
+
* 标签
|
|
1481
|
+
*/
|
|
1482
|
+
export interface Tag {
|
|
1483
|
+
/**
|
|
1484
|
+
* 标签名称
|
|
1485
|
+
*/
|
|
1486
|
+
Name: string
|
|
1487
|
+
/**
|
|
1488
|
+
* 标签内容
|
|
1489
|
+
*/
|
|
1490
|
+
Value: string
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1343
1493
|
/**
|
|
1344
1494
|
* ip列表
|
|
1345
1495
|
*/
|
|
@@ -20,6 +20,7 @@ import { ClientConfig } from "../../../common/interface"
|
|
|
20
20
|
import {
|
|
21
21
|
DescribeResultDownloadResponse,
|
|
22
22
|
DescribeTaskResultResponse,
|
|
23
|
+
PrestoMonitorMetrics,
|
|
23
24
|
DescribeNotebookSessionStatementRequest,
|
|
24
25
|
NetworkConnection,
|
|
25
26
|
CancelNotebookSessionStatementRequest,
|
|
@@ -58,6 +59,7 @@ import {
|
|
|
58
59
|
DescribeDMSTableResponse,
|
|
59
60
|
DropDMSPartitionsRequest,
|
|
60
61
|
NotebookSessions,
|
|
62
|
+
CommonMetrics,
|
|
61
63
|
CreateNotebookSessionStatementSupportBatchSQLRequest,
|
|
62
64
|
CreateTasksInOrderRequest,
|
|
63
65
|
AddDMSPartitionsResponse,
|
|
@@ -114,6 +116,7 @@ import {
|
|
|
114
116
|
CreateTaskRequest,
|
|
115
117
|
DescribeNotebookSessionRequest,
|
|
116
118
|
CSV,
|
|
119
|
+
SparkMonitorMetrics,
|
|
117
120
|
NotebookSessionStatementInfo,
|
|
118
121
|
CreateTableRequest,
|
|
119
122
|
CreateNotebookSessionStatementRequest,
|
|
@@ -269,7 +272,7 @@ export class Client extends AbstractClient {
|
|
|
269
272
|
}
|
|
270
273
|
|
|
271
274
|
/**
|
|
272
|
-
* 本接口(CreateTask
|
|
275
|
+
* 本接口(CreateTask)用于创建并执行SQL任务。(推荐使用CreateTasks接口)
|
|
273
276
|
*/
|
|
274
277
|
async CreateTask(
|
|
275
278
|
req: CreateTaskRequest,
|
|
@@ -299,7 +302,7 @@ export class Client extends AbstractClient {
|
|
|
299
302
|
}
|
|
300
303
|
|
|
301
304
|
/**
|
|
302
|
-
* 本接口(DescribeForbiddenTablePro
|
|
305
|
+
* 本接口(DescribeForbiddenTablePro)用于查询被禁用的表属性列表(新)
|
|
303
306
|
*/
|
|
304
307
|
async DescribeForbiddenTablePro(
|
|
305
308
|
req?: DescribeForbiddenTableProRequest,
|
|
@@ -309,7 +312,7 @@ export class Client extends AbstractClient {
|
|
|
309
312
|
}
|
|
310
313
|
|
|
311
314
|
/**
|
|
312
|
-
* 本接口(DescribeNotebookSession
|
|
315
|
+
* 本接口(DescribeNotebookSession)用于查询交互式 session详情信息
|
|
313
316
|
*/
|
|
314
317
|
async DescribeNotebookSession(
|
|
315
318
|
req: DescribeNotebookSessionRequest,
|
|
@@ -319,7 +322,7 @@ export class Client extends AbstractClient {
|
|
|
319
322
|
}
|
|
320
323
|
|
|
321
324
|
/**
|
|
322
|
-
* 本接口(CreateNotebookSession
|
|
325
|
+
* 本接口(CreateNotebookSession)用于创建交互式session(notebook)
|
|
323
326
|
*/
|
|
324
327
|
async CreateNotebookSession(
|
|
325
328
|
req: CreateNotebookSessionRequest,
|
|
@@ -359,7 +362,7 @@ export class Client extends AbstractClient {
|
|
|
359
362
|
}
|
|
360
363
|
|
|
361
364
|
/**
|
|
362
|
-
* 本接口(CreateNotebookSessionStatementSupportBatchSQL
|
|
365
|
+
* 本接口(CreateNotebookSessionStatementSupportBatchSQL)用于创建交互式session并执行SQL任务
|
|
363
366
|
*/
|
|
364
367
|
async CreateNotebookSessionStatementSupportBatchSQL(
|
|
365
368
|
req: CreateNotebookSessionStatementSupportBatchSQLRequest,
|
|
@@ -449,7 +452,7 @@ export class Client extends AbstractClient {
|
|
|
449
452
|
}
|
|
450
453
|
|
|
451
454
|
/**
|
|
452
|
-
*
|
|
455
|
+
* 启动Spark作业
|
|
453
456
|
*/
|
|
454
457
|
async CreateSparkAppTask(
|
|
455
458
|
req: CreateSparkAppTaskRequest,
|
|
@@ -479,7 +482,7 @@ export class Client extends AbstractClient {
|
|
|
479
482
|
}
|
|
480
483
|
|
|
481
484
|
/**
|
|
482
|
-
* 本接口(DescribeNotebookSessions
|
|
485
|
+
* 本接口(DescribeNotebookSessions)用于查询交互式 session列表
|
|
483
486
|
*/
|
|
484
487
|
async DescribeNotebookSessions(
|
|
485
488
|
req: DescribeNotebookSessionsRequest,
|
|
@@ -539,7 +542,7 @@ export class Client extends AbstractClient {
|
|
|
539
542
|
}
|
|
540
543
|
|
|
541
544
|
/**
|
|
542
|
-
*
|
|
545
|
+
* 查询spark作业列表
|
|
543
546
|
*/
|
|
544
547
|
async DescribeSparkAppJobs(
|
|
545
548
|
req: DescribeSparkAppJobsRequest,
|
|
@@ -559,7 +562,7 @@ export class Client extends AbstractClient {
|
|
|
559
562
|
}
|
|
560
563
|
|
|
561
564
|
/**
|
|
562
|
-
* 本接口(CreateTasks
|
|
565
|
+
* 本接口(CreateTasks),用于批量创建并执行SQL任务
|
|
563
566
|
*/
|
|
564
567
|
async CreateTasks(
|
|
565
568
|
req: CreateTasksRequest,
|
|
@@ -569,7 +572,7 @@ export class Client extends AbstractClient {
|
|
|
569
572
|
}
|
|
570
573
|
|
|
571
574
|
/**
|
|
572
|
-
* 该接口(DescribeScripts
|
|
575
|
+
* 该接口(DescribeScripts)用于查询SQL脚本列表
|
|
573
576
|
*/
|
|
574
577
|
async DescribeScripts(
|
|
575
578
|
req: DescribeScriptsRequest,
|
|
@@ -599,7 +602,7 @@ export class Client extends AbstractClient {
|
|
|
599
602
|
}
|
|
600
603
|
|
|
601
604
|
/**
|
|
602
|
-
* 本接口(ListTaskJobLogDetail)用于获取spark
|
|
605
|
+
* 本接口(ListTaskJobLogDetail)用于获取spark 作业任务日志详情
|
|
603
606
|
*/
|
|
604
607
|
async ListTaskJobLogDetail(
|
|
605
608
|
req: ListTaskJobLogDetailRequest,
|
|
@@ -639,7 +642,7 @@ export class Client extends AbstractClient {
|
|
|
639
642
|
}
|
|
640
643
|
|
|
641
644
|
/**
|
|
642
|
-
* 创建spark
|
|
645
|
+
* 创建spark作业
|
|
643
646
|
*/
|
|
644
647
|
async CreateSparkApp(
|
|
645
648
|
req: CreateSparkAppRequest,
|
|
@@ -669,7 +672,7 @@ export class Client extends AbstractClient {
|
|
|
669
672
|
}
|
|
670
673
|
|
|
671
674
|
/**
|
|
672
|
-
* 本接口(DescribeNotebookSessionStatements
|
|
675
|
+
* 本接口(DescribeNotebookSessionStatements)用于查询Session中执行的任务列表
|
|
673
676
|
*/
|
|
674
677
|
async DescribeNotebookSessionStatements(
|
|
675
678
|
req: DescribeNotebookSessionStatementsRequest,
|
|
@@ -679,7 +682,7 @@ export class Client extends AbstractClient {
|
|
|
679
682
|
}
|
|
680
683
|
|
|
681
684
|
/**
|
|
682
|
-
*
|
|
685
|
+
* 本接口用于控制挂起或启动数据引擎
|
|
683
686
|
*/
|
|
684
687
|
async SuspendResumeDataEngine(
|
|
685
688
|
req: SuspendResumeDataEngineRequest,
|
|
@@ -739,7 +742,7 @@ export class Client extends AbstractClient {
|
|
|
739
742
|
}
|
|
740
743
|
|
|
741
744
|
/**
|
|
742
|
-
* 本接口(CreateNotebookSessionStatement
|
|
745
|
+
* 本接口(CreateNotebookSessionStatement)用于在session中执行代码片段
|
|
743
746
|
*/
|
|
744
747
|
async CreateNotebookSessionStatement(
|
|
745
748
|
req: CreateNotebookSessionStatementRequest,
|
|
@@ -749,7 +752,7 @@ export class Client extends AbstractClient {
|
|
|
749
752
|
}
|
|
750
753
|
|
|
751
754
|
/**
|
|
752
|
-
* 本接口(DescribeDataEngines
|
|
755
|
+
* 本接口(DescribeDataEngines)用于查询DataEngines信息列表
|
|
753
756
|
*/
|
|
754
757
|
async DescribeDataEngines(
|
|
755
758
|
req: DescribeDataEnginesRequest,
|
|
@@ -779,7 +782,7 @@ export class Client extends AbstractClient {
|
|
|
779
782
|
}
|
|
780
783
|
|
|
781
784
|
/**
|
|
782
|
-
* 本接口(CancelNotebookSessionStatementBatch
|
|
785
|
+
* 本接口(CancelNotebookSessionStatementBatch)用于批量取消Session 中执行的任务
|
|
783
786
|
*/
|
|
784
787
|
async CancelNotebookSessionStatementBatch(
|
|
785
788
|
req: CancelNotebookSessionStatementBatchRequest,
|
|
@@ -789,7 +792,7 @@ export class Client extends AbstractClient {
|
|
|
789
792
|
}
|
|
790
793
|
|
|
791
794
|
/**
|
|
792
|
-
* 删除spark
|
|
795
|
+
* 删除spark作业
|
|
793
796
|
*/
|
|
794
797
|
async DeleteSparkApp(
|
|
795
798
|
req: DeleteSparkAppRequest,
|
|
@@ -799,7 +802,7 @@ export class Client extends AbstractClient {
|
|
|
799
802
|
}
|
|
800
803
|
|
|
801
804
|
/**
|
|
802
|
-
* 本接口(DescribeNotebookSessionLog
|
|
805
|
+
* 本接口(DescribeNotebookSessionLog)用于查询交互式 session日志
|
|
803
806
|
*/
|
|
804
807
|
async DescribeNotebookSessionLog(
|
|
805
808
|
req: DescribeNotebookSessionLogRequest,
|
|
@@ -859,7 +862,7 @@ export class Client extends AbstractClient {
|
|
|
859
862
|
}
|
|
860
863
|
|
|
861
864
|
/**
|
|
862
|
-
* 本接口(CancelTask
|
|
865
|
+
* 本接口(CancelTask),用于取消任务
|
|
863
866
|
*/
|
|
864
867
|
async CancelTask(
|
|
865
868
|
req: CancelTaskRequest,
|
|
@@ -869,7 +872,7 @@ export class Client extends AbstractClient {
|
|
|
869
872
|
}
|
|
870
873
|
|
|
871
874
|
/**
|
|
872
|
-
* 更新spark
|
|
875
|
+
* 更新spark作业
|
|
873
876
|
*/
|
|
874
877
|
async ModifySparkApp(
|
|
875
878
|
req: ModifySparkAppRequest,
|
|
@@ -889,7 +892,7 @@ export class Client extends AbstractClient {
|
|
|
889
892
|
}
|
|
890
893
|
|
|
891
894
|
/**
|
|
892
|
-
* 本接口根据引擎ID
|
|
895
|
+
* 本接口根据引擎ID查询数据引擎资源使用情况
|
|
893
896
|
*/
|
|
894
897
|
async DescribeEngineUsageInfo(
|
|
895
898
|
req: DescribeEngineUsageInfoRequest,
|
|
@@ -1049,7 +1052,7 @@ export class Client extends AbstractClient {
|
|
|
1049
1052
|
}
|
|
1050
1053
|
|
|
1051
1054
|
/**
|
|
1052
|
-
* 本接口(DescribeNotebookSessionStatement
|
|
1055
|
+
* 本接口(DescribeNotebookSessionStatement)用于查询session 中执行任务的详情
|
|
1053
1056
|
*/
|
|
1054
1057
|
async DescribeNotebookSessionStatement(
|
|
1055
1058
|
req: DescribeNotebookSessionStatementRequest,
|
|
@@ -1119,7 +1122,7 @@ export class Client extends AbstractClient {
|
|
|
1119
1122
|
}
|
|
1120
1123
|
|
|
1121
1124
|
/**
|
|
1122
|
-
* 本接口(CancelNotebookSessionStatement)用于取消session
|
|
1125
|
+
* 本接口(CancelNotebookSessionStatement)用于取消session中执行的任务
|
|
1123
1126
|
*/
|
|
1124
1127
|
async CancelNotebookSessionStatement(
|
|
1125
1128
|
req: CancelNotebookSessionStatementRequest,
|
|
@@ -1139,7 +1142,7 @@ export class Client extends AbstractClient {
|
|
|
1139
1142
|
}
|
|
1140
1143
|
|
|
1141
1144
|
/**
|
|
1142
|
-
*
|
|
1145
|
+
* 查询spark作业信息
|
|
1143
1146
|
*/
|
|
1144
1147
|
async DescribeSparkAppJob(
|
|
1145
1148
|
req: DescribeSparkAppJobRequest,
|
|
@@ -1149,7 +1152,7 @@ export class Client extends AbstractClient {
|
|
|
1149
1152
|
}
|
|
1150
1153
|
|
|
1151
1154
|
/**
|
|
1152
|
-
* 查询
|
|
1155
|
+
* 查询Spark作业的运行任务列表
|
|
1153
1156
|
*/
|
|
1154
1157
|
async DescribeSparkAppTasks(
|
|
1155
1158
|
req: DescribeSparkAppTasksRequest,
|