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
|
@@ -52,13 +52,45 @@ export interface DescribeDbAssetInfoResponse {
|
|
|
52
52
|
RequestId?: string;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* CreateRiskCenterScanTask请求参数结构体
|
|
56
56
|
*/
|
|
57
|
-
export interface
|
|
57
|
+
export interface CreateRiskCenterScanTaskRequest {
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* 任务名称
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
TaskName: string;
|
|
62
|
+
/**
|
|
63
|
+
* 0-全扫,1-指定资产扫,2-排除资产扫,3-手动填写扫;1和2则Assets字段必填,3则SelfDefiningAssets必填
|
|
64
|
+
*/
|
|
65
|
+
ScanAssetType: number;
|
|
66
|
+
/**
|
|
67
|
+
* 扫描项目;port/poc/weakpass/webcontent/configrisk
|
|
68
|
+
*/
|
|
69
|
+
ScanItem: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
* 0-周期任务,1-立即扫描,2-定时扫描,3-自定义;0,2,3则ScanPlanContent必填
|
|
72
|
+
*/
|
|
73
|
+
ScanPlanType: number;
|
|
74
|
+
/**
|
|
75
|
+
* 扫描资产信息列表
|
|
76
|
+
*/
|
|
77
|
+
Assets?: Array<TaskAssetObject>;
|
|
78
|
+
/**
|
|
79
|
+
* 扫描计划详情
|
|
80
|
+
*/
|
|
81
|
+
ScanPlanContent?: string;
|
|
82
|
+
/**
|
|
83
|
+
* ip/域名/url数组
|
|
84
|
+
*/
|
|
85
|
+
SelfDefiningAssets?: Array<string>;
|
|
86
|
+
/**
|
|
87
|
+
* 高级配置
|
|
88
|
+
*/
|
|
89
|
+
TaskAdvanceCFG?: TaskAdvanceCFG;
|
|
90
|
+
/**
|
|
91
|
+
* 体检模式,0-标准模式,1-快速模式,2-高级模式,默认标准模式
|
|
92
|
+
*/
|
|
93
|
+
TaskMode?: number;
|
|
62
94
|
}
|
|
63
95
|
/**
|
|
64
96
|
* DescribeScanReportList请求参数结构体
|
|
@@ -78,6 +110,19 @@ export interface DescribeRiskCenterAssetViewVULRiskListRequest {
|
|
|
78
110
|
*/
|
|
79
111
|
Filter?: Filter;
|
|
80
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* 弱口令风险高级配置
|
|
115
|
+
*/
|
|
116
|
+
export interface TaskCenterWeakPwdRiskInputParam {
|
|
117
|
+
/**
|
|
118
|
+
* 检测项ID
|
|
119
|
+
*/
|
|
120
|
+
CheckItemId: number;
|
|
121
|
+
/**
|
|
122
|
+
* 是否开启,0-不开启,1-开启
|
|
123
|
+
*/
|
|
124
|
+
Enable: number;
|
|
125
|
+
}
|
|
81
126
|
/**
|
|
82
127
|
* CreateDomainAndIp请求参数结构体
|
|
83
128
|
*/
|
|
@@ -257,6 +302,36 @@ export interface DomainAssetVO {
|
|
|
257
302
|
*/
|
|
258
303
|
WebAttack?: number;
|
|
259
304
|
}
|
|
305
|
+
/**
|
|
306
|
+
* 配置风险高级配置
|
|
307
|
+
*/
|
|
308
|
+
export interface TaskCenterCFGRiskInputParam {
|
|
309
|
+
/**
|
|
310
|
+
* 检测项ID
|
|
311
|
+
*/
|
|
312
|
+
ItemId: string;
|
|
313
|
+
/**
|
|
314
|
+
* 是否开启,0-不开启,1-开启
|
|
315
|
+
*/
|
|
316
|
+
Enable: number;
|
|
317
|
+
/**
|
|
318
|
+
* 资源类型
|
|
319
|
+
*/
|
|
320
|
+
ResourceType: string;
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* 漏洞风险高级配置
|
|
324
|
+
*/
|
|
325
|
+
export interface TaskCenterVulRiskInputParam {
|
|
326
|
+
/**
|
|
327
|
+
* 风险ID
|
|
328
|
+
*/
|
|
329
|
+
RiskId: string;
|
|
330
|
+
/**
|
|
331
|
+
* 是否开启,0-不开启,1-开启
|
|
332
|
+
*/
|
|
333
|
+
Enable: number;
|
|
334
|
+
}
|
|
260
335
|
/**
|
|
261
336
|
* DescribeVpcAssets返回参数结构体
|
|
262
337
|
*/
|
|
@@ -299,6 +374,15 @@ export interface FilterDataObject {
|
|
|
299
374
|
*/
|
|
300
375
|
Text?: string;
|
|
301
376
|
}
|
|
377
|
+
/**
|
|
378
|
+
* DescribeDbAssets请求参数结构体
|
|
379
|
+
*/
|
|
380
|
+
export interface DescribeDbAssetsRequest {
|
|
381
|
+
/**
|
|
382
|
+
* -
|
|
383
|
+
*/
|
|
384
|
+
Filter?: Filter;
|
|
385
|
+
}
|
|
302
386
|
/**
|
|
303
387
|
* 主机资产信息
|
|
304
388
|
*/
|
|
@@ -766,6 +850,23 @@ export interface DescribeCVMAssetsRequest {
|
|
|
766
850
|
*/
|
|
767
851
|
Filter?: Filter;
|
|
768
852
|
}
|
|
853
|
+
/**
|
|
854
|
+
* 任务高级配置
|
|
855
|
+
*/
|
|
856
|
+
export interface TaskAdvanceCFG {
|
|
857
|
+
/**
|
|
858
|
+
* 漏洞风险高级配置
|
|
859
|
+
*/
|
|
860
|
+
VulRisk?: Array<TaskCenterVulRiskInputParam>;
|
|
861
|
+
/**
|
|
862
|
+
* 弱口令风险高级配置
|
|
863
|
+
*/
|
|
864
|
+
WeakPwdRisk?: Array<TaskCenterWeakPwdRiskInputParam>;
|
|
865
|
+
/**
|
|
866
|
+
* 配置风险高级配置
|
|
867
|
+
*/
|
|
868
|
+
CFGRisk?: Array<TaskCenterCFGRiskInputParam>;
|
|
869
|
+
}
|
|
769
870
|
/**
|
|
770
871
|
* db资产输出字段
|
|
771
872
|
*/
|
|
@@ -1026,17 +1127,17 @@ export interface SubnetAsset {
|
|
|
1026
1127
|
IsCore?: number;
|
|
1027
1128
|
}
|
|
1028
1129
|
/**
|
|
1029
|
-
*
|
|
1130
|
+
* CreateRiskCenterScanTask返回参数结构体
|
|
1030
1131
|
*/
|
|
1031
|
-
export interface
|
|
1132
|
+
export interface CreateRiskCenterScanTaskResponse {
|
|
1032
1133
|
/**
|
|
1033
|
-
*
|
|
1134
|
+
* 任务id
|
|
1034
1135
|
*/
|
|
1035
|
-
|
|
1136
|
+
TaskId?: string;
|
|
1036
1137
|
/**
|
|
1037
|
-
*
|
|
1138
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1038
1139
|
*/
|
|
1039
|
-
|
|
1140
|
+
RequestId?: string;
|
|
1040
1141
|
}
|
|
1041
1142
|
/**
|
|
1042
1143
|
* DescribeRiskCenterAssetViewPortRiskList返回参数结构体
|
|
@@ -1199,6 +1300,35 @@ export interface DescribeVpcAssetsRequest {
|
|
|
1199
1300
|
*/
|
|
1200
1301
|
Filter?: Filter;
|
|
1201
1302
|
}
|
|
1303
|
+
/**
|
|
1304
|
+
* 任务资产项
|
|
1305
|
+
*/
|
|
1306
|
+
export interface TaskAssetObject {
|
|
1307
|
+
/**
|
|
1308
|
+
* 资产名
|
|
1309
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1310
|
+
*/
|
|
1311
|
+
AssetName?: string;
|
|
1312
|
+
/**
|
|
1313
|
+
* 资产类型
|
|
1314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1315
|
+
*/
|
|
1316
|
+
InstanceType?: string;
|
|
1317
|
+
/**
|
|
1318
|
+
* 资产分类
|
|
1319
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1320
|
+
*/
|
|
1321
|
+
AssetType?: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* ip/域名/资产id,数据库id等
|
|
1324
|
+
*/
|
|
1325
|
+
Asset?: string;
|
|
1326
|
+
/**
|
|
1327
|
+
* 地域
|
|
1328
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1329
|
+
*/
|
|
1330
|
+
Region?: string;
|
|
1331
|
+
}
|
|
1202
1332
|
/**
|
|
1203
1333
|
* 列表查询接口采用新filter 接口,直接传给后台供后台查询过滤
|
|
1204
1334
|
*/
|
|
@@ -1292,6 +1422,19 @@ export interface DbAssetInfo {
|
|
|
1292
1422
|
*/
|
|
1293
1423
|
Tag?: Array<Tag>;
|
|
1294
1424
|
}
|
|
1425
|
+
/**
|
|
1426
|
+
* 标签
|
|
1427
|
+
*/
|
|
1428
|
+
export interface Tag {
|
|
1429
|
+
/**
|
|
1430
|
+
* 标签名称
|
|
1431
|
+
*/
|
|
1432
|
+
Name: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* 标签内容
|
|
1435
|
+
*/
|
|
1436
|
+
Value: string;
|
|
1437
|
+
}
|
|
1295
1438
|
/**
|
|
1296
1439
|
* ip列表
|
|
1297
1440
|
*/
|
|
@@ -8,7 +8,7 @@ import { DescribeResultDownloadResponse, DescribeTaskResultResponse, DescribeNot
|
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
10
|
/**
|
|
11
|
-
* 本接口(CreateTask
|
|
11
|
+
* 本接口(CreateTask)用于创建并执行SQL任务。(推荐使用CreateTasks接口)
|
|
12
12
|
*/
|
|
13
13
|
CreateTask(req: CreateTaskRequest, cb?: (error: string, rep: CreateTaskResponse) => void): Promise<CreateTaskResponse>;
|
|
14
14
|
/**
|
|
@@ -20,15 +20,15 @@ export declare class Client extends AbstractClient {
|
|
|
20
20
|
*/
|
|
21
21
|
AlterDMSTable(req: AlterDMSTableRequest, cb?: (error: string, rep: AlterDMSTableResponse) => void): Promise<AlterDMSTableResponse>;
|
|
22
22
|
/**
|
|
23
|
-
* 本接口(DescribeForbiddenTablePro
|
|
23
|
+
* 本接口(DescribeForbiddenTablePro)用于查询被禁用的表属性列表(新)
|
|
24
24
|
*/
|
|
25
25
|
DescribeForbiddenTablePro(req?: DescribeForbiddenTableProRequest, cb?: (error: string, rep: DescribeForbiddenTableProResponse) => void): Promise<DescribeForbiddenTableProResponse>;
|
|
26
26
|
/**
|
|
27
|
-
* 本接口(DescribeNotebookSession
|
|
27
|
+
* 本接口(DescribeNotebookSession)用于查询交互式 session详情信息
|
|
28
28
|
*/
|
|
29
29
|
DescribeNotebookSession(req: DescribeNotebookSessionRequest, cb?: (error: string, rep: DescribeNotebookSessionResponse) => void): Promise<DescribeNotebookSessionResponse>;
|
|
30
30
|
/**
|
|
31
|
-
* 本接口(CreateNotebookSession
|
|
31
|
+
* 本接口(CreateNotebookSession)用于创建交互式session(notebook)
|
|
32
32
|
*/
|
|
33
33
|
CreateNotebookSession(req: CreateNotebookSessionRequest, cb?: (error: string, rep: CreateNotebookSessionResponse) => void): Promise<CreateNotebookSessionResponse>;
|
|
34
34
|
/**
|
|
@@ -44,7 +44,7 @@ export declare class Client extends AbstractClient {
|
|
|
44
44
|
*/
|
|
45
45
|
CreateStoreLocation(req: CreateStoreLocationRequest, cb?: (error: string, rep: CreateStoreLocationResponse) => void): Promise<CreateStoreLocationResponse>;
|
|
46
46
|
/**
|
|
47
|
-
* 本接口(CreateNotebookSessionStatementSupportBatchSQL
|
|
47
|
+
* 本接口(CreateNotebookSessionStatementSupportBatchSQL)用于创建交互式session并执行SQL任务
|
|
48
48
|
*/
|
|
49
49
|
CreateNotebookSessionStatementSupportBatchSQL(req: CreateNotebookSessionStatementSupportBatchSQLRequest, cb?: (error: string, rep: CreateNotebookSessionStatementSupportBatchSQLResponse) => void): Promise<CreateNotebookSessionStatementSupportBatchSQLResponse>;
|
|
50
50
|
/**
|
|
@@ -80,7 +80,7 @@ export declare class Client extends AbstractClient {
|
|
|
80
80
|
*/
|
|
81
81
|
DeleteScript(req: DeleteScriptRequest, cb?: (error: string, rep: DeleteScriptResponse) => void): Promise<DeleteScriptResponse>;
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* 启动Spark作业
|
|
84
84
|
*/
|
|
85
85
|
CreateSparkAppTask(req: CreateSparkAppTaskRequest, cb?: (error: string, rep: CreateSparkAppTaskResponse) => void): Promise<CreateSparkAppTaskResponse>;
|
|
86
86
|
/**
|
|
@@ -92,7 +92,7 @@ export declare class Client extends AbstractClient {
|
|
|
92
92
|
*/
|
|
93
93
|
DescribeDatabases(req: DescribeDatabasesRequest, cb?: (error: string, rep: DescribeDatabasesResponse) => void): Promise<DescribeDatabasesResponse>;
|
|
94
94
|
/**
|
|
95
|
-
* 本接口(DescribeNotebookSessions
|
|
95
|
+
* 本接口(DescribeNotebookSessions)用于查询交互式 session列表
|
|
96
96
|
*/
|
|
97
97
|
DescribeNotebookSessions(req: DescribeNotebookSessionsRequest, cb?: (error: string, rep: DescribeNotebookSessionsResponse) => void): Promise<DescribeNotebookSessionsResponse>;
|
|
98
98
|
/**
|
|
@@ -116,7 +116,7 @@ export declare class Client extends AbstractClient {
|
|
|
116
116
|
*/
|
|
117
117
|
LockMetaData(req: LockMetaDataRequest, cb?: (error: string, rep: LockMetaDataResponse) => void): Promise<LockMetaDataResponse>;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* 查询spark作业列表
|
|
120
120
|
*/
|
|
121
121
|
DescribeSparkAppJobs(req: DescribeSparkAppJobsRequest, cb?: (error: string, rep: DescribeSparkAppJobsResponse) => void): Promise<DescribeSparkAppJobsResponse>;
|
|
122
122
|
/**
|
|
@@ -124,11 +124,11 @@ export declare class Client extends AbstractClient {
|
|
|
124
124
|
*/
|
|
125
125
|
DescribeUsers(req: DescribeUsersRequest, cb?: (error: string, rep: DescribeUsersResponse) => void): Promise<DescribeUsersResponse>;
|
|
126
126
|
/**
|
|
127
|
-
* 本接口(CreateTasks
|
|
127
|
+
* 本接口(CreateTasks),用于批量创建并执行SQL任务
|
|
128
128
|
*/
|
|
129
129
|
CreateTasks(req: CreateTasksRequest, cb?: (error: string, rep: CreateTasksResponse) => void): Promise<CreateTasksResponse>;
|
|
130
130
|
/**
|
|
131
|
-
* 该接口(DescribeScripts
|
|
131
|
+
* 该接口(DescribeScripts)用于查询SQL脚本列表
|
|
132
132
|
*/
|
|
133
133
|
DescribeScripts(req: DescribeScriptsRequest, cb?: (error: string, rep: DescribeScriptsResponse) => void): Promise<DescribeScriptsResponse>;
|
|
134
134
|
/**
|
|
@@ -140,7 +140,7 @@ export declare class Client extends AbstractClient {
|
|
|
140
140
|
*/
|
|
141
141
|
ReportHeartbeatMetaData(req: ReportHeartbeatMetaDataRequest, cb?: (error: string, rep: ReportHeartbeatMetaDataResponse) => void): Promise<ReportHeartbeatMetaDataResponse>;
|
|
142
142
|
/**
|
|
143
|
-
* 本接口(ListTaskJobLogDetail)用于获取spark
|
|
143
|
+
* 本接口(ListTaskJobLogDetail)用于获取spark 作业任务日志详情
|
|
144
144
|
*/
|
|
145
145
|
ListTaskJobLogDetail(req: ListTaskJobLogDetailRequest, cb?: (error: string, rep: ListTaskJobLogDetailResponse) => void): Promise<ListTaskJobLogDetailResponse>;
|
|
146
146
|
/**
|
|
@@ -156,7 +156,7 @@ export declare class Client extends AbstractClient {
|
|
|
156
156
|
*/
|
|
157
157
|
AttachWorkGroupPolicy(req: AttachWorkGroupPolicyRequest, cb?: (error: string, rep: AttachWorkGroupPolicyResponse) => void): Promise<AttachWorkGroupPolicyResponse>;
|
|
158
158
|
/**
|
|
159
|
-
* 创建spark
|
|
159
|
+
* 创建spark作业
|
|
160
160
|
*/
|
|
161
161
|
CreateSparkApp(req: CreateSparkAppRequest, cb?: (error: string, rep: CreateSparkAppResponse) => void): Promise<CreateSparkAppResponse>;
|
|
162
162
|
/**
|
|
@@ -168,11 +168,11 @@ export declare class Client extends AbstractClient {
|
|
|
168
168
|
*/
|
|
169
169
|
CreateSparkSessionBatchSQL(req: CreateSparkSessionBatchSQLRequest, cb?: (error: string, rep: CreateSparkSessionBatchSQLResponse) => void): Promise<CreateSparkSessionBatchSQLResponse>;
|
|
170
170
|
/**
|
|
171
|
-
* 本接口(DescribeNotebookSessionStatements
|
|
171
|
+
* 本接口(DescribeNotebookSessionStatements)用于查询Session中执行的任务列表
|
|
172
172
|
*/
|
|
173
173
|
DescribeNotebookSessionStatements(req: DescribeNotebookSessionStatementsRequest, cb?: (error: string, rep: DescribeNotebookSessionStatementsResponse) => void): Promise<DescribeNotebookSessionStatementsResponse>;
|
|
174
174
|
/**
|
|
175
|
-
*
|
|
175
|
+
* 本接口用于控制挂起或启动数据引擎
|
|
176
176
|
*/
|
|
177
177
|
SuspendResumeDataEngine(req: SuspendResumeDataEngineRequest, cb?: (error: string, rep: SuspendResumeDataEngineResponse) => void): Promise<SuspendResumeDataEngineResponse>;
|
|
178
178
|
/**
|
|
@@ -196,11 +196,11 @@ export declare class Client extends AbstractClient {
|
|
|
196
196
|
*/
|
|
197
197
|
DescribeNotebookSessionStatementSqlResult(req: DescribeNotebookSessionStatementSqlResultRequest, cb?: (error: string, rep: DescribeNotebookSessionStatementSqlResultResponse) => void): Promise<DescribeNotebookSessionStatementSqlResultResponse>;
|
|
198
198
|
/**
|
|
199
|
-
* 本接口(CreateNotebookSessionStatement
|
|
199
|
+
* 本接口(CreateNotebookSessionStatement)用于在session中执行代码片段
|
|
200
200
|
*/
|
|
201
201
|
CreateNotebookSessionStatement(req: CreateNotebookSessionStatementRequest, cb?: (error: string, rep: CreateNotebookSessionStatementResponse) => void): Promise<CreateNotebookSessionStatementResponse>;
|
|
202
202
|
/**
|
|
203
|
-
* 本接口(DescribeDataEngines
|
|
203
|
+
* 本接口(DescribeDataEngines)用于查询DataEngines信息列表
|
|
204
204
|
*/
|
|
205
205
|
DescribeDataEngines(req: DescribeDataEnginesRequest, cb?: (error: string, rep: DescribeDataEnginesResponse) => void): Promise<DescribeDataEnginesResponse>;
|
|
206
206
|
/**
|
|
@@ -212,15 +212,15 @@ export declare class Client extends AbstractClient {
|
|
|
212
212
|
*/
|
|
213
213
|
AddDMSPartitions(req: AddDMSPartitionsRequest, cb?: (error: string, rep: AddDMSPartitionsResponse) => void): Promise<AddDMSPartitionsResponse>;
|
|
214
214
|
/**
|
|
215
|
-
* 本接口(CancelNotebookSessionStatementBatch
|
|
215
|
+
* 本接口(CancelNotebookSessionStatementBatch)用于批量取消Session 中执行的任务
|
|
216
216
|
*/
|
|
217
217
|
CancelNotebookSessionStatementBatch(req: CancelNotebookSessionStatementBatchRequest, cb?: (error: string, rep: CancelNotebookSessionStatementBatchResponse) => void): Promise<CancelNotebookSessionStatementBatchResponse>;
|
|
218
218
|
/**
|
|
219
|
-
* 删除spark
|
|
219
|
+
* 删除spark作业
|
|
220
220
|
*/
|
|
221
221
|
DeleteSparkApp(req: DeleteSparkAppRequest, cb?: (error: string, rep: DeleteSparkAppResponse) => void): Promise<DeleteSparkAppResponse>;
|
|
222
222
|
/**
|
|
223
|
-
* 本接口(DescribeNotebookSessionLog
|
|
223
|
+
* 本接口(DescribeNotebookSessionLog)用于查询交互式 session日志
|
|
224
224
|
*/
|
|
225
225
|
DescribeNotebookSessionLog(req: DescribeNotebookSessionLogRequest, cb?: (error: string, rep: DescribeNotebookSessionLogResponse) => void): Promise<DescribeNotebookSessionLogResponse>;
|
|
226
226
|
/**
|
|
@@ -244,11 +244,11 @@ export declare class Client extends AbstractClient {
|
|
|
244
244
|
*/
|
|
245
245
|
CancelSparkSessionBatchSQL(req: CancelSparkSessionBatchSQLRequest, cb?: (error: string, rep: CancelSparkSessionBatchSQLResponse) => void): Promise<CancelSparkSessionBatchSQLResponse>;
|
|
246
246
|
/**
|
|
247
|
-
* 本接口(CancelTask
|
|
247
|
+
* 本接口(CancelTask),用于取消任务
|
|
248
248
|
*/
|
|
249
249
|
CancelTask(req: CancelTaskRequest, cb?: (error: string, rep: CancelTaskResponse) => void): Promise<CancelTaskResponse>;
|
|
250
250
|
/**
|
|
251
|
-
* 更新spark
|
|
251
|
+
* 更新spark作业
|
|
252
252
|
*/
|
|
253
253
|
ModifySparkApp(req: ModifySparkAppRequest, cb?: (error: string, rep: ModifySparkAppResponse) => void): Promise<ModifySparkAppResponse>;
|
|
254
254
|
/**
|
|
@@ -256,7 +256,7 @@ export declare class Client extends AbstractClient {
|
|
|
256
256
|
*/
|
|
257
257
|
DeleteUser(req: DeleteUserRequest, cb?: (error: string, rep: DeleteUserResponse) => void): Promise<DeleteUserResponse>;
|
|
258
258
|
/**
|
|
259
|
-
* 本接口根据引擎ID
|
|
259
|
+
* 本接口根据引擎ID查询数据引擎资源使用情况
|
|
260
260
|
*/
|
|
261
261
|
DescribeEngineUsageInfo(req: DescribeEngineUsageInfoRequest, cb?: (error: string, rep: DescribeEngineUsageInfoResponse) => void): Promise<DescribeEngineUsageInfoResponse>;
|
|
262
262
|
/**
|
|
@@ -320,7 +320,7 @@ export declare class Client extends AbstractClient {
|
|
|
320
320
|
*/
|
|
321
321
|
CreateScript(req: CreateScriptRequest, cb?: (error: string, rep: CreateScriptResponse) => void): Promise<CreateScriptResponse>;
|
|
322
322
|
/**
|
|
323
|
-
* 本接口(DescribeNotebookSessionStatement
|
|
323
|
+
* 本接口(DescribeNotebookSessionStatement)用于查询session 中执行任务的详情
|
|
324
324
|
*/
|
|
325
325
|
DescribeNotebookSessionStatement(req: DescribeNotebookSessionStatementRequest, cb?: (error: string, rep: DescribeNotebookSessionStatementResponse) => void): Promise<DescribeNotebookSessionStatementResponse>;
|
|
326
326
|
/**
|
|
@@ -348,7 +348,7 @@ export declare class Client extends AbstractClient {
|
|
|
348
348
|
*/
|
|
349
349
|
DeleteNotebookSession(req: DeleteNotebookSessionRequest, cb?: (error: string, rep: DeleteNotebookSessionResponse) => void): Promise<DeleteNotebookSessionResponse>;
|
|
350
350
|
/**
|
|
351
|
-
* 本接口(CancelNotebookSessionStatement)用于取消session
|
|
351
|
+
* 本接口(CancelNotebookSessionStatement)用于取消session中执行的任务
|
|
352
352
|
*/
|
|
353
353
|
CancelNotebookSessionStatement(req: CancelNotebookSessionStatementRequest, cb?: (error: string, rep: CancelNotebookSessionStatementResponse) => void): Promise<CancelNotebookSessionStatementResponse>;
|
|
354
354
|
/**
|
|
@@ -356,11 +356,11 @@ export declare class Client extends AbstractClient {
|
|
|
356
356
|
*/
|
|
357
357
|
DescribeStoreLocation(req?: DescribeStoreLocationRequest, cb?: (error: string, rep: DescribeStoreLocationResponse) => void): Promise<DescribeStoreLocationResponse>;
|
|
358
358
|
/**
|
|
359
|
-
*
|
|
359
|
+
* 查询spark作业信息
|
|
360
360
|
*/
|
|
361
361
|
DescribeSparkAppJob(req: DescribeSparkAppJobRequest, cb?: (error: string, rep: DescribeSparkAppJobResponse) => void): Promise<DescribeSparkAppJobResponse>;
|
|
362
362
|
/**
|
|
363
|
-
* 查询
|
|
363
|
+
* 查询Spark作业的运行任务列表
|
|
364
364
|
*/
|
|
365
365
|
DescribeSparkAppTasks(req: DescribeSparkAppTasksRequest, cb?: (error: string, rep: DescribeSparkAppTasksResponse) => void): Promise<DescribeSparkAppTasksResponse>;
|
|
366
366
|
/**
|
|
@@ -28,7 +28,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("dlc.tencentcloudapi.com", "2021-01-25", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* 本接口(CreateTask
|
|
31
|
+
* 本接口(CreateTask)用于创建并执行SQL任务。(推荐使用CreateTasks接口)
|
|
32
32
|
*/
|
|
33
33
|
async CreateTask(req, cb) {
|
|
34
34
|
return this.request("CreateTask", req, cb);
|
|
@@ -46,19 +46,19 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
46
46
|
return this.request("AlterDMSTable", req, cb);
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
* 本接口(DescribeForbiddenTablePro
|
|
49
|
+
* 本接口(DescribeForbiddenTablePro)用于查询被禁用的表属性列表(新)
|
|
50
50
|
*/
|
|
51
51
|
async DescribeForbiddenTablePro(req, cb) {
|
|
52
52
|
return this.request("DescribeForbiddenTablePro", req, cb);
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
* 本接口(DescribeNotebookSession
|
|
55
|
+
* 本接口(DescribeNotebookSession)用于查询交互式 session详情信息
|
|
56
56
|
*/
|
|
57
57
|
async DescribeNotebookSession(req, cb) {
|
|
58
58
|
return this.request("DescribeNotebookSession", req, cb);
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
* 本接口(CreateNotebookSession
|
|
61
|
+
* 本接口(CreateNotebookSession)用于创建交互式session(notebook)
|
|
62
62
|
*/
|
|
63
63
|
async CreateNotebookSession(req, cb) {
|
|
64
64
|
return this.request("CreateNotebookSession", req, cb);
|
|
@@ -82,7 +82,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
82
82
|
return this.request("CreateStoreLocation", req, cb);
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
* 本接口(CreateNotebookSessionStatementSupportBatchSQL
|
|
85
|
+
* 本接口(CreateNotebookSessionStatementSupportBatchSQL)用于创建交互式session并执行SQL任务
|
|
86
86
|
*/
|
|
87
87
|
async CreateNotebookSessionStatementSupportBatchSQL(req, cb) {
|
|
88
88
|
return this.request("CreateNotebookSessionStatementSupportBatchSQL", req, cb);
|
|
@@ -136,7 +136,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
136
136
|
return this.request("DeleteScript", req, cb);
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
|
-
*
|
|
139
|
+
* 启动Spark作业
|
|
140
140
|
*/
|
|
141
141
|
async CreateSparkAppTask(req, cb) {
|
|
142
142
|
return this.request("CreateSparkAppTask", req, cb);
|
|
@@ -154,7 +154,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
154
154
|
return this.request("DescribeDatabases", req, cb);
|
|
155
155
|
}
|
|
156
156
|
/**
|
|
157
|
-
* 本接口(DescribeNotebookSessions
|
|
157
|
+
* 本接口(DescribeNotebookSessions)用于查询交互式 session列表
|
|
158
158
|
*/
|
|
159
159
|
async DescribeNotebookSessions(req, cb) {
|
|
160
160
|
return this.request("DescribeNotebookSessions", req, cb);
|
|
@@ -190,7 +190,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
190
190
|
return this.request("LockMetaData", req, cb);
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
|
-
*
|
|
193
|
+
* 查询spark作业列表
|
|
194
194
|
*/
|
|
195
195
|
async DescribeSparkAppJobs(req, cb) {
|
|
196
196
|
return this.request("DescribeSparkAppJobs", req, cb);
|
|
@@ -202,13 +202,13 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
202
202
|
return this.request("DescribeUsers", req, cb);
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
|
-
* 本接口(CreateTasks
|
|
205
|
+
* 本接口(CreateTasks),用于批量创建并执行SQL任务
|
|
206
206
|
*/
|
|
207
207
|
async CreateTasks(req, cb) {
|
|
208
208
|
return this.request("CreateTasks", req, cb);
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
|
-
* 该接口(DescribeScripts
|
|
211
|
+
* 该接口(DescribeScripts)用于查询SQL脚本列表
|
|
212
212
|
*/
|
|
213
213
|
async DescribeScripts(req, cb) {
|
|
214
214
|
return this.request("DescribeScripts", req, cb);
|
|
@@ -226,7 +226,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
226
226
|
return this.request("ReportHeartbeatMetaData", req, cb);
|
|
227
227
|
}
|
|
228
228
|
/**
|
|
229
|
-
* 本接口(ListTaskJobLogDetail)用于获取spark
|
|
229
|
+
* 本接口(ListTaskJobLogDetail)用于获取spark 作业任务日志详情
|
|
230
230
|
*/
|
|
231
231
|
async ListTaskJobLogDetail(req, cb) {
|
|
232
232
|
return this.request("ListTaskJobLogDetail", req, cb);
|
|
@@ -250,7 +250,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
250
250
|
return this.request("AttachWorkGroupPolicy", req, cb);
|
|
251
251
|
}
|
|
252
252
|
/**
|
|
253
|
-
* 创建spark
|
|
253
|
+
* 创建spark作业
|
|
254
254
|
*/
|
|
255
255
|
async CreateSparkApp(req, cb) {
|
|
256
256
|
return this.request("CreateSparkApp", req, cb);
|
|
@@ -268,13 +268,13 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
268
268
|
return this.request("CreateSparkSessionBatchSQL", req, cb);
|
|
269
269
|
}
|
|
270
270
|
/**
|
|
271
|
-
* 本接口(DescribeNotebookSessionStatements
|
|
271
|
+
* 本接口(DescribeNotebookSessionStatements)用于查询Session中执行的任务列表
|
|
272
272
|
*/
|
|
273
273
|
async DescribeNotebookSessionStatements(req, cb) {
|
|
274
274
|
return this.request("DescribeNotebookSessionStatements", req, cb);
|
|
275
275
|
}
|
|
276
276
|
/**
|
|
277
|
-
*
|
|
277
|
+
* 本接口用于控制挂起或启动数据引擎
|
|
278
278
|
*/
|
|
279
279
|
async SuspendResumeDataEngine(req, cb) {
|
|
280
280
|
return this.request("SuspendResumeDataEngine", req, cb);
|
|
@@ -310,13 +310,13 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
310
310
|
return this.request("DescribeNotebookSessionStatementSqlResult", req, cb);
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
|
-
* 本接口(CreateNotebookSessionStatement
|
|
313
|
+
* 本接口(CreateNotebookSessionStatement)用于在session中执行代码片段
|
|
314
314
|
*/
|
|
315
315
|
async CreateNotebookSessionStatement(req, cb) {
|
|
316
316
|
return this.request("CreateNotebookSessionStatement", req, cb);
|
|
317
317
|
}
|
|
318
318
|
/**
|
|
319
|
-
* 本接口(DescribeDataEngines
|
|
319
|
+
* 本接口(DescribeDataEngines)用于查询DataEngines信息列表
|
|
320
320
|
*/
|
|
321
321
|
async DescribeDataEngines(req, cb) {
|
|
322
322
|
return this.request("DescribeDataEngines", req, cb);
|
|
@@ -334,19 +334,19 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
334
334
|
return this.request("AddDMSPartitions", req, cb);
|
|
335
335
|
}
|
|
336
336
|
/**
|
|
337
|
-
* 本接口(CancelNotebookSessionStatementBatch
|
|
337
|
+
* 本接口(CancelNotebookSessionStatementBatch)用于批量取消Session 中执行的任务
|
|
338
338
|
*/
|
|
339
339
|
async CancelNotebookSessionStatementBatch(req, cb) {
|
|
340
340
|
return this.request("CancelNotebookSessionStatementBatch", req, cb);
|
|
341
341
|
}
|
|
342
342
|
/**
|
|
343
|
-
* 删除spark
|
|
343
|
+
* 删除spark作业
|
|
344
344
|
*/
|
|
345
345
|
async DeleteSparkApp(req, cb) {
|
|
346
346
|
return this.request("DeleteSparkApp", req, cb);
|
|
347
347
|
}
|
|
348
348
|
/**
|
|
349
|
-
* 本接口(DescribeNotebookSessionLog
|
|
349
|
+
* 本接口(DescribeNotebookSessionLog)用于查询交互式 session日志
|
|
350
350
|
*/
|
|
351
351
|
async DescribeNotebookSessionLog(req, cb) {
|
|
352
352
|
return this.request("DescribeNotebookSessionLog", req, cb);
|
|
@@ -382,13 +382,13 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
382
382
|
return this.request("CancelSparkSessionBatchSQL", req, cb);
|
|
383
383
|
}
|
|
384
384
|
/**
|
|
385
|
-
* 本接口(CancelTask
|
|
385
|
+
* 本接口(CancelTask),用于取消任务
|
|
386
386
|
*/
|
|
387
387
|
async CancelTask(req, cb) {
|
|
388
388
|
return this.request("CancelTask", req, cb);
|
|
389
389
|
}
|
|
390
390
|
/**
|
|
391
|
-
* 更新spark
|
|
391
|
+
* 更新spark作业
|
|
392
392
|
*/
|
|
393
393
|
async ModifySparkApp(req, cb) {
|
|
394
394
|
return this.request("ModifySparkApp", req, cb);
|
|
@@ -400,7 +400,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
400
400
|
return this.request("DeleteUser", req, cb);
|
|
401
401
|
}
|
|
402
402
|
/**
|
|
403
|
-
* 本接口根据引擎ID
|
|
403
|
+
* 本接口根据引擎ID查询数据引擎资源使用情况
|
|
404
404
|
*/
|
|
405
405
|
async DescribeEngineUsageInfo(req, cb) {
|
|
406
406
|
return this.request("DescribeEngineUsageInfo", req, cb);
|
|
@@ -496,7 +496,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
496
496
|
return this.request("CreateScript", req, cb);
|
|
497
497
|
}
|
|
498
498
|
/**
|
|
499
|
-
* 本接口(DescribeNotebookSessionStatement
|
|
499
|
+
* 本接口(DescribeNotebookSessionStatement)用于查询session 中执行任务的详情
|
|
500
500
|
*/
|
|
501
501
|
async DescribeNotebookSessionStatement(req, cb) {
|
|
502
502
|
return this.request("DescribeNotebookSessionStatement", req, cb);
|
|
@@ -538,7 +538,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
538
538
|
return this.request("DeleteNotebookSession", req, cb);
|
|
539
539
|
}
|
|
540
540
|
/**
|
|
541
|
-
* 本接口(CancelNotebookSessionStatement)用于取消session
|
|
541
|
+
* 本接口(CancelNotebookSessionStatement)用于取消session中执行的任务
|
|
542
542
|
*/
|
|
543
543
|
async CancelNotebookSessionStatement(req, cb) {
|
|
544
544
|
return this.request("CancelNotebookSessionStatement", req, cb);
|
|
@@ -550,13 +550,13 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
550
550
|
return this.request("DescribeStoreLocation", req, cb);
|
|
551
551
|
}
|
|
552
552
|
/**
|
|
553
|
-
*
|
|
553
|
+
* 查询spark作业信息
|
|
554
554
|
*/
|
|
555
555
|
async DescribeSparkAppJob(req, cb) {
|
|
556
556
|
return this.request("DescribeSparkAppJob", req, cb);
|
|
557
557
|
}
|
|
558
558
|
/**
|
|
559
|
-
* 查询
|
|
559
|
+
* 查询Spark作业的运行任务列表
|
|
560
560
|
*/
|
|
561
561
|
async DescribeSparkAppTasks(req, cb) {
|
|
562
562
|
return this.request("DescribeSparkAppTasks", req, cb);
|