tencentcloud-sdk-nodejs 4.1.127 → 4.1.128
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/es/common/sdk_version.js +1 -1
- package/es/services/ess/v20201111/ess_client.js +5 -2
- package/es/services/essbasic/index.js +2 -2
- package/es/services/ims/index.js +2 -2
- package/es/services/iotvideo/index.js +4 -4
- package/es/services/irp/index.js +2 -2
- package/es/services/sms/index.js +2 -2
- package/es/services/tbp/index.js +2 -2
- package/es/services/tem/index.js +2 -2
- package/es/services/thpc/index.js +2 -2
- package/es/services/tke/index.js +2 -2
- package/es/services/tms/index.js +2 -2
- package/es/services/tsw/index.js +2 -2
- package/es/services/vm/index.js +2 -2
- package/es/services/vpc/v20170312/vpc_client.js +20 -8
- package/es/services/wedata/index.js +2 -2
- package/es/services/wedata/v20250806/wedata_client.js +246 -132
- package/es/services/yunsou/index.js +2 -2
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +24 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +4 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +12 -0
- package/tencentcloud/services/cloudapp/v20220530/cloudapp_models.d.ts +20 -0
- package/tencentcloud/services/dbbrain/v20191016/dbbrain_models.d.ts +6 -1
- package/tencentcloud/services/dc/v20180410/dc_models.d.ts +40 -0
- package/tencentcloud/services/es/v20250101/es_client.d.ts +1 -1
- package/tencentcloud/services/es/v20250101/es_client.js +1 -1
- package/tencentcloud/services/es/v20250101/es_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +18 -14
- package/tencentcloud/services/ess/v20201111/ess_client.js +20 -14
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +77 -0
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/ims/index.d.ts +4 -4
- package/tencentcloud/services/ims/index.js +2 -2
- package/tencentcloud/services/iotvideo/index.d.ts +6 -6
- package/tencentcloud/services/iotvideo/index.js +4 -4
- package/tencentcloud/services/irp/index.d.ts +4 -4
- package/tencentcloud/services/irp/index.js +2 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +7 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +3 -3
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +3 -3
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +2 -2
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +2 -2
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +7 -7
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/tbp/index.d.ts +4 -4
- package/tencentcloud/services/tbp/index.js +2 -2
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tke/index.d.ts +4 -4
- package/tencentcloud/services/tke/index.js +2 -2
- package/tencentcloud/services/tms/index.d.ts +4 -4
- package/tencentcloud/services/tms/index.js +2 -2
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +25 -9
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +36 -12
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +183 -75
- package/tencentcloud/services/wedata/index.d.ts +4 -4
- package/tencentcloud/services/wedata/index.js +2 -2
- package/tencentcloud/services/wedata/v20250806/wedata_client.d.ts +288 -136
- package/tencentcloud/services/wedata/v20250806/wedata_client.js +460 -232
- package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +7367 -4339
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
|
@@ -27,12 +27,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("wedata.tencentcloudapi.com", "2025-08-06", clientConfig);
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* 创建资源文件文件夹
|
|
32
|
-
*/
|
|
33
|
-
async CreateResourceFolder(req, cb) {
|
|
34
|
-
return this.request("CreateResourceFolder", req, cb);
|
|
35
|
-
}
|
|
36
30
|
/**
|
|
37
31
|
* 创建任务接口
|
|
38
32
|
*/
|
|
@@ -45,18 +39,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
45
39
|
async ListOpsWorkflows(req, cb) {
|
|
46
40
|
return this.request("ListOpsWorkflows", req, cb);
|
|
47
41
|
}
|
|
48
|
-
/**
|
|
49
|
-
* 创建数据探索脚本文件夹
|
|
50
|
-
*/
|
|
51
|
-
async CreateSQLFolder(req, cb) {
|
|
52
|
-
return this.request("CreateSQLFolder", req, cb);
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* 重命名代码文件夹
|
|
56
|
-
*/
|
|
57
|
-
async UpdateCodeFolder(req, cb) {
|
|
58
|
-
return this.request("UpdateCodeFolder", req, cb);
|
|
59
|
-
}
|
|
60
42
|
/**
|
|
61
43
|
* 获取告警信息列表
|
|
62
44
|
*/
|
|
@@ -64,58 +46,46 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
64
46
|
return this.request("ListAlarmMessages", req, cb);
|
|
65
47
|
}
|
|
66
48
|
/**
|
|
67
|
-
*
|
|
68
|
-
*/
|
|
69
|
-
async GetWorkflow(req, cb) {
|
|
70
|
-
return this.request("GetWorkflow", req, cb);
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* 获取实例直接上游
|
|
74
|
-
*/
|
|
75
|
-
async ListDownstreamTaskInstances(req, cb) {
|
|
76
|
-
return this.request("ListDownstreamTaskInstances", req, cb);
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* 更新工作流(包括工作流基本信息与工作流参数)
|
|
49
|
+
* 异步批量暂停任务
|
|
80
50
|
*/
|
|
81
|
-
async
|
|
82
|
-
return this.request("
|
|
51
|
+
async PauseOpsTasksAsync(req, cb) {
|
|
52
|
+
return this.request("PauseOpsTasksAsync", req, cb);
|
|
83
53
|
}
|
|
84
54
|
/**
|
|
85
|
-
*
|
|
55
|
+
* 数据源关联任务详情
|
|
86
56
|
*/
|
|
87
|
-
async
|
|
88
|
-
return this.request("
|
|
57
|
+
async GetDataSourceRelatedTasks(req, cb) {
|
|
58
|
+
return this.request("GetDataSourceRelatedTasks", req, cb);
|
|
89
59
|
}
|
|
90
60
|
/**
|
|
91
|
-
*
|
|
61
|
+
* 实例批量终止操作-异步操作
|
|
92
62
|
*/
|
|
93
|
-
async
|
|
94
|
-
return this.request("
|
|
63
|
+
async KillTaskInstancesAsync(req, cb) {
|
|
64
|
+
return this.request("KillTaskInstancesAsync", req, cb);
|
|
95
65
|
}
|
|
96
66
|
/**
|
|
97
|
-
*
|
|
67
|
+
* 租户全局范围的项目列表,与用户查看范围无关.
|
|
98
68
|
*/
|
|
99
|
-
async
|
|
100
|
-
return this.request("
|
|
69
|
+
async ListProjects(req, cb) {
|
|
70
|
+
return this.request("ListProjects", req, cb);
|
|
101
71
|
}
|
|
102
72
|
/**
|
|
103
|
-
*
|
|
73
|
+
* 获取实例直接上游
|
|
104
74
|
*/
|
|
105
|
-
async
|
|
106
|
-
return this.request("
|
|
75
|
+
async ListDownstreamTaskInstances(req, cb) {
|
|
76
|
+
return this.request("ListDownstreamTaskInstances", req, cb);
|
|
107
77
|
}
|
|
108
78
|
/**
|
|
109
|
-
*
|
|
79
|
+
* 获取任务直接下游详情
|
|
110
80
|
*/
|
|
111
|
-
async
|
|
112
|
-
return this.request("
|
|
81
|
+
async ListDownstreamOpsTasks(req, cb) {
|
|
82
|
+
return this.request("ListDownstreamOpsTasks", req, cb);
|
|
113
83
|
}
|
|
114
84
|
/**
|
|
115
|
-
*
|
|
85
|
+
* 获取资源文件列表
|
|
116
86
|
*/
|
|
117
|
-
async
|
|
118
|
-
return this.request("
|
|
87
|
+
async ListResourceFiles(req, cb) {
|
|
88
|
+
return this.request("ListResourceFiles", req, cb);
|
|
119
89
|
}
|
|
120
90
|
/**
|
|
121
91
|
* 获取任务直接上游
|
|
@@ -124,196 +94,196 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
124
94
|
return this.request("ListUpstreamOpsTasks", req, cb);
|
|
125
95
|
}
|
|
126
96
|
/**
|
|
127
|
-
*
|
|
97
|
+
* 根据项目id获取任务列表
|
|
128
98
|
*/
|
|
129
|
-
async
|
|
130
|
-
return this.request("
|
|
99
|
+
async ListOpsTasks(req, cb) {
|
|
100
|
+
return this.request("ListOpsTasks", req, cb);
|
|
131
101
|
}
|
|
132
102
|
/**
|
|
133
|
-
*
|
|
103
|
+
* 获取资产目录信息
|
|
134
104
|
*/
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
105
|
+
async ListCatalog(req, cb) {
|
|
106
|
+
return this.request("ListCatalog", req, cb);
|
|
137
107
|
}
|
|
138
108
|
/**
|
|
139
|
-
*
|
|
109
|
+
* 删除工作流
|
|
140
110
|
*/
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
111
|
+
async DeleteWorkflow(req, cb) {
|
|
112
|
+
return this.request("DeleteWorkflow", req, cb);
|
|
143
113
|
}
|
|
144
114
|
/**
|
|
145
|
-
*
|
|
115
|
+
* 该接口用于删除数据源
|
|
146
116
|
*/
|
|
147
|
-
async
|
|
148
|
-
return this.request("
|
|
117
|
+
async DeleteDataSource(req, cb) {
|
|
118
|
+
return this.request("DeleteDataSource", req, cb);
|
|
149
119
|
}
|
|
150
120
|
/**
|
|
151
|
-
*
|
|
121
|
+
* 该接口用于将指定执行资源组解除与项目的绑定
|
|
152
122
|
*/
|
|
153
|
-
async
|
|
154
|
-
return this.request("
|
|
123
|
+
async DissociateResourceGroupFromProject(req, cb) {
|
|
124
|
+
return this.request("DissociateResourceGroupFromProject", req, cb);
|
|
155
125
|
}
|
|
156
126
|
/**
|
|
157
|
-
*
|
|
127
|
+
* 获取资源文件详情
|
|
158
128
|
*/
|
|
159
|
-
async
|
|
160
|
-
return this.request("
|
|
129
|
+
async GetResourceFile(req, cb) {
|
|
130
|
+
return this.request("GetResourceFile", req, cb);
|
|
161
131
|
}
|
|
162
132
|
/**
|
|
163
|
-
*
|
|
133
|
+
* 更新资源文件夹
|
|
164
134
|
*/
|
|
165
|
-
async
|
|
166
|
-
return this.request("
|
|
135
|
+
async UpdateResourceFolder(req, cb) {
|
|
136
|
+
return this.request("UpdateResourceFolder", req, cb);
|
|
167
137
|
}
|
|
168
138
|
/**
|
|
169
|
-
*
|
|
139
|
+
* 该接口用于在指定项目中创建数据源
|
|
170
140
|
*/
|
|
171
|
-
async
|
|
172
|
-
return this.request("
|
|
141
|
+
async CreateDataSource(req, cb) {
|
|
142
|
+
return this.request("CreateDataSource", req, cb);
|
|
173
143
|
}
|
|
174
144
|
/**
|
|
175
|
-
*
|
|
145
|
+
* 删除资源文件文件夹
|
|
176
146
|
*/
|
|
177
|
-
async
|
|
178
|
-
return this.request("
|
|
147
|
+
async DeleteResourceFolder(req, cb) {
|
|
148
|
+
return this.request("DeleteResourceFolder", req, cb);
|
|
179
149
|
}
|
|
180
150
|
/**
|
|
181
|
-
*
|
|
151
|
+
* 查询任务分页信息
|
|
182
152
|
*/
|
|
183
|
-
async
|
|
184
|
-
return this.request("
|
|
153
|
+
async ListTasks(req, cb) {
|
|
154
|
+
return this.request("ListTasks", req, cb);
|
|
185
155
|
}
|
|
186
156
|
/**
|
|
187
|
-
*
|
|
157
|
+
* 该接口用于将指定执行资源组绑定到项目
|
|
188
158
|
*/
|
|
189
|
-
async
|
|
190
|
-
return this.request("
|
|
159
|
+
async AssociateResourceGroupToProject(req, cb) {
|
|
160
|
+
return this.request("AssociateResourceGroupToProject", req, cb);
|
|
191
161
|
}
|
|
192
162
|
/**
|
|
193
|
-
*
|
|
163
|
+
* 删除项目用户角色
|
|
194
164
|
*/
|
|
195
|
-
async
|
|
196
|
-
return this.request("
|
|
165
|
+
async RemoveMemberProjectRole(req, cb) {
|
|
166
|
+
return this.request("RemoveMemberProjectRole", req, cb);
|
|
197
167
|
}
|
|
198
168
|
/**
|
|
199
|
-
*
|
|
169
|
+
* 修改项目基础信息。
|
|
200
170
|
*/
|
|
201
|
-
async
|
|
202
|
-
return this.request("
|
|
171
|
+
async UpdateProject(req, cb) {
|
|
172
|
+
return this.request("UpdateProject", req, cb);
|
|
203
173
|
}
|
|
204
174
|
/**
|
|
205
|
-
*
|
|
175
|
+
* 启用项目
|
|
206
176
|
*/
|
|
207
|
-
async
|
|
208
|
-
return this.request("
|
|
177
|
+
async EnableProject(req, cb) {
|
|
178
|
+
return this.request("EnableProject", req, cb);
|
|
209
179
|
}
|
|
210
180
|
/**
|
|
211
|
-
*
|
|
181
|
+
* 获取所有主账号角色列表
|
|
212
182
|
*/
|
|
213
|
-
async
|
|
214
|
-
return this.request("
|
|
183
|
+
async ListTenantRoles(req, cb) {
|
|
184
|
+
return this.request("ListTenantRoles", req, cb);
|
|
215
185
|
}
|
|
216
186
|
/**
|
|
217
|
-
*
|
|
187
|
+
* 获取任务直接上游
|
|
218
188
|
*/
|
|
219
|
-
async
|
|
220
|
-
return this.request("
|
|
189
|
+
async ListUpstreamTasks(req, cb) {
|
|
190
|
+
return this.request("ListUpstreamTasks", req, cb);
|
|
221
191
|
}
|
|
222
192
|
/**
|
|
223
|
-
*
|
|
193
|
+
* 获取单次补录的所有实例详情
|
|
224
194
|
*/
|
|
225
|
-
async
|
|
226
|
-
return this.request("
|
|
195
|
+
async ListDataBackfillInstances(req, cb) {
|
|
196
|
+
return this.request("ListDataBackfillInstances", req, cb);
|
|
227
197
|
}
|
|
228
198
|
/**
|
|
229
|
-
*
|
|
199
|
+
* 创建数据补录计划
|
|
230
200
|
*/
|
|
231
|
-
async
|
|
232
|
-
return this.request("
|
|
201
|
+
async CreateDataBackfillPlan(req, cb) {
|
|
202
|
+
return this.request("CreateDataBackfillPlan", req, cb);
|
|
233
203
|
}
|
|
234
204
|
/**
|
|
235
|
-
*
|
|
205
|
+
* 运行SQL脚本
|
|
236
206
|
*/
|
|
237
|
-
async
|
|
238
|
-
return this.request("
|
|
207
|
+
async RunSQLScript(req, cb) {
|
|
208
|
+
return this.request("RunSQLScript", req, cb);
|
|
239
209
|
}
|
|
240
210
|
/**
|
|
241
|
-
*
|
|
211
|
+
* 查询工作流列表
|
|
242
212
|
*/
|
|
243
|
-
async
|
|
244
|
-
return this.request("
|
|
213
|
+
async ListWorkflows(req, cb) {
|
|
214
|
+
return this.request("ListWorkflows", req, cb);
|
|
245
215
|
}
|
|
246
216
|
/**
|
|
247
|
-
*
|
|
217
|
+
* 获取项目信息
|
|
248
218
|
*/
|
|
249
|
-
async
|
|
250
|
-
return this.request("
|
|
219
|
+
async GetProject(req, cb) {
|
|
220
|
+
return this.request("GetProject", req, cb);
|
|
251
221
|
}
|
|
252
222
|
/**
|
|
253
|
-
*
|
|
223
|
+
* 查询运维中心异步操作详情
|
|
254
224
|
*/
|
|
255
|
-
async
|
|
256
|
-
return this.request("
|
|
225
|
+
async GetOpsAsyncJob(req, cb) {
|
|
226
|
+
return this.request("GetOpsAsyncJob", req, cb);
|
|
257
227
|
}
|
|
258
228
|
/**
|
|
259
|
-
*
|
|
229
|
+
* 修改任务负责人
|
|
260
230
|
*/
|
|
261
|
-
async
|
|
262
|
-
return this.request("
|
|
231
|
+
async UpdateOpsTasksOwner(req, cb) {
|
|
232
|
+
return this.request("UpdateOpsTasksOwner", req, cb);
|
|
263
233
|
}
|
|
264
234
|
/**
|
|
265
|
-
*
|
|
235
|
+
* 查询表所有字段列表
|
|
266
236
|
*/
|
|
267
|
-
async
|
|
268
|
-
return this.request("
|
|
237
|
+
async GetTableColumns(req, cb) {
|
|
238
|
+
return this.request("GetTableColumns", req, cb);
|
|
269
239
|
}
|
|
270
240
|
/**
|
|
271
|
-
*
|
|
241
|
+
* 获取表字段血缘信息
|
|
272
242
|
*/
|
|
273
|
-
async
|
|
274
|
-
return this.request("
|
|
243
|
+
async ListColumnLineage(req, cb) {
|
|
244
|
+
return this.request("ListColumnLineage", req, cb);
|
|
275
245
|
}
|
|
276
246
|
/**
|
|
277
|
-
*
|
|
247
|
+
* 删除代码文件
|
|
278
248
|
*/
|
|
279
|
-
async
|
|
280
|
-
return this.request("
|
|
249
|
+
async DeleteCodeFile(req, cb) {
|
|
250
|
+
return this.request("DeleteCodeFile", req, cb);
|
|
281
251
|
}
|
|
282
252
|
/**
|
|
283
|
-
*
|
|
253
|
+
* 禁用项目
|
|
284
254
|
*/
|
|
285
|
-
async
|
|
286
|
-
return this.request("
|
|
255
|
+
async DisableProject(req, cb) {
|
|
256
|
+
return this.request("DisableProject", req, cb);
|
|
287
257
|
}
|
|
288
258
|
/**
|
|
289
|
-
*
|
|
259
|
+
* 关联项目集群
|
|
290
260
|
*/
|
|
291
|
-
async
|
|
292
|
-
return this.request("
|
|
261
|
+
async AddCalcEnginesToProject(req, cb) {
|
|
262
|
+
return this.request("AddCalcEnginesToProject", req, cb);
|
|
293
263
|
}
|
|
294
264
|
/**
|
|
295
|
-
*
|
|
265
|
+
* RegisterLineage
|
|
296
266
|
*/
|
|
297
|
-
async
|
|
298
|
-
return this.request("
|
|
267
|
+
async RegisterLineage(req, cb) {
|
|
268
|
+
return this.request("RegisterLineage", req, cb);
|
|
299
269
|
}
|
|
300
270
|
/**
|
|
301
|
-
*
|
|
271
|
+
* 获取项目下的用户,分页返回
|
|
302
272
|
*/
|
|
303
|
-
async
|
|
304
|
-
return this.request("
|
|
273
|
+
async ListProjectMembers(req, cb) {
|
|
274
|
+
return this.request("ListProjectMembers", req, cb);
|
|
305
275
|
}
|
|
306
276
|
/**
|
|
307
|
-
*
|
|
277
|
+
* 根据告警规则id/名称查询单个告警规则信息
|
|
308
278
|
*/
|
|
309
|
-
async
|
|
310
|
-
return this.request("
|
|
279
|
+
async GetOpsAlarmRule(req, cb) {
|
|
280
|
+
return this.request("GetOpsAlarmRule", req, cb);
|
|
311
281
|
}
|
|
312
282
|
/**
|
|
313
|
-
*
|
|
283
|
+
* 该接口用于销毁资源
|
|
314
284
|
*/
|
|
315
|
-
async
|
|
316
|
-
return this.request("
|
|
285
|
+
async DeleteResourceGroup(req, cb) {
|
|
286
|
+
return this.request("DeleteResourceGroup", req, cb);
|
|
317
287
|
}
|
|
318
288
|
/**
|
|
319
289
|
* 获取实例直接上游
|
|
@@ -321,36 +291,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
321
291
|
async ListUpstreamTaskInstances(req, cb) {
|
|
322
292
|
return this.request("ListUpstreamTaskInstances", req, cb);
|
|
323
293
|
}
|
|
324
|
-
/**
|
|
325
|
-
* 查询文件夹列表
|
|
326
|
-
*/
|
|
327
|
-
async ListWorkflowFolders(req, cb) {
|
|
328
|
-
return this.request("ListWorkflowFolders", req, cb);
|
|
329
|
-
}
|
|
330
|
-
/**
|
|
331
|
-
* 资源管理-删除资源文件
|
|
332
|
-
*/
|
|
333
|
-
async DeleteResourceFile(req, cb) {
|
|
334
|
-
return this.request("DeleteResourceFile", req, cb);
|
|
335
|
-
}
|
|
336
|
-
/**
|
|
337
|
-
* 新建代码文件
|
|
338
|
-
*/
|
|
339
|
-
async CreateCodeFile(req, cb) {
|
|
340
|
-
return this.request("CreateCodeFile", req, cb);
|
|
341
|
-
}
|
|
342
294
|
/**
|
|
343
295
|
* 创建任务接口
|
|
344
296
|
*/
|
|
345
297
|
async GetTask(req, cb) {
|
|
346
298
|
return this.request("GetTask", req, cb);
|
|
347
299
|
}
|
|
348
|
-
/**
|
|
349
|
-
* 提交任务。
|
|
350
|
-
*/
|
|
351
|
-
async SubmitTask(req, cb) {
|
|
352
|
-
return this.request("SubmitTask", req, cb);
|
|
353
|
-
}
|
|
354
300
|
/**
|
|
355
301
|
* 获取实例列表
|
|
356
302
|
*/
|
|
@@ -358,94 +304,208 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
358
304
|
return this.request("GetTaskInstanceLog", req, cb);
|
|
359
305
|
}
|
|
360
306
|
/**
|
|
361
|
-
*
|
|
307
|
+
* 该接口用于查询指定项目中的数据源列表
|
|
362
308
|
*/
|
|
363
|
-
async
|
|
364
|
-
return this.request("
|
|
309
|
+
async ListDataSources(req, cb) {
|
|
310
|
+
return this.request("ListDataSources", req, cb);
|
|
365
311
|
}
|
|
366
312
|
/**
|
|
367
|
-
*
|
|
313
|
+
* 获取任务代码
|
|
368
314
|
*/
|
|
369
|
-
async
|
|
370
|
-
return this.request("
|
|
315
|
+
async GetTaskCode(req, cb) {
|
|
316
|
+
return this.request("GetTaskCode", req, cb);
|
|
371
317
|
}
|
|
372
318
|
/**
|
|
373
|
-
*
|
|
319
|
+
* 获取资产血缘信息
|
|
374
320
|
*/
|
|
375
|
-
async
|
|
376
|
-
return this.request("
|
|
321
|
+
async ListProcessLineage(req, cb) {
|
|
322
|
+
return this.request("ListProcessLineage", req, cb);
|
|
377
323
|
}
|
|
378
324
|
/**
|
|
379
|
-
*
|
|
325
|
+
* 创建项目,创建时包含集群信息
|
|
380
326
|
*/
|
|
381
|
-
async
|
|
382
|
-
return this.request("
|
|
327
|
+
async CreateProject(req, cb) {
|
|
328
|
+
return this.request("CreateProject", req, cb);
|
|
383
329
|
}
|
|
384
330
|
/**
|
|
385
|
-
*
|
|
331
|
+
* 创建文件夹
|
|
386
332
|
*/
|
|
387
|
-
async
|
|
388
|
-
return this.request("
|
|
333
|
+
async CreateWorkflowFolder(req, cb) {
|
|
334
|
+
return this.request("CreateWorkflowFolder", req, cb);
|
|
389
335
|
}
|
|
390
336
|
/**
|
|
391
|
-
*
|
|
337
|
+
* 停止运行SQL脚本
|
|
392
338
|
*/
|
|
393
|
-
async
|
|
394
|
-
return this.request("
|
|
395
|
-
}
|
|
339
|
+
async StopSQLScriptRun(req, cb) {
|
|
340
|
+
return this.request("StopSQLScriptRun", req, cb);
|
|
341
|
+
}
|
|
396
342
|
/**
|
|
397
|
-
*
|
|
343
|
+
* 重命名SQL文件夹
|
|
398
344
|
*/
|
|
399
|
-
async
|
|
400
|
-
return this.request("
|
|
345
|
+
async UpdateSQLFolder(req, cb) {
|
|
346
|
+
return this.request("UpdateSQLFolder", req, cb);
|
|
401
347
|
}
|
|
402
348
|
/**
|
|
403
|
-
*
|
|
349
|
+
* 保存探索脚本内容
|
|
404
350
|
*/
|
|
405
|
-
async
|
|
406
|
-
return this.request("
|
|
351
|
+
async UpdateSQLScript(req, cb) {
|
|
352
|
+
return this.request("UpdateSQLScript", req, cb);
|
|
407
353
|
}
|
|
408
354
|
/**
|
|
409
|
-
*
|
|
355
|
+
* RegisterLineage
|
|
410
356
|
*/
|
|
411
|
-
async
|
|
412
|
-
return this.request("
|
|
357
|
+
async DeleteLineage(req, cb) {
|
|
358
|
+
return this.request("DeleteLineage", req, cb);
|
|
413
359
|
}
|
|
414
360
|
/**
|
|
415
|
-
*
|
|
361
|
+
* 创建资源文件文件夹
|
|
416
362
|
*/
|
|
417
|
-
async
|
|
418
|
-
return this.request("
|
|
363
|
+
async CreateResourceFolder(req, cb) {
|
|
364
|
+
return this.request("CreateResourceFolder", req, cb);
|
|
419
365
|
}
|
|
420
366
|
/**
|
|
421
|
-
*
|
|
367
|
+
* 更新工作流(包括工作流基本信息与工作流参数)
|
|
422
368
|
*/
|
|
423
|
-
async
|
|
424
|
-
return this.request("
|
|
369
|
+
async UpdateWorkflow(req, cb) {
|
|
370
|
+
return this.request("UpdateWorkflow", req, cb);
|
|
425
371
|
}
|
|
426
372
|
/**
|
|
427
|
-
*
|
|
373
|
+
* 创建数据探索脚本文件夹
|
|
428
374
|
*/
|
|
429
|
-
async
|
|
430
|
-
return this.request("
|
|
375
|
+
async CreateSQLFolder(req, cb) {
|
|
376
|
+
return this.request("CreateSQLFolder", req, cb);
|
|
431
377
|
}
|
|
432
378
|
/**
|
|
433
|
-
*
|
|
379
|
+
* 重命名代码文件夹
|
|
434
380
|
*/
|
|
435
|
-
async
|
|
436
|
-
return this.request("
|
|
381
|
+
async UpdateCodeFolder(req, cb) {
|
|
382
|
+
return this.request("UpdateCodeFolder", req, cb);
|
|
437
383
|
}
|
|
438
384
|
/**
|
|
439
|
-
*
|
|
385
|
+
* 查询数据探索文件夹树,包括文件夹下的脚本
|
|
440
386
|
*/
|
|
441
|
-
async
|
|
442
|
-
return this.request("
|
|
387
|
+
async ListSQLFolderContents(req, cb) {
|
|
388
|
+
return this.request("ListSQLFolderContents", req, cb);
|
|
443
389
|
}
|
|
444
390
|
/**
|
|
445
|
-
*
|
|
391
|
+
* 新建代码文件夹
|
|
446
392
|
*/
|
|
447
|
-
async
|
|
448
|
-
return this.request("
|
|
393
|
+
async CreateCodeFolder(req, cb) {
|
|
394
|
+
return this.request("CreateCodeFolder", req, cb);
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* 新增SQL脚本
|
|
398
|
+
*/
|
|
399
|
+
async CreateSQLScript(req, cb) {
|
|
400
|
+
return this.request("CreateSQLScript", req, cb);
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* 更新代码文件
|
|
404
|
+
*/
|
|
405
|
+
async UpdateCodeFile(req, cb) {
|
|
406
|
+
return this.request("UpdateCodeFile", req, cb);
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* 查询资源文件文件夹列表
|
|
410
|
+
*/
|
|
411
|
+
async ListResourceFolders(req, cb) {
|
|
412
|
+
return this.request("ListResourceFolders", req, cb);
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* 该接口用于查看指定执行资源组的监控指标
|
|
416
|
+
*/
|
|
417
|
+
async GetResourceGroupMetrics(req, cb) {
|
|
418
|
+
return this.request("GetResourceGroupMetrics", req, cb);
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* 任务保存版本列表
|
|
422
|
+
*/
|
|
423
|
+
async ListTaskVersions(req, cb) {
|
|
424
|
+
return this.request("ListTaskVersions", req, cb);
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* 异步批量下线任务
|
|
428
|
+
*/
|
|
429
|
+
async StopOpsTasksAsync(req, cb) {
|
|
430
|
+
return this.request("StopOpsTasksAsync", req, cb);
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* 删除编排空间任务
|
|
434
|
+
*/
|
|
435
|
+
async DeleteTask(req, cb) {
|
|
436
|
+
return this.request("DeleteTask", req, cb);
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* 获取文件夹内容
|
|
440
|
+
*/
|
|
441
|
+
async ListCodeFolderContents(req, cb) {
|
|
442
|
+
return this.request("ListCodeFolderContents", req, cb);
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* 创建资源文件
|
|
446
|
+
*/
|
|
447
|
+
async CreateResourceFile(req, cb) {
|
|
448
|
+
return this.request("CreateResourceFile", req, cb);
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* 该接口用于更新数据源
|
|
452
|
+
*/
|
|
453
|
+
async UpdateDataSource(req, cb) {
|
|
454
|
+
return this.request("UpdateDataSource", req, cb);
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* 该接口用于变配/续费资源
|
|
458
|
+
*/
|
|
459
|
+
async UpdateResourceGroup(req, cb) {
|
|
460
|
+
return this.request("UpdateResourceGroup", req, cb);
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* 查询告警规则列表
|
|
464
|
+
*/
|
|
465
|
+
async ListOpsAlarmRules(req, cb) {
|
|
466
|
+
return this.request("ListOpsAlarmRules", req, cb);
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* 该接口用于查询执行资源组列表
|
|
470
|
+
*/
|
|
471
|
+
async ListResourceGroups(req, cb) {
|
|
472
|
+
return this.request("ListResourceGroups", req, cb);
|
|
473
|
+
}
|
|
474
|
+
/**
|
|
475
|
+
* 修改告警规则
|
|
476
|
+
*/
|
|
477
|
+
async UpdateOpsAlarmRule(req, cb) {
|
|
478
|
+
return this.request("UpdateOpsAlarmRule", req, cb);
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* 修改项目用户角色
|
|
482
|
+
*/
|
|
483
|
+
async GrantMemberProjectRole(req, cb) {
|
|
484
|
+
return this.request("GrantMemberProjectRole", req, cb);
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* 获取实例列表
|
|
488
|
+
*/
|
|
489
|
+
async ListTaskInstances(req, cb) {
|
|
490
|
+
return this.request("ListTaskInstances", req, cb);
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* 添加项目用户角色
|
|
494
|
+
*/
|
|
495
|
+
async CreateProjectMember(req, cb) {
|
|
496
|
+
return this.request("CreateProjectMember", req, cb);
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* 资源管理-删除资源文件
|
|
500
|
+
*/
|
|
501
|
+
async DeleteResourceFile(req, cb) {
|
|
502
|
+
return this.request("DeleteResourceFile", req, cb);
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* 新建代码文件
|
|
506
|
+
*/
|
|
507
|
+
async CreateCodeFile(req, cb) {
|
|
508
|
+
return this.request("CreateCodeFile", req, cb);
|
|
449
509
|
}
|
|
450
510
|
/**
|
|
451
511
|
* 创建文件夹
|
|
@@ -454,34 +514,52 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
454
514
|
return this.request("UpdateWorkflowFolder", req, cb);
|
|
455
515
|
}
|
|
456
516
|
/**
|
|
457
|
-
*
|
|
517
|
+
* 创建任务接口
|
|
458
518
|
*/
|
|
459
|
-
async
|
|
460
|
-
return this.request("
|
|
519
|
+
async UpdateTask(req, cb) {
|
|
520
|
+
return this.request("UpdateTask", req, cb);
|
|
461
521
|
}
|
|
462
522
|
/**
|
|
463
|
-
*
|
|
523
|
+
* 更新资源文件
|
|
464
524
|
*/
|
|
465
|
-
async
|
|
466
|
-
return this.request("
|
|
525
|
+
async UpdateResourceFile(req, cb) {
|
|
526
|
+
return this.request("UpdateResourceFile", req, cb);
|
|
467
527
|
}
|
|
468
528
|
/**
|
|
469
|
-
*
|
|
529
|
+
* 删除项目用户
|
|
470
530
|
*/
|
|
471
|
-
async
|
|
472
|
-
return this.request("
|
|
531
|
+
async DeleteProjectMember(req, cb) {
|
|
532
|
+
return this.request("DeleteProjectMember", req, cb);
|
|
473
533
|
}
|
|
474
534
|
/**
|
|
475
|
-
*
|
|
535
|
+
* 获取角色列表信息
|
|
476
536
|
*/
|
|
477
|
-
async
|
|
478
|
-
return this.request("
|
|
537
|
+
async ListProjectRoles(req, cb) {
|
|
538
|
+
return this.request("ListProjectRoles", req, cb);
|
|
479
539
|
}
|
|
480
540
|
/**
|
|
481
|
-
*
|
|
541
|
+
* 创建工作流
|
|
482
542
|
*/
|
|
483
|
-
async
|
|
484
|
-
return this.request("
|
|
543
|
+
async CreateWorkflow(req, cb) {
|
|
544
|
+
return this.request("CreateWorkflow", req, cb);
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* 删除SQL文件夹
|
|
548
|
+
*/
|
|
549
|
+
async DeleteSQLFolder(req, cb) {
|
|
550
|
+
return this.request("DeleteSQLFolder", req, cb);
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* 调度实例详情
|
|
554
|
+
*/
|
|
555
|
+
async ListTaskInstanceExecutions(req, cb) {
|
|
556
|
+
return this.request("ListTaskInstanceExecutions", req, cb);
|
|
557
|
+
}
|
|
558
|
+
/**
|
|
559
|
+
* 获取资产数据库信息
|
|
560
|
+
*/
|
|
561
|
+
async ListDatabase(req, cb) {
|
|
562
|
+
return this.request("ListDatabase", req, cb);
|
|
485
563
|
}
|
|
486
564
|
/**
|
|
487
565
|
* 调度实例详情
|
|
@@ -489,5 +567,155 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
489
567
|
async GetTaskInstance(req, cb) {
|
|
490
568
|
return this.request("GetTaskInstance", req, cb);
|
|
491
569
|
}
|
|
570
|
+
/**
|
|
571
|
+
* 查询SQL运行记录
|
|
572
|
+
*/
|
|
573
|
+
async ListSQLScriptRuns(req, cb) {
|
|
574
|
+
return this.request("ListSQLScriptRuns", req, cb);
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* 获取工作流信息
|
|
578
|
+
*/
|
|
579
|
+
async GetWorkflow(req, cb) {
|
|
580
|
+
return this.request("GetWorkflow", req, cb);
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* 获取资产数据库Schema信息
|
|
584
|
+
*/
|
|
585
|
+
async ListSchema(req, cb) {
|
|
586
|
+
return this.request("ListSchema", req, cb);
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
* 拉取任务版本列表
|
|
590
|
+
*/
|
|
591
|
+
async GetTaskVersion(req, cb) {
|
|
592
|
+
return this.request("GetTaskVersion", req, cb);
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* 删除告警规则
|
|
596
|
+
*/
|
|
597
|
+
async DeleteOpsAlarmRule(req, cb) {
|
|
598
|
+
return this.request("DeleteOpsAlarmRule", req, cb);
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* 查询告警信息详情
|
|
602
|
+
*/
|
|
603
|
+
async GetAlarmMessage(req, cb) {
|
|
604
|
+
return this.request("GetAlarmMessage", req, cb);
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
* 实例批量重跑-异步
|
|
608
|
+
*/
|
|
609
|
+
async RerunTaskInstancesAsync(req, cb) {
|
|
610
|
+
return this.request("RerunTaskInstancesAsync", req, cb);
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* 查询脚本详情
|
|
614
|
+
*/
|
|
615
|
+
async GetSQLScript(req, cb) {
|
|
616
|
+
return this.request("GetSQLScript", req, cb);
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* 获取资产血缘信息
|
|
620
|
+
*/
|
|
621
|
+
async ListLineage(req, cb) {
|
|
622
|
+
return this.request("ListLineage", req, cb);
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* 获取任务详情
|
|
626
|
+
*/
|
|
627
|
+
async GetOpsTask(req, cb) {
|
|
628
|
+
return this.request("GetOpsTask", req, cb);
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* 实例批量置成功-异步
|
|
632
|
+
*/
|
|
633
|
+
async SetSuccessTaskInstancesAsync(req, cb) {
|
|
634
|
+
return this.request("SetSuccessTaskInstancesAsync", req, cb);
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* 根据工作流id,获取工作流调度详情。
|
|
638
|
+
*/
|
|
639
|
+
async GetOpsWorkflow(req, cb) {
|
|
640
|
+
return this.request("GetOpsWorkflow", req, cb);
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* 获取任务代码
|
|
644
|
+
*/
|
|
645
|
+
async GetOpsTaskCode(req, cb) {
|
|
646
|
+
return this.request("GetOpsTaskCode", req, cb);
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* 设置告警规则
|
|
650
|
+
*/
|
|
651
|
+
async CreateOpsAlarmRule(req, cb) {
|
|
652
|
+
return this.request("CreateOpsAlarmRule", req, cb);
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* 查询文件夹列表
|
|
656
|
+
*/
|
|
657
|
+
async ListWorkflowFolders(req, cb) {
|
|
658
|
+
return this.request("ListWorkflowFolders", req, cb);
|
|
659
|
+
}
|
|
660
|
+
/**
|
|
661
|
+
* 提交任务。
|
|
662
|
+
*/
|
|
663
|
+
async SubmitTask(req, cb) {
|
|
664
|
+
return this.request("SubmitTask", req, cb);
|
|
665
|
+
}
|
|
666
|
+
/**
|
|
667
|
+
* 数据探索删除文件夹
|
|
668
|
+
*/
|
|
669
|
+
async DeleteCodeFolder(req, cb) {
|
|
670
|
+
return this.request("DeleteCodeFolder", req, cb);
|
|
671
|
+
}
|
|
672
|
+
/**
|
|
673
|
+
* 该接口用于购买资源
|
|
674
|
+
*/
|
|
675
|
+
async CreateResourceGroup(req, cb) {
|
|
676
|
+
return this.request("CreateResourceGroup", req, cb);
|
|
677
|
+
}
|
|
678
|
+
/**
|
|
679
|
+
* 删除数据开发文件夹
|
|
680
|
+
*/
|
|
681
|
+
async DeleteWorkflowFolder(req, cb) {
|
|
682
|
+
return this.request("DeleteWorkflowFolder", req, cb);
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* 获取资产表信息
|
|
686
|
+
*/
|
|
687
|
+
async ListTable(req, cb) {
|
|
688
|
+
return this.request("ListTable", req, cb);
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* 查看代码文件详情
|
|
692
|
+
*/
|
|
693
|
+
async GetCodeFile(req, cb) {
|
|
694
|
+
return this.request("GetCodeFile", req, cb);
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* 删除探索脚本
|
|
698
|
+
*/
|
|
699
|
+
async DeleteSQLScript(req, cb) {
|
|
700
|
+
return this.request("DeleteSQLScript", req, cb);
|
|
701
|
+
}
|
|
702
|
+
/**
|
|
703
|
+
* 该接口用于查看指定数据源的详细信息
|
|
704
|
+
*/
|
|
705
|
+
async GetDataSource(req, cb) {
|
|
706
|
+
return this.request("GetDataSource", req, cb);
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* 查询表详情
|
|
710
|
+
*/
|
|
711
|
+
async GetTable(req, cb) {
|
|
712
|
+
return this.request("GetTable", req, cb);
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* 获取任务直接下游详情
|
|
716
|
+
*/
|
|
717
|
+
async ListDownstreamTasks(req, cb) {
|
|
718
|
+
return this.request("ListDownstreamTasks", req, cb);
|
|
719
|
+
}
|
|
492
720
|
}
|
|
493
721
|
exports.Client = Client;
|