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