tencentcloud-sdk-nodejs-dlc 4.1.280 → 4.1.284
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.
|
@@ -28,12 +28,24 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
28
28
|
constructor(clientConfig) {
|
|
29
29
|
super("dlc.tencentcloudapi.com", "2021-01-25", clientConfig);
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* 获取Ray集群的事件流(基于 K8s Event + CLS 日志)
|
|
33
|
+
*/
|
|
34
|
+
async GetRayClusterEvent(req, cb) {
|
|
35
|
+
return this.request("GetRayClusterEvent", req, cb);
|
|
36
|
+
}
|
|
31
37
|
/**
|
|
32
38
|
* 本接口(CreateTask)用于创建并执行SQL任务。(推荐使用CreateTasks接口)
|
|
33
39
|
*/
|
|
34
40
|
async CreateTask(req, cb) {
|
|
35
41
|
return this.request("CreateTask", req, cb);
|
|
36
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* 修改用户信息
|
|
45
|
+
*/
|
|
46
|
+
async ModifyUser(req, cb) {
|
|
47
|
+
return this.request("ModifyUser", req, cb);
|
|
48
|
+
}
|
|
37
49
|
/**
|
|
38
50
|
* 添加用户到工作组
|
|
39
51
|
*/
|
|
@@ -136,6 +148,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
136
148
|
async CreateStoreLocation(req, cb) {
|
|
137
149
|
return this.request("CreateStoreLocation", req, cb);
|
|
138
150
|
}
|
|
151
|
+
/**
|
|
152
|
+
* 获取数据实验室Pod的YAML内容
|
|
153
|
+
*/
|
|
154
|
+
async GetLabPodYaml(req, cb) {
|
|
155
|
+
return this.request("GetLabPodYaml", req, cb);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* 根据 exampleId 获取单个案例详情
|
|
159
|
+
*/
|
|
160
|
+
async GetExampleDetail(req, cb) {
|
|
161
|
+
return this.request("GetExampleDetail", req, cb);
|
|
162
|
+
}
|
|
139
163
|
/**
|
|
140
164
|
* 本接口(CreateNotebookSessionStatementSupportBatchSQL)用于创建交互式session并执行SQL任务
|
|
141
165
|
*/
|
|
@@ -149,10 +173,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
149
173
|
return this.request("SwitchDataEngine", req, cb);
|
|
150
174
|
}
|
|
151
175
|
/**
|
|
152
|
-
*
|
|
176
|
+
* 本接口(DescribeDataEngines)用于查询DataEngines信息列表.
|
|
153
177
|
*/
|
|
154
|
-
async
|
|
155
|
-
return this.request("
|
|
178
|
+
async DescribeDataEngines(req, cb) {
|
|
179
|
+
return this.request("DescribeDataEngines", req, cb);
|
|
156
180
|
}
|
|
157
181
|
/**
|
|
158
182
|
* 创建数据源
|
|
@@ -178,6 +202,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
178
202
|
async DescribeNotebookSessions(req, cb) {
|
|
179
203
|
return this.request("DescribeNotebookSessions", req, cb);
|
|
180
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
* 根据集群组 ID 获取集群组详情。支持通过 IncludeDeleted 参数控制是否返回已软删除的记录(用于悬挂 cluster 回显场景)。
|
|
207
|
+
*/
|
|
208
|
+
async DescribeClusterGroup(req, cb) {
|
|
209
|
+
return this.request("DescribeClusterGroup", req, cb);
|
|
210
|
+
}
|
|
181
211
|
/**
|
|
182
212
|
* DMS元数据获取分区
|
|
183
213
|
*/
|
|
@@ -203,10 +233,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
203
233
|
return this.request("DescribeDLCCatalogAccess", req, cb);
|
|
204
234
|
}
|
|
205
235
|
/**
|
|
206
|
-
*
|
|
236
|
+
* 列出所有资源配置模板
|
|
207
237
|
*/
|
|
208
|
-
async
|
|
209
|
-
return this.request("
|
|
238
|
+
async ListResourceConfigs(req, cb) {
|
|
239
|
+
return this.request("ListResourceConfigs", req, cb);
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* 删除数据引擎
|
|
243
|
+
*/
|
|
244
|
+
async DeleteDataEngine(req, cb) {
|
|
245
|
+
return this.request("DeleteDataEngine", req, cb);
|
|
210
246
|
}
|
|
211
247
|
/**
|
|
212
248
|
* 根据资源组获取spark session列表
|
|
@@ -220,6 +256,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
220
256
|
async DescribeUserType(req, cb) {
|
|
221
257
|
return this.request("DescribeUserType", req, cb);
|
|
222
258
|
}
|
|
259
|
+
/**
|
|
260
|
+
* 分页查询作业配置列表
|
|
261
|
+
*/
|
|
262
|
+
async ListJobSpecs(req, cb) {
|
|
263
|
+
return this.request("ListJobSpecs", req, cb);
|
|
264
|
+
}
|
|
223
265
|
/**
|
|
224
266
|
* 更新标准引擎资源组基础信息
|
|
225
267
|
*/
|
|
@@ -256,6 +298,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
256
298
|
async DescribeTasks(req, cb) {
|
|
257
299
|
return this.request("DescribeTasks", req, cb);
|
|
258
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* 案例列表
|
|
303
|
+
*/
|
|
304
|
+
async ListExamples(req, cb) {
|
|
305
|
+
return this.request("ListExamples", req, cb);
|
|
306
|
+
}
|
|
259
307
|
/**
|
|
260
308
|
* 该接口(DeleteScript)用于删除sql脚本。
|
|
261
309
|
*/
|
|
@@ -263,10 +311,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
263
311
|
return this.request("DeleteScript", req, cb);
|
|
264
312
|
}
|
|
265
313
|
/**
|
|
266
|
-
*
|
|
314
|
+
* 本接口(DescribeDataEngineSessionParameters)用于获取指定小版本下的Session配置。
|
|
267
315
|
*/
|
|
268
|
-
async
|
|
269
|
-
return this.request("
|
|
316
|
+
async DescribeDataEngineSessionParameters(req, cb) {
|
|
317
|
+
return this.request("DescribeDataEngineSessionParameters", req, cb);
|
|
270
318
|
}
|
|
271
319
|
/**
|
|
272
320
|
* 启动Spark作业
|
|
@@ -286,6 +334,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
286
334
|
async UpdateStandardEngineResourceGroupBaseInfo(req, cb) {
|
|
287
335
|
return this.request("UpdateStandardEngineResourceGroupBaseInfo", req, cb);
|
|
288
336
|
}
|
|
337
|
+
/**
|
|
338
|
+
* 修改集群的调度优先级(1-9,数字越大优先级越高)
|
|
339
|
+
*/
|
|
340
|
+
async ModifyClusterPriority(req, cb) {
|
|
341
|
+
return this.request("ModifyClusterPriority", req, cb);
|
|
342
|
+
}
|
|
289
343
|
/**
|
|
290
344
|
* 查询托管存储指定目录的Summary
|
|
291
345
|
*/
|
|
@@ -298,12 +352,36 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
298
352
|
async DescribeDatabases(req, cb) {
|
|
299
353
|
return this.request("DescribeDatabases", req, cb);
|
|
300
354
|
}
|
|
355
|
+
/**
|
|
356
|
+
* 获取RayJob的YAML内容
|
|
357
|
+
*/
|
|
358
|
+
async GetRayJobYaml(req, cb) {
|
|
359
|
+
return this.request("GetRayJobYaml", req, cb);
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* 获取实验室详情
|
|
363
|
+
*/
|
|
364
|
+
async GetLabDetail(req, cb) {
|
|
365
|
+
return this.request("GetLabDetail", req, cb);
|
|
366
|
+
}
|
|
301
367
|
/**
|
|
302
368
|
* DMS元数据更新分区
|
|
303
369
|
*/
|
|
304
370
|
async AlterDMSPartition(req, cb) {
|
|
305
371
|
return this.request("AlterDMSPartition", req, cb);
|
|
306
372
|
}
|
|
373
|
+
/**
|
|
374
|
+
* 计算组关联 cluster 使用情况响应
|
|
375
|
+
*/
|
|
376
|
+
async DescribeClusterGroupClusters(req, cb) {
|
|
377
|
+
return this.request("DescribeClusterGroupClusters", req, cb);
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* 获取集群Pod的YAML内容
|
|
381
|
+
*/
|
|
382
|
+
async GetRayClusterPodYaml(req, cb) {
|
|
383
|
+
return this.request("GetRayClusterPodYaml", req, cb);
|
|
384
|
+
}
|
|
307
385
|
/**
|
|
308
386
|
* 本接口(RegisterThirdPartyAccessUser)查询开通第三方平台访问的用户信息
|
|
309
387
|
*/
|
|
@@ -311,10 +389,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
311
389
|
return this.request("DescribeThirdPartyAccessUser", req, cb);
|
|
312
390
|
}
|
|
313
391
|
/**
|
|
314
|
-
*
|
|
392
|
+
* 获取实验室的状态变更历史记录
|
|
315
393
|
*/
|
|
316
|
-
async
|
|
317
|
-
return this.request("
|
|
394
|
+
async GetLabHistory(req, cb) {
|
|
395
|
+
return this.request("GetLabHistory", req, cb);
|
|
318
396
|
}
|
|
319
397
|
/**
|
|
320
398
|
* 重启引擎
|
|
@@ -328,6 +406,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
328
406
|
async CreateUser(req, cb) {
|
|
329
407
|
return this.request("CreateUser", req, cb);
|
|
330
408
|
}
|
|
409
|
+
/**
|
|
410
|
+
* 获取集群状态历史
|
|
411
|
+
*/
|
|
412
|
+
async GetRayClusterHistory(req, cb) {
|
|
413
|
+
return this.request("GetRayClusterHistory", req, cb);
|
|
414
|
+
}
|
|
331
415
|
/**
|
|
332
416
|
* 本接口(DescribeTables)用于查询数据表列表。
|
|
333
417
|
*/
|
|
@@ -365,10 +449,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
365
449
|
return this.request("AddOptimizerEngines", req, cb);
|
|
366
450
|
}
|
|
367
451
|
/**
|
|
368
|
-
*
|
|
452
|
+
* 本接口(DescribeDataEngineImageVersions)用于获取独享集群大版本镜像列表。
|
|
369
453
|
*/
|
|
370
|
-
async
|
|
371
|
-
return this.request("
|
|
454
|
+
async DescribeDataEngineImageVersions(req, cb) {
|
|
455
|
+
return this.request("DescribeDataEngineImageVersions", req, cb);
|
|
372
456
|
}
|
|
373
457
|
/**
|
|
374
458
|
* 查询sql查询界面高级设置
|
|
@@ -388,6 +472,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
388
472
|
async DescribeSparkAppJobs(req, cb) {
|
|
389
473
|
return this.request("DescribeSparkAppJobs", req, cb);
|
|
390
474
|
}
|
|
475
|
+
/**
|
|
476
|
+
* 分页查询某作业配置下产生的所有作业实例
|
|
477
|
+
*/
|
|
478
|
+
async ListJobsBySpec(req, cb) {
|
|
479
|
+
return this.request("ListJobsBySpec", req, cb);
|
|
480
|
+
}
|
|
391
481
|
/**
|
|
392
482
|
* 获取用户列表信息
|
|
393
483
|
*/
|
|
@@ -413,10 +503,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
413
503
|
return this.request("GenerateInternalTable", req, cb);
|
|
414
504
|
}
|
|
415
505
|
/**
|
|
416
|
-
*
|
|
506
|
+
* 查询任务监控指标信息
|
|
417
507
|
*/
|
|
418
|
-
async
|
|
419
|
-
return this.request("
|
|
508
|
+
async DescribeClusterMonitorInfos(req, cb) {
|
|
509
|
+
return this.request("DescribeClusterMonitorInfos", req, cb);
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* 创建实验室
|
|
513
|
+
*/
|
|
514
|
+
async CreateLab(req, cb) {
|
|
515
|
+
return this.request("CreateLab", req, cb);
|
|
420
516
|
}
|
|
421
517
|
/**
|
|
422
518
|
* 修改工作组信息
|
|
@@ -460,6 +556,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
460
556
|
async DescribeUpdatableDataEngines(req, cb) {
|
|
461
557
|
return this.request("DescribeUpdatableDataEngines", req, cb);
|
|
462
558
|
}
|
|
559
|
+
/**
|
|
560
|
+
* 获取所有案例分类
|
|
561
|
+
*/
|
|
562
|
+
async ListExampleCategories(req, cb) {
|
|
563
|
+
return this.request("ListExampleCategories", req, cb);
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* 撤销DLC Catalog访问权限
|
|
567
|
+
*/
|
|
568
|
+
async RevokeDLCCatalogAccess(req, cb) {
|
|
569
|
+
return this.request("RevokeDLCCatalogAccess", req, cb);
|
|
570
|
+
}
|
|
463
571
|
/**
|
|
464
572
|
* 创建托管存储内表(该接口已废弃)
|
|
465
573
|
*/
|
|
@@ -484,12 +592,36 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
484
592
|
async DescribeDataEnginesScaleDetail(req, cb) {
|
|
485
593
|
return this.request("DescribeDataEnginesScaleDetail", req, cb);
|
|
486
594
|
}
|
|
595
|
+
/**
|
|
596
|
+
* 获取所有案例分类
|
|
597
|
+
*/
|
|
598
|
+
async ListExampleDifficulties(req, cb) {
|
|
599
|
+
return this.request("ListExampleDifficulties", req, cb);
|
|
600
|
+
}
|
|
487
601
|
/**
|
|
488
602
|
* 创建spark作业
|
|
489
603
|
*/
|
|
490
604
|
async CreateSparkApp(req, cb) {
|
|
491
605
|
return this.request("CreateSparkApp", req, cb);
|
|
492
606
|
}
|
|
607
|
+
/**
|
|
608
|
+
* 创建用户vpc连接到指定引擎网络
|
|
609
|
+
*/
|
|
610
|
+
async CreateUserVpcConnection(req, cb) {
|
|
611
|
+
return this.request("CreateUserVpcConnection", req, cb);
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* 此接口用于更新行过滤规则。注意只能更新过滤规则,不能更新规格对象catalog,database和table。
|
|
615
|
+
*/
|
|
616
|
+
async UpdateRowFilter(req, cb) {
|
|
617
|
+
return this.request("UpdateRowFilter", req, cb);
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* 基于指定作业配置提交一次作业实例
|
|
621
|
+
*/
|
|
622
|
+
async RunJobSpec(req, cb) {
|
|
623
|
+
return this.request("RunJobSpec", req, cb);
|
|
624
|
+
}
|
|
493
625
|
/**
|
|
494
626
|
* 删除标准引擎资源组
|
|
495
627
|
*/
|
|
@@ -527,10 +659,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
527
659
|
return this.request("CreateSparkSessionBatchSQL", req, cb);
|
|
528
660
|
}
|
|
529
661
|
/**
|
|
530
|
-
*
|
|
662
|
+
* 创建集群组
|
|
531
663
|
*/
|
|
532
|
-
async
|
|
533
|
-
return this.request("
|
|
664
|
+
async CreateClusterGroup(req, cb) {
|
|
665
|
+
return this.request("CreateClusterGroup", req, cb);
|
|
534
666
|
}
|
|
535
667
|
/**
|
|
536
668
|
* 获取UDF权限信息
|
|
@@ -538,36 +670,96 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
538
670
|
async DescribeUDFPolicy(req, cb) {
|
|
539
671
|
return this.request("DescribeUDFPolicy", req, cb);
|
|
540
672
|
}
|
|
673
|
+
/**
|
|
674
|
+
* 更新处于 SUBMITTED/PENDING 状态的作业的优先级。仅 SUBMITTED/PENDING 状态的作业允许调整优先级。内部通过调用 Neutrino 的 UpdateJobConfig 接口更新 ENVIRONMENT 配置中的 priority 字段。
|
|
675
|
+
*/
|
|
676
|
+
async UpdateRayJobPriority(req, cb) {
|
|
677
|
+
return this.request("UpdateRayJobPriority", req, cb);
|
|
678
|
+
}
|
|
541
679
|
/**
|
|
542
680
|
* 本接口(DescribeNotebookSessionStatements)用于查询Session中执行的任务列表
|
|
543
681
|
*/
|
|
544
682
|
async DescribeNotebookSessionStatements(req, cb) {
|
|
545
683
|
return this.request("DescribeNotebookSessionStatements", req, cb);
|
|
546
684
|
}
|
|
685
|
+
/**
|
|
686
|
+
* 获取Ray集群详情请求
|
|
687
|
+
*/
|
|
688
|
+
async GetRayCluster(req, cb) {
|
|
689
|
+
return this.request("GetRayCluster", req, cb);
|
|
690
|
+
}
|
|
547
691
|
/**
|
|
548
692
|
* 授权访问DLC Catalog
|
|
549
693
|
*/
|
|
550
694
|
async GrantDLCCatalogAccess(req, cb) {
|
|
551
695
|
return this.request("GrantDLCCatalogAccess", req, cb);
|
|
552
696
|
}
|
|
697
|
+
/**
|
|
698
|
+
* 更新集群配置:仅在 CREATED / STOPPED / FAILED 终态可用;变更落 MySQL,下次 Start 按新 spec 创建 K8s 资源
|
|
699
|
+
*/
|
|
700
|
+
async UpdateRayCluster(req, cb) {
|
|
701
|
+
return this.request("UpdateRayCluster", req, cb);
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* 复制一份已有的作业配置
|
|
705
|
+
*/
|
|
706
|
+
async CopyJobSpec(req, cb) {
|
|
707
|
+
return this.request("CopyJobSpec", req, cb);
|
|
708
|
+
}
|
|
709
|
+
/**
|
|
710
|
+
* 更新集群组
|
|
711
|
+
*/
|
|
712
|
+
async UpdateClusterGroup(req, cb) {
|
|
713
|
+
return this.request("UpdateClusterGroup", req, cb);
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* 更新资源配置模板
|
|
717
|
+
*/
|
|
718
|
+
async UpdateResourceConfig(req, cb) {
|
|
719
|
+
return this.request("UpdateResourceConfig", req, cb);
|
|
720
|
+
}
|
|
721
|
+
/**
|
|
722
|
+
* 启动集群
|
|
723
|
+
*/
|
|
724
|
+
async StartRayCluster(req, cb) {
|
|
725
|
+
return this.request("StartRayCluster", req, cb);
|
|
726
|
+
}
|
|
553
727
|
/**
|
|
554
728
|
* 本接口用于控制挂起或启动数据引擎
|
|
555
729
|
*/
|
|
556
730
|
async SuspendResumeDataEngine(req, cb) {
|
|
557
731
|
return this.request("SuspendResumeDataEngine", req, cb);
|
|
558
732
|
}
|
|
733
|
+
/**
|
|
734
|
+
* 获取作业事件日志
|
|
735
|
+
*/
|
|
736
|
+
async GetRayJobEventLog(req, cb) {
|
|
737
|
+
return this.request("GetRayJobEventLog", req, cb);
|
|
738
|
+
}
|
|
559
739
|
/**
|
|
560
740
|
* DMS元数据创建库
|
|
561
741
|
*/
|
|
562
742
|
async CreateDMSDatabase(req, cb) {
|
|
563
743
|
return this.request("CreateDMSDatabase", req, cb);
|
|
564
744
|
}
|
|
745
|
+
/**
|
|
746
|
+
* 获取数据实验室的Pod列表
|
|
747
|
+
*/
|
|
748
|
+
async GetLabPods(req, cb) {
|
|
749
|
+
return this.request("GetLabPods", req, cb);
|
|
750
|
+
}
|
|
565
751
|
/**
|
|
566
752
|
* 绑定鉴权策略到用户
|
|
567
753
|
*/
|
|
568
754
|
async AttachUserPolicy(req, cb) {
|
|
569
755
|
return this.request("AttachUserPolicy", req, cb);
|
|
570
756
|
}
|
|
757
|
+
/**
|
|
758
|
+
* 停止实验室
|
|
759
|
+
*/
|
|
760
|
+
async StopLab(req, cb) {
|
|
761
|
+
return this.request("StopLab", req, cb);
|
|
762
|
+
}
|
|
571
763
|
/**
|
|
572
764
|
* 修改数据治理事件阈值
|
|
573
765
|
*/
|
|
@@ -598,6 +790,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
598
790
|
async DescribeMCPSubUin(req, cb) {
|
|
599
791
|
return this.request("DescribeMCPSubUin", req, cb);
|
|
600
792
|
}
|
|
793
|
+
/**
|
|
794
|
+
* 删除数据实验室
|
|
795
|
+
*/
|
|
796
|
+
async DeleteLab(req, cb) {
|
|
797
|
+
return this.request("DeleteLab", req, cb);
|
|
798
|
+
}
|
|
601
799
|
/**
|
|
602
800
|
* 本接口(CreateNotebookSessionStatement)用于在session中执行代码片段
|
|
603
801
|
*/
|
|
@@ -617,10 +815,22 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
617
815
|
return this.request("DescribeStandardEngineResourceGroupConfigInfo", req, cb);
|
|
618
816
|
}
|
|
619
817
|
/**
|
|
620
|
-
* 本接口(
|
|
818
|
+
* 本接口(RegisterThirdPartyAccessUser)用于开通第三方平台访问
|
|
621
819
|
*/
|
|
622
|
-
async
|
|
623
|
-
return this.request("
|
|
820
|
+
async RegisterThirdPartyAccessUser(req, cb) {
|
|
821
|
+
return this.request("RegisterThirdPartyAccessUser", req, cb);
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* 获取实验室ide访问地址
|
|
825
|
+
*/
|
|
826
|
+
async GetLabServiceUrls(req, cb) {
|
|
827
|
+
return this.request("GetLabServiceUrls", req, cb);
|
|
828
|
+
}
|
|
829
|
+
/**
|
|
830
|
+
* DMS元数据更新库
|
|
831
|
+
*/
|
|
832
|
+
async AlterDMSDatabase(req, cb) {
|
|
833
|
+
return this.request("AlterDMSDatabase", req, cb);
|
|
624
834
|
}
|
|
625
835
|
/**
|
|
626
836
|
* 本接口(DescribeSparkSessionBatchSQL)用于查询Spark SQL批任务运行状态
|
|
@@ -629,10 +839,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
629
839
|
return this.request("DescribeSparkSessionBatchSQL", req, cb);
|
|
630
840
|
}
|
|
631
841
|
/**
|
|
632
|
-
*
|
|
842
|
+
* 创建作业配置
|
|
633
843
|
*/
|
|
634
|
-
async
|
|
635
|
-
return this.request("
|
|
844
|
+
async CreateJobSpec(req, cb) {
|
|
845
|
+
return this.request("CreateJobSpec", req, cb);
|
|
636
846
|
}
|
|
637
847
|
/**
|
|
638
848
|
* DMS元数据新增分区
|
|
@@ -670,6 +880,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
670
880
|
async DescribeTaskResourceUsage(req, cb) {
|
|
671
881
|
return this.request("DescribeTaskResourceUsage", req, cb);
|
|
672
882
|
}
|
|
883
|
+
/**
|
|
884
|
+
* 返回标签去重列表,按出现频次从高到低排序。
|
|
885
|
+
*/
|
|
886
|
+
async ListExampleTags(req, cb) {
|
|
887
|
+
return this.request("ListExampleTags", req, cb);
|
|
888
|
+
}
|
|
673
889
|
/**
|
|
674
890
|
* 本接口(DescribeNotebookSessionLog)用于查询交互式 session日志
|
|
675
891
|
*/
|
|
@@ -688,6 +904,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
688
904
|
async DescribeResultDownload(req, cb) {
|
|
689
905
|
return this.request("DescribeResultDownload", req, cb);
|
|
690
906
|
}
|
|
907
|
+
/**
|
|
908
|
+
* 根据配置ID获取作业配置详情
|
|
909
|
+
*/
|
|
910
|
+
async GetJobSpec(req, cb) {
|
|
911
|
+
return this.request("GetJobSpec", req, cb);
|
|
912
|
+
}
|
|
691
913
|
/**
|
|
692
914
|
* DMS元数据获取表
|
|
693
915
|
*/
|
|
@@ -742,18 +964,42 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
742
964
|
async DescribeDatasourceConnection(req, cb) {
|
|
743
965
|
return this.request("DescribeDatasourceConnection", req, cb);
|
|
744
966
|
}
|
|
967
|
+
/**
|
|
968
|
+
* 查询指定 Ray 集群下提交的所有作业,分页返回。底层委托给 ListRayJobs,强制注入 ClusterId 作为过滤条件。
|
|
969
|
+
*/
|
|
970
|
+
async ListRayClusterJobs(req, cb) {
|
|
971
|
+
return this.request("ListRayClusterJobs", req, cb);
|
|
972
|
+
}
|
|
745
973
|
/**
|
|
746
974
|
* 本接口(DescribeTablePartitions)用于查询数据表分区信息
|
|
747
975
|
*/
|
|
748
976
|
async DescribeTablePartitions(req, cb) {
|
|
749
977
|
return this.request("DescribeTablePartitions", req, cb);
|
|
750
978
|
}
|
|
979
|
+
/**
|
|
980
|
+
* 修改作业配置的调度优先级(1-9,数字越大优先级越高)
|
|
981
|
+
*/
|
|
982
|
+
async UpdateJobSpecPriority(req, cb) {
|
|
983
|
+
return this.request("UpdateJobSpecPriority", req, cb);
|
|
984
|
+
}
|
|
751
985
|
/**
|
|
752
986
|
* 本接口(CheckDataEngineImageCanBeRollback)用于查看集群是否能回滚。
|
|
753
987
|
*/
|
|
754
988
|
async CheckDataEngineImageCanBeRollback(req, cb) {
|
|
755
989
|
return this.request("CheckDataEngineImageCanBeRollback", req, cb);
|
|
756
990
|
}
|
|
991
|
+
/**
|
|
992
|
+
* 根据配置ID删除作业配置
|
|
993
|
+
*/
|
|
994
|
+
async DeleteJobSpec(req, cb) {
|
|
995
|
+
return this.request("DeleteJobSpec", req, cb);
|
|
996
|
+
}
|
|
997
|
+
/**
|
|
998
|
+
* 获取实验室的事件流(基于 K8s Event + CLS 日志)
|
|
999
|
+
*/
|
|
1000
|
+
async GetLabEvent(req, cb) {
|
|
1001
|
+
return this.request("GetLabEvent", req, cb);
|
|
1002
|
+
}
|
|
757
1003
|
/**
|
|
758
1004
|
* 本接口(CancelSparkSessionBatchSQL)用于取消Spark SQL批任务。
|
|
759
1005
|
*/
|
|
@@ -761,10 +1007,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
761
1007
|
return this.request("CancelSparkSessionBatchSQL", req, cb);
|
|
762
1008
|
}
|
|
763
1009
|
/**
|
|
764
|
-
*
|
|
1010
|
+
* 根据任务ID获取Ray任务的历史执行记录
|
|
765
1011
|
*/
|
|
766
|
-
async
|
|
767
|
-
return this.request("
|
|
1012
|
+
async GetRayJobHistory(req, cb) {
|
|
1013
|
+
return this.request("GetRayJobHistory", req, cb);
|
|
768
1014
|
}
|
|
769
1015
|
/**
|
|
770
1016
|
* 本接口(DescribeSparkSessionBatchSqlLog)用于查询Spark SQL批任务日志
|
|
@@ -796,6 +1042,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
796
1042
|
async DeleteUserVpcConnection(req, cb) {
|
|
797
1043
|
return this.request("DeleteUserVpcConnection", req, cb);
|
|
798
1044
|
}
|
|
1045
|
+
/**
|
|
1046
|
+
* 获取作业的Pod列表
|
|
1047
|
+
*/
|
|
1048
|
+
async GetRayJobPods(req, cb) {
|
|
1049
|
+
return this.request("GetRayJobPods", req, cb);
|
|
1050
|
+
}
|
|
799
1051
|
/**
|
|
800
1052
|
* 根据spark session名称销毁eg spark session
|
|
801
1053
|
*/
|
|
@@ -808,6 +1060,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
808
1060
|
async CheckDataEngineConfigPairsValidity(req, cb) {
|
|
809
1061
|
return this.request("CheckDataEngineConfigPairsValidity", req, cb);
|
|
810
1062
|
}
|
|
1063
|
+
/**
|
|
1064
|
+
* 通过 ResourceManager 调用 CLS SearchLog API 查询作业相关日志。不返回总数,使用 Context 进行翻页,ListOver 标识是否还有更多数据。
|
|
1065
|
+
*/
|
|
1066
|
+
async GetRayJobEvent(req, cb) {
|
|
1067
|
+
return this.request("GetRayJobEvent", req, cb);
|
|
1068
|
+
}
|
|
811
1069
|
/**
|
|
812
1070
|
* 查询用户vpc到引擎网络的连接
|
|
813
1071
|
*/
|
|
@@ -815,10 +1073,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
815
1073
|
return this.request("DescribeUserVpcConnection", req, cb);
|
|
816
1074
|
}
|
|
817
1075
|
/**
|
|
818
|
-
*
|
|
1076
|
+
* 删除集群
|
|
819
1077
|
*/
|
|
820
|
-
async
|
|
821
|
-
return this.request("
|
|
1078
|
+
async DeleteRayCluster(req, cb) {
|
|
1079
|
+
return this.request("DeleteRayCluster", req, cb);
|
|
822
1080
|
}
|
|
823
1081
|
/**
|
|
824
1082
|
* 删除用户
|
|
@@ -827,10 +1085,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
827
1085
|
return this.request("DeleteUser", req, cb);
|
|
828
1086
|
}
|
|
829
1087
|
/**
|
|
830
|
-
*
|
|
1088
|
+
* DMS元数据获取表列表
|
|
831
1089
|
*/
|
|
832
|
-
async
|
|
833
|
-
return this.request("
|
|
1090
|
+
async DescribeDMSTables(req, cb) {
|
|
1091
|
+
return this.request("DescribeDMSTables", req, cb);
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
* 删除表
|
|
1095
|
+
*/
|
|
1096
|
+
async DeleteTable(req, cb) {
|
|
1097
|
+
return this.request("DeleteTable", req, cb);
|
|
834
1098
|
}
|
|
835
1099
|
/**
|
|
836
1100
|
* 本接口根据引擎ID查询数据引擎资源使用情况
|
|
@@ -865,10 +1129,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
865
1129
|
return this.request("CreateTasksInOrder", req, cb);
|
|
866
1130
|
}
|
|
867
1131
|
/**
|
|
868
|
-
*
|
|
1132
|
+
* 删除集群组
|
|
869
1133
|
*/
|
|
870
|
-
async
|
|
871
|
-
return this.request("
|
|
1134
|
+
async DeleteClusterGroup(req, cb) {
|
|
1135
|
+
return this.request("DeleteClusterGroup", req, cb);
|
|
872
1136
|
}
|
|
873
1137
|
/**
|
|
874
1138
|
* 元数据锁
|
|
@@ -918,6 +1182,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
918
1182
|
async DetachWorkGroupPolicy(req, cb) {
|
|
919
1183
|
return this.request("DetachWorkGroupPolicy", req, cb);
|
|
920
1184
|
}
|
|
1185
|
+
/**
|
|
1186
|
+
* 根据任务ID获取Ray任务详情
|
|
1187
|
+
*/
|
|
1188
|
+
async GetRayJob(req, cb) {
|
|
1189
|
+
return this.request("GetRayJob", req, cb);
|
|
1190
|
+
}
|
|
921
1191
|
/**
|
|
922
1192
|
* DMS元数据删除表
|
|
923
1193
|
*/
|
|
@@ -948,6 +1218,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
948
1218
|
async CreateImportTask(req, cb) {
|
|
949
1219
|
return this.request("CreateImportTask", req, cb);
|
|
950
1220
|
}
|
|
1221
|
+
/**
|
|
1222
|
+
* 停止集群
|
|
1223
|
+
*/
|
|
1224
|
+
async StopRayCluster(req, cb) {
|
|
1225
|
+
return this.request("StopRayCluster", req, cb);
|
|
1226
|
+
}
|
|
1227
|
+
/**
|
|
1228
|
+
* 获取集群的Pod列表
|
|
1229
|
+
*/
|
|
1230
|
+
async GetRayClusterPods(req, cb) {
|
|
1231
|
+
return this.request("GetRayClusterPods", req, cb);
|
|
1232
|
+
}
|
|
951
1233
|
/**
|
|
952
1234
|
* 更新标准引擎资源组基础信息
|
|
953
1235
|
*/
|
|
@@ -978,6 +1260,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
978
1260
|
async CreateExportTask(req, cb) {
|
|
979
1261
|
return this.request("CreateExportTask", req, cb);
|
|
980
1262
|
}
|
|
1263
|
+
/**
|
|
1264
|
+
* 创建资源配置模板
|
|
1265
|
+
*/
|
|
1266
|
+
async CreateResourceConfig(req, cb) {
|
|
1267
|
+
return this.request("CreateResourceConfig", req, cb);
|
|
1268
|
+
}
|
|
981
1269
|
/**
|
|
982
1270
|
* 创建tdlc spark作业
|
|
983
1271
|
*/
|
|
@@ -985,10 +1273,22 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
985
1273
|
return this.request("CreateSparkAppForTDLC", req, cb);
|
|
986
1274
|
}
|
|
987
1275
|
/**
|
|
988
|
-
*
|
|
1276
|
+
* 列出所有集群组
|
|
989
1277
|
*/
|
|
990
|
-
async
|
|
991
|
-
return this.request("
|
|
1278
|
+
async ListClusterGroups(req, cb) {
|
|
1279
|
+
return this.request("ListClusterGroups", req, cb);
|
|
1280
|
+
}
|
|
1281
|
+
/**
|
|
1282
|
+
* 列出所有集群
|
|
1283
|
+
*/
|
|
1284
|
+
async ListRayClusters(req, cb) {
|
|
1285
|
+
return this.request("ListRayClusters", req, cb);
|
|
1286
|
+
}
|
|
1287
|
+
/**
|
|
1288
|
+
* 根据任务ID取消正在运行的Ray任务
|
|
1289
|
+
*/
|
|
1290
|
+
async CancelRayJob(req, cb) {
|
|
1291
|
+
return this.request("CancelRayJob", req, cb);
|
|
992
1292
|
}
|
|
993
1293
|
/**
|
|
994
1294
|
* 该接口用于洞察分析列表
|
|
@@ -996,6 +1296,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
996
1296
|
async DescribeTasksAnalysis(req, cb) {
|
|
997
1297
|
return this.request("DescribeTasksAnalysis", req, cb);
|
|
998
1298
|
}
|
|
1299
|
+
/**
|
|
1300
|
+
* 列出实验室列表
|
|
1301
|
+
*/
|
|
1302
|
+
async ListLabs(req, cb) {
|
|
1303
|
+
return this.request("ListLabs", req, cb);
|
|
1304
|
+
}
|
|
999
1305
|
/**
|
|
1000
1306
|
* 从工作组中删除用户
|
|
1001
1307
|
*/
|
|
@@ -1008,6 +1314,24 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1008
1314
|
async UpdateNetworkConnection(req, cb) {
|
|
1009
1315
|
return this.request("UpdateNetworkConnection", req, cb);
|
|
1010
1316
|
}
|
|
1317
|
+
/**
|
|
1318
|
+
* 获取Pod的YAML内容
|
|
1319
|
+
*/
|
|
1320
|
+
async GetRayJobPodYaml(req, cb) {
|
|
1321
|
+
return this.request("GetRayJobPodYaml", req, cb);
|
|
1322
|
+
}
|
|
1323
|
+
/**
|
|
1324
|
+
* 根据集群ID列出所有Ray任务
|
|
1325
|
+
*/
|
|
1326
|
+
async ListRayJobs(req, cb) {
|
|
1327
|
+
return this.request("ListRayJobs", req, cb);
|
|
1328
|
+
}
|
|
1329
|
+
/**
|
|
1330
|
+
* 更新已有作业配置的字段
|
|
1331
|
+
*/
|
|
1332
|
+
async UpdateJobSpec(req, cb) {
|
|
1333
|
+
return this.request("UpdateJobSpec", req, cb);
|
|
1334
|
+
}
|
|
1011
1335
|
/**
|
|
1012
1336
|
* 查询Spark作业的运行任务列表
|
|
1013
1337
|
*/
|
|
@@ -1026,6 +1350,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1026
1350
|
async UnbindWorkGroupsFromUser(req, cb) {
|
|
1027
1351
|
return this.request("UnbindWorkGroupsFromUser", req, cb);
|
|
1028
1352
|
}
|
|
1353
|
+
/**
|
|
1354
|
+
* 本接口(DescribeDataEnginePythonSparkImages)用于获取PYSPARK镜像列表
|
|
1355
|
+
*/
|
|
1356
|
+
async DescribeDataEnginePythonSparkImages(req, cb) {
|
|
1357
|
+
return this.request("DescribeDataEnginePythonSparkImages", req, cb);
|
|
1358
|
+
}
|
|
1029
1359
|
/**
|
|
1030
1360
|
* 本接口(CreateSparkSubmitTask)用于提交SparkSbumit批流任务。
|
|
1031
1361
|
*/
|
|
@@ -1069,10 +1399,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1069
1399
|
return this.request("DescribeNotebookSessionStatement", req, cb);
|
|
1070
1400
|
}
|
|
1071
1401
|
/**
|
|
1072
|
-
*
|
|
1402
|
+
* 绑定数据脱敏策略
|
|
1073
1403
|
*/
|
|
1074
|
-
async
|
|
1075
|
-
return this.request("
|
|
1404
|
+
async AttachDataMaskPolicy(req, cb) {
|
|
1405
|
+
return this.request("AttachDataMaskPolicy", req, cb);
|
|
1076
1406
|
}
|
|
1077
1407
|
/**
|
|
1078
1408
|
* 查询引擎可用的节点规格
|
|
@@ -1110,6 +1440,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1110
1440
|
async UpdateEngineResourceGroupNetworkConfigInfo(req, cb) {
|
|
1111
1441
|
return this.request("UpdateEngineResourceGroupNetworkConfigInfo", req, cb);
|
|
1112
1442
|
}
|
|
1443
|
+
/**
|
|
1444
|
+
* 启动实验室
|
|
1445
|
+
*/
|
|
1446
|
+
async StartLab(req, cb) {
|
|
1447
|
+
return this.request("StartLab", req, cb);
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* 修改实验室的调度优先级(1-9,数字越大优先级越高)
|
|
1451
|
+
*/
|
|
1452
|
+
async ModifyLabPriority(req, cb) {
|
|
1453
|
+
return this.request("ModifyLabPriority", req, cb);
|
|
1454
|
+
}
|
|
1113
1455
|
/**
|
|
1114
1456
|
* 本接口(ModifySparkAppBatch)用于批量修改Spark作业参数配置
|
|
1115
1457
|
*/
|
|
@@ -1122,6 +1464,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1122
1464
|
async DescribeDMSDatabase(req, cb) {
|
|
1123
1465
|
return this.request("DescribeDMSDatabase", req, cb);
|
|
1124
1466
|
}
|
|
1467
|
+
/**
|
|
1468
|
+
* 创建集群
|
|
1469
|
+
*/
|
|
1470
|
+
async CreateRayCluster(req, cb) {
|
|
1471
|
+
return this.request("CreateRayCluster", req, cb);
|
|
1472
|
+
}
|
|
1125
1473
|
/**
|
|
1126
1474
|
* 绑定工作组到用户
|
|
1127
1475
|
*/
|
|
@@ -1140,6 +1488,24 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1140
1488
|
async DescribeTaskLog(req, cb) {
|
|
1141
1489
|
return this.request("DescribeTaskLog", req, cb);
|
|
1142
1490
|
}
|
|
1491
|
+
/**
|
|
1492
|
+
* 获取RayCluster的YAML内容
|
|
1493
|
+
*/
|
|
1494
|
+
async GetRayClusterYaml(req, cb) {
|
|
1495
|
+
return this.request("GetRayClusterYaml", req, cb);
|
|
1496
|
+
}
|
|
1497
|
+
/**
|
|
1498
|
+
* 获取数据实验室对应的RayCluster YAML内容
|
|
1499
|
+
*/
|
|
1500
|
+
async GetLabYaml(req, cb) {
|
|
1501
|
+
return this.request("GetLabYaml", req, cb);
|
|
1502
|
+
}
|
|
1503
|
+
/**
|
|
1504
|
+
* 获取资源配置模板详情
|
|
1505
|
+
*/
|
|
1506
|
+
async GetResourceConfig(req, cb) {
|
|
1507
|
+
return this.request("GetResourceConfig", req, cb);
|
|
1508
|
+
}
|
|
1143
1509
|
/**
|
|
1144
1510
|
* 获取任务结果查询
|
|
1145
1511
|
*/
|
|
@@ -1195,10 +1561,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1195
1561
|
return this.request("CreateDataEngine", req, cb);
|
|
1196
1562
|
}
|
|
1197
1563
|
/**
|
|
1198
|
-
*
|
|
1564
|
+
* 删除资源配置模板
|
|
1199
1565
|
*/
|
|
1200
|
-
async
|
|
1201
|
-
return this.request("
|
|
1566
|
+
async DeleteResourceConfig(req, cb) {
|
|
1567
|
+
return this.request("DeleteResourceConfig", req, cb);
|
|
1568
|
+
}
|
|
1569
|
+
/**
|
|
1570
|
+
* DMS元数据删除库
|
|
1571
|
+
*/
|
|
1572
|
+
async DropDMSDatabase(req, cb) {
|
|
1573
|
+
return this.request("DropDMSDatabase", req, cb);
|
|
1202
1574
|
}
|
|
1203
1575
|
/**
|
|
1204
1576
|
* 查询标准引擎资源组信息
|
|
@@ -1212,6 +1584,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1212
1584
|
async ListTaskJobLogDetail(req, cb) {
|
|
1213
1585
|
return this.request("ListTaskJobLogDetail", req, cb);
|
|
1214
1586
|
}
|
|
1587
|
+
/**
|
|
1588
|
+
* 根据任务ID删除Ray任务
|
|
1589
|
+
*/
|
|
1590
|
+
async DeleteRayJob(req, cb) {
|
|
1591
|
+
return this.request("DeleteRayJob", req, cb);
|
|
1592
|
+
}
|
|
1593
|
+
/**
|
|
1594
|
+
* 更新实验室配置:仅在 CREATED / STOPPED / FAILED 终态可用;变更落 MySQL,下次 Start 按新 spec 创建 K8s 资源
|
|
1595
|
+
*/
|
|
1596
|
+
async UpdateLab(req, cb) {
|
|
1597
|
+
return this.request("UpdateLab", req, cb);
|
|
1598
|
+
}
|
|
1215
1599
|
/**
|
|
1216
1600
|
* 查询引擎网络信息
|
|
1217
1601
|
*/
|