tencentcloud-sdk-nodejs-dlc 4.0.624 → 4.0.626
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 +394 -0
- package/SERVICE_CHANGELOG.md +503 -67
- package/package.json +1 -1
- package/products.md +32 -32
- package/src/services/dlc/v20210125/dlc_client.ts +30 -27
- package/src/services/dlc/v20210125/dlc_models.ts +197 -95
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +27 -27
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +27 -27
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +194 -95
|
@@ -69,6 +69,22 @@ export interface DescribeTaskResultResponse {
|
|
|
69
69
|
RequestId?: string
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
/**
|
|
73
|
+
* Presto监控指标
|
|
74
|
+
*/
|
|
75
|
+
export interface PrestoMonitorMetrics {
|
|
76
|
+
/**
|
|
77
|
+
* Alluxio本地缓存命中率
|
|
78
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
79
|
+
*/
|
|
80
|
+
LocalCacheHitRate?: number
|
|
81
|
+
/**
|
|
82
|
+
* Fragment缓存命中率
|
|
83
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
84
|
+
*/
|
|
85
|
+
FragmentCacheHitRate?: number
|
|
86
|
+
}
|
|
87
|
+
|
|
72
88
|
/**
|
|
73
89
|
* DescribeNotebookSessionStatement请求参数结构体
|
|
74
90
|
*/
|
|
@@ -218,7 +234,7 @@ export interface DescribeDatabasesRequest {
|
|
|
218
234
|
*/
|
|
219
235
|
DatasourceConnectionName?: string
|
|
220
236
|
/**
|
|
221
|
-
*
|
|
237
|
+
* 排序字段,CreateTime:创建时间,Name:数据库名称
|
|
222
238
|
*/
|
|
223
239
|
Sort?: string
|
|
224
240
|
/**
|
|
@@ -522,11 +538,11 @@ export interface DescribeNotebookSessionsRequest {
|
|
|
522
538
|
*/
|
|
523
539
|
Asc?: boolean
|
|
524
540
|
/**
|
|
525
|
-
*
|
|
541
|
+
* 分页参数,默认10
|
|
526
542
|
*/
|
|
527
543
|
Limit?: number
|
|
528
544
|
/**
|
|
529
|
-
*
|
|
545
|
+
* 分页参数,默认0
|
|
530
546
|
*/
|
|
531
547
|
Offset?: number
|
|
532
548
|
}
|
|
@@ -658,11 +674,11 @@ export interface DescribeTablesResponse {
|
|
|
658
674
|
/**
|
|
659
675
|
* 数据表对象列表。
|
|
660
676
|
*/
|
|
661
|
-
TableList
|
|
677
|
+
TableList?: Array<TableResponseInfo>
|
|
662
678
|
/**
|
|
663
679
|
* 实例总数。
|
|
664
680
|
*/
|
|
665
|
-
TotalCount
|
|
681
|
+
TotalCount?: number
|
|
666
682
|
/**
|
|
667
683
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
668
684
|
*/
|
|
@@ -872,7 +888,7 @@ export interface SuspendResumeDataEngineResponse {
|
|
|
872
888
|
/**
|
|
873
889
|
* 虚拟集群详细信息
|
|
874
890
|
*/
|
|
875
|
-
DataEngineName
|
|
891
|
+
DataEngineName?: string
|
|
876
892
|
/**
|
|
877
893
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
878
894
|
*/
|
|
@@ -884,7 +900,7 @@ export interface SuspendResumeDataEngineResponse {
|
|
|
884
900
|
*/
|
|
885
901
|
export interface DeleteSparkAppRequest {
|
|
886
902
|
/**
|
|
887
|
-
* spark
|
|
903
|
+
* spark作业名
|
|
888
904
|
*/
|
|
889
905
|
AppName: string
|
|
890
906
|
}
|
|
@@ -1003,7 +1019,7 @@ export interface AlterDMSTableResponse {
|
|
|
1003
1019
|
*/
|
|
1004
1020
|
export interface DescribeEngineUsageInfoRequest {
|
|
1005
1021
|
/**
|
|
1006
|
-
*
|
|
1022
|
+
* 数据引擎ID
|
|
1007
1023
|
*/
|
|
1008
1024
|
DataEngineId: string
|
|
1009
1025
|
}
|
|
@@ -1192,6 +1208,67 @@ export interface NotebookSessions {
|
|
|
1192
1208
|
SparkUiUrl: string
|
|
1193
1209
|
}
|
|
1194
1210
|
|
|
1211
|
+
/**
|
|
1212
|
+
* 任务公共指标
|
|
1213
|
+
*/
|
|
1214
|
+
export interface CommonMetrics {
|
|
1215
|
+
/**
|
|
1216
|
+
* 创建任务时长,单位:ms
|
|
1217
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1218
|
+
*/
|
|
1219
|
+
CreateTaskTime?: number
|
|
1220
|
+
/**
|
|
1221
|
+
* 预处理总时长,单位:ms
|
|
1222
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1223
|
+
*/
|
|
1224
|
+
ProcessTime?: number
|
|
1225
|
+
/**
|
|
1226
|
+
* 排队时长,单位:ms
|
|
1227
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1228
|
+
*/
|
|
1229
|
+
QueueTime?: number
|
|
1230
|
+
/**
|
|
1231
|
+
* 执行时长,单位:ms
|
|
1232
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1233
|
+
*/
|
|
1234
|
+
ExecutionTime?: number
|
|
1235
|
+
/**
|
|
1236
|
+
* 是否命中结果缓存
|
|
1237
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1238
|
+
*/
|
|
1239
|
+
IsResultCacheHit?: boolean
|
|
1240
|
+
/**
|
|
1241
|
+
* 匹配物化视图数据量
|
|
1242
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1243
|
+
*/
|
|
1244
|
+
MatchedMVBytes?: number
|
|
1245
|
+
/**
|
|
1246
|
+
* 匹配物化视图列表
|
|
1247
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1248
|
+
*/
|
|
1249
|
+
MatchedMVs?: string
|
|
1250
|
+
/**
|
|
1251
|
+
* 结果数据量,单位:byte
|
|
1252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1253
|
+
*/
|
|
1254
|
+
AffectedBytes?: string
|
|
1255
|
+
/**
|
|
1256
|
+
* 结果行数
|
|
1257
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1258
|
+
*/
|
|
1259
|
+
AffectedRows?: number
|
|
1260
|
+
/**
|
|
1261
|
+
* 扫描数据量,单位:byte
|
|
1262
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1263
|
+
*/
|
|
1264
|
+
ProcessedBytes?: number
|
|
1265
|
+
/**
|
|
1266
|
+
* 扫描行数
|
|
1267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1268
|
+
*/
|
|
1269
|
+
ProcessedRows?: number
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1195
1272
|
/**
|
|
1196
1273
|
* CreateNotebookSessionStatementSupportBatchSQL请求参数结构体
|
|
1197
1274
|
*/
|
|
@@ -1205,7 +1282,7 @@ export interface CreateNotebookSessionStatementSupportBatchSQLRequest {
|
|
|
1205
1282
|
*/
|
|
1206
1283
|
Code: string
|
|
1207
1284
|
/**
|
|
1208
|
-
* 类型,当前支持:
|
|
1285
|
+
* 类型,当前支持:sql
|
|
1209
1286
|
*/
|
|
1210
1287
|
Kind: string
|
|
1211
1288
|
/**
|
|
@@ -1343,31 +1420,31 @@ export type DescribeLakeFsInfoRequest = null
|
|
|
1343
1420
|
*/
|
|
1344
1421
|
export interface ModifySparkAppRequest {
|
|
1345
1422
|
/**
|
|
1346
|
-
* spark
|
|
1423
|
+
* spark作业名
|
|
1347
1424
|
*/
|
|
1348
1425
|
AppName: string
|
|
1349
1426
|
/**
|
|
1350
|
-
* 1代表spark jar
|
|
1427
|
+
* spark作业类型,1代表spark jar作业,2代表spark streaming作业
|
|
1351
1428
|
*/
|
|
1352
1429
|
AppType: number
|
|
1353
1430
|
/**
|
|
1354
|
-
* 执行spark
|
|
1431
|
+
* 执行spark作业的数据引擎名称
|
|
1355
1432
|
*/
|
|
1356
1433
|
DataEngine: string
|
|
1357
1434
|
/**
|
|
1358
|
-
* spark
|
|
1435
|
+
* spark作业程序包文件路径
|
|
1359
1436
|
*/
|
|
1360
1437
|
AppFile: string
|
|
1361
1438
|
/**
|
|
1362
|
-
*
|
|
1439
|
+
* 数据访问策略,CAM Role arn
|
|
1363
1440
|
*/
|
|
1364
1441
|
RoleArn: number
|
|
1365
1442
|
/**
|
|
1366
|
-
*
|
|
1443
|
+
* 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
1367
1444
|
*/
|
|
1368
1445
|
AppDriverSize: string
|
|
1369
1446
|
/**
|
|
1370
|
-
*
|
|
1447
|
+
* 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
1371
1448
|
*/
|
|
1372
1449
|
AppExecutorSize: string
|
|
1373
1450
|
/**
|
|
@@ -1375,7 +1452,7 @@ export interface ModifySparkAppRequest {
|
|
|
1375
1452
|
*/
|
|
1376
1453
|
AppExecutorNums: number
|
|
1377
1454
|
/**
|
|
1378
|
-
* spark
|
|
1455
|
+
* spark作业Id
|
|
1379
1456
|
*/
|
|
1380
1457
|
SparkAppId: string
|
|
1381
1458
|
/**
|
|
@@ -1383,11 +1460,11 @@ export interface ModifySparkAppRequest {
|
|
|
1383
1460
|
*/
|
|
1384
1461
|
Eni?: string
|
|
1385
1462
|
/**
|
|
1386
|
-
*
|
|
1463
|
+
* spark作业程序包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
1387
1464
|
*/
|
|
1388
1465
|
IsLocal?: string
|
|
1389
1466
|
/**
|
|
1390
|
-
* spark
|
|
1467
|
+
* spark作业主类
|
|
1391
1468
|
*/
|
|
1392
1469
|
MainClass?: string
|
|
1393
1470
|
/**
|
|
@@ -1395,35 +1472,35 @@ export interface ModifySparkAppRequest {
|
|
|
1395
1472
|
*/
|
|
1396
1473
|
AppConf?: string
|
|
1397
1474
|
/**
|
|
1398
|
-
* jar
|
|
1475
|
+
* spark 作业依赖jar包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
1399
1476
|
*/
|
|
1400
1477
|
IsLocalJars?: string
|
|
1401
1478
|
/**
|
|
1402
|
-
* spark jar
|
|
1479
|
+
* spark 作业依赖jar包(--jars),以逗号分隔
|
|
1403
1480
|
*/
|
|
1404
1481
|
AppJars?: string
|
|
1405
1482
|
/**
|
|
1406
|
-
*
|
|
1483
|
+
* spark作业依赖文件资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
1407
1484
|
*/
|
|
1408
1485
|
IsLocalFiles?: string
|
|
1409
1486
|
/**
|
|
1410
|
-
* spark
|
|
1487
|
+
* spark作业依赖文件资源(--files)(非jar、zip),以逗号分隔
|
|
1411
1488
|
*/
|
|
1412
1489
|
AppFiles?: string
|
|
1413
1490
|
/**
|
|
1414
|
-
* pyspark:依赖上传方式,
|
|
1491
|
+
* pyspark:依赖上传方式,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
1415
1492
|
*/
|
|
1416
1493
|
IsLocalPythonFiles?: string
|
|
1417
1494
|
/**
|
|
1418
|
-
* pyspark
|
|
1495
|
+
* pyspark作业依赖python资源(--py-files),支持py/zip/egg等归档格式,多文件以逗号分隔
|
|
1419
1496
|
*/
|
|
1420
1497
|
AppPythonFiles?: string
|
|
1421
1498
|
/**
|
|
1422
|
-
* spark
|
|
1499
|
+
* spark作业程序入参
|
|
1423
1500
|
*/
|
|
1424
1501
|
CmdArgs?: string
|
|
1425
1502
|
/**
|
|
1426
|
-
*
|
|
1503
|
+
* 最大重试次数,只对spark流任务生效
|
|
1427
1504
|
*/
|
|
1428
1505
|
MaxRetries?: number
|
|
1429
1506
|
/**
|
|
@@ -1431,15 +1508,15 @@ export interface ModifySparkAppRequest {
|
|
|
1431
1508
|
*/
|
|
1432
1509
|
DataSource?: string
|
|
1433
1510
|
/**
|
|
1434
|
-
* archives
|
|
1511
|
+
* spark作业依赖archives资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
1435
1512
|
*/
|
|
1436
1513
|
IsLocalArchives?: string
|
|
1437
1514
|
/**
|
|
1438
|
-
* archives
|
|
1515
|
+
* spark作业依赖archives资源(--archives),支持tar.gz/tgz/tar等归档格式,以逗号分隔
|
|
1439
1516
|
*/
|
|
1440
1517
|
AppArchives?: string
|
|
1441
1518
|
/**
|
|
1442
|
-
* Spark Image
|
|
1519
|
+
* Spark Image 版本号
|
|
1443
1520
|
*/
|
|
1444
1521
|
SparkImage?: string
|
|
1445
1522
|
/**
|
|
@@ -1643,7 +1720,7 @@ export interface CheckLockMetaDataRequest {
|
|
|
1643
1720
|
*/
|
|
1644
1721
|
export interface DescribeSparkAppJobRequest {
|
|
1645
1722
|
/**
|
|
1646
|
-
* spark作业Id,与JobName同时存在时,JobName
|
|
1723
|
+
* spark作业Id,与JobName同时存在时,JobName无效,JobId与JobName至少存在一个
|
|
1647
1724
|
*/
|
|
1648
1725
|
JobId?: string
|
|
1649
1726
|
/**
|
|
@@ -1704,7 +1781,7 @@ task-kind - string (任务类型过滤)
|
|
|
1704
1781
|
*/
|
|
1705
1782
|
EndTime?: string
|
|
1706
1783
|
/**
|
|
1707
|
-
*
|
|
1784
|
+
* 数据引擎名称,用于筛选
|
|
1708
1785
|
*/
|
|
1709
1786
|
DataEngineName?: string
|
|
1710
1787
|
}
|
|
@@ -1718,7 +1795,7 @@ export interface CreateSparkAppTaskRequest {
|
|
|
1718
1795
|
*/
|
|
1719
1796
|
JobName: string
|
|
1720
1797
|
/**
|
|
1721
|
-
* spark
|
|
1798
|
+
* spark作业程序入参,以空格分隔;一般用于周期性调用使用
|
|
1722
1799
|
*/
|
|
1723
1800
|
CmdArgs?: string
|
|
1724
1801
|
}
|
|
@@ -2065,11 +2142,11 @@ export interface DescribeDatabasesResponse {
|
|
|
2065
2142
|
/**
|
|
2066
2143
|
* 数据库对象列表。
|
|
2067
2144
|
*/
|
|
2068
|
-
DatabaseList
|
|
2145
|
+
DatabaseList?: Array<DatabaseResponseInfo>
|
|
2069
2146
|
/**
|
|
2070
2147
|
* 实例总数。
|
|
2071
2148
|
*/
|
|
2072
|
-
TotalCount
|
|
2149
|
+
TotalCount?: number
|
|
2073
2150
|
/**
|
|
2074
2151
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2075
2152
|
*/
|
|
@@ -2121,23 +2198,23 @@ export interface DescribeNotebookSessionsResponse {
|
|
|
2121
2198
|
/**
|
|
2122
2199
|
* session总数量
|
|
2123
2200
|
*/
|
|
2124
|
-
TotalElements
|
|
2201
|
+
TotalElements?: number
|
|
2125
2202
|
/**
|
|
2126
2203
|
* 总页数
|
|
2127
2204
|
*/
|
|
2128
|
-
TotalPages
|
|
2205
|
+
TotalPages?: number
|
|
2129
2206
|
/**
|
|
2130
2207
|
* 当前页码
|
|
2131
2208
|
*/
|
|
2132
|
-
Page
|
|
2209
|
+
Page?: number
|
|
2133
2210
|
/**
|
|
2134
2211
|
* 当前页数量
|
|
2135
2212
|
*/
|
|
2136
|
-
Size
|
|
2213
|
+
Size?: number
|
|
2137
2214
|
/**
|
|
2138
2215
|
* session列表信息
|
|
2139
2216
|
*/
|
|
2140
|
-
Sessions
|
|
2217
|
+
Sessions?: Array<NotebookSessions>
|
|
2141
2218
|
/**
|
|
2142
2219
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2143
2220
|
*/
|
|
@@ -2268,7 +2345,7 @@ export interface DescribeSparkAppJobsRequest {
|
|
|
2268
2345
|
*/
|
|
2269
2346
|
Sorting?: string
|
|
2270
2347
|
/**
|
|
2271
|
-
*
|
|
2348
|
+
* 过滤条件,如下支持的过滤类型,传参Name应为其一:spark-job-name(作业名称),spark-job-id(作业id),spark-app-type(作业类型,1:批任务,2:流任务,4:SQL作业),user-name(创建人),key-word(作业名称或ID关键词模糊搜索)
|
|
2272
2349
|
*/
|
|
2273
2350
|
Filters?: Array<Filter>
|
|
2274
2351
|
/**
|
|
@@ -2499,7 +2576,7 @@ export interface CreateDataEngineRequest {
|
|
|
2499
2576
|
*/
|
|
2500
2577
|
CrontabResumeSuspendStrategy?: CrontabResumeSuspendStrategy
|
|
2501
2578
|
/**
|
|
2502
|
-
*
|
|
2579
|
+
* 引擎执行任务类型,有效值:SQL/BATCH,默认为SQL
|
|
2503
2580
|
*/
|
|
2504
2581
|
EngineExecType?: string
|
|
2505
2582
|
/**
|
|
@@ -2632,6 +2709,22 @@ export interface CSV {
|
|
|
2632
2709
|
Format?: string
|
|
2633
2710
|
}
|
|
2634
2711
|
|
|
2712
|
+
/**
|
|
2713
|
+
* Spark监控数据
|
|
2714
|
+
*/
|
|
2715
|
+
export interface SparkMonitorMetrics {
|
|
2716
|
+
/**
|
|
2717
|
+
* shuffle写溢出到COS数据量,单位:byte
|
|
2718
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2719
|
+
*/
|
|
2720
|
+
ShuffleWriteBytesCos?: number
|
|
2721
|
+
/**
|
|
2722
|
+
* shuffle写数据量,单位:byte
|
|
2723
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2724
|
+
*/
|
|
2725
|
+
ShuffleWriteBytesTotal?: number
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2635
2728
|
/**
|
|
2636
2729
|
* NotebookSessionStatement详情。
|
|
2637
2730
|
*/
|
|
@@ -3326,11 +3419,11 @@ export interface CreateSparkAppTaskResponse {
|
|
|
3326
3419
|
/**
|
|
3327
3420
|
* 批Id
|
|
3328
3421
|
*/
|
|
3329
|
-
BatchId
|
|
3422
|
+
BatchId?: string
|
|
3330
3423
|
/**
|
|
3331
3424
|
* 任务Id
|
|
3332
3425
|
*/
|
|
3333
|
-
TaskId
|
|
3426
|
+
TaskId?: string
|
|
3334
3427
|
/**
|
|
3335
3428
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3336
3429
|
*/
|
|
@@ -3521,6 +3614,21 @@ export interface TaskResponseInfo {
|
|
|
3521
3614
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3522
3615
|
*/
|
|
3523
3616
|
ExecutorMaxNumbers?: number
|
|
3617
|
+
/**
|
|
3618
|
+
* 任务公共指标数据
|
|
3619
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3620
|
+
*/
|
|
3621
|
+
CommonMetrics?: CommonMetrics
|
|
3622
|
+
/**
|
|
3623
|
+
* spark任务指标数据
|
|
3624
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3625
|
+
*/
|
|
3626
|
+
SparkMonitorMetrics?: SparkMonitorMetrics
|
|
3627
|
+
/**
|
|
3628
|
+
* presto任务指标数据
|
|
3629
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3630
|
+
*/
|
|
3631
|
+
PrestoMonitorMetrics?: PrestoMonitorMetrics
|
|
3524
3632
|
}
|
|
3525
3633
|
|
|
3526
3634
|
/**
|
|
@@ -4140,15 +4248,15 @@ export interface DescribeNotebookSessionLogResponse {
|
|
|
4140
4248
|
/**
|
|
4141
4249
|
* 日志信息,默认获取最新的200条
|
|
4142
4250
|
*/
|
|
4143
|
-
Logs
|
|
4251
|
+
Logs?: Array<string>
|
|
4144
4252
|
/**
|
|
4145
4253
|
* 分页参数,默认200
|
|
4146
4254
|
*/
|
|
4147
|
-
Limit
|
|
4255
|
+
Limit?: number
|
|
4148
4256
|
/**
|
|
4149
4257
|
* 分页参数,默认0
|
|
4150
4258
|
*/
|
|
4151
|
-
Offset
|
|
4259
|
+
Offset?: number
|
|
4152
4260
|
/**
|
|
4153
4261
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4154
4262
|
*/
|
|
@@ -4358,15 +4466,15 @@ export interface DescribeEngineUsageInfoResponse {
|
|
|
4358
4466
|
/**
|
|
4359
4467
|
* 集群总规格
|
|
4360
4468
|
*/
|
|
4361
|
-
Total
|
|
4469
|
+
Total?: number
|
|
4362
4470
|
/**
|
|
4363
4471
|
* 已占用集群规格
|
|
4364
4472
|
*/
|
|
4365
|
-
Used
|
|
4473
|
+
Used?: number
|
|
4366
4474
|
/**
|
|
4367
4475
|
* 剩余集群规格
|
|
4368
4476
|
*/
|
|
4369
|
-
Available
|
|
4477
|
+
Available?: number
|
|
4370
4478
|
/**
|
|
4371
4479
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4372
4480
|
*/
|
|
@@ -4400,15 +4508,15 @@ table-id - String - (过滤条件)table id形如:12342。
|
|
|
4400
4508
|
*/
|
|
4401
4509
|
DatasourceConnectionName?: string
|
|
4402
4510
|
/**
|
|
4403
|
-
*
|
|
4511
|
+
* 起始时间:用于对更新时间的筛选,格式为yyyy-mm-dd HH:MM:SS
|
|
4404
4512
|
*/
|
|
4405
4513
|
StartTime?: string
|
|
4406
4514
|
/**
|
|
4407
|
-
*
|
|
4515
|
+
* 终止时间:用于对更新时间的筛选,格式为yyyy-mm-dd HH:MM:SS
|
|
4408
4516
|
*/
|
|
4409
4517
|
EndTime?: string
|
|
4410
4518
|
/**
|
|
4411
|
-
* 排序字段,支持:CreateTime
|
|
4519
|
+
* 排序字段,支持:CreateTime(创建时间)、UpdateTime(更新时间)、StorageSize(存储空间)、RecordCount(行数)、Name(表名称)(不传则默认按name升序)
|
|
4412
4520
|
*/
|
|
4413
4521
|
Sort?: string
|
|
4414
4522
|
/**
|
|
@@ -4923,7 +5031,7 @@ export interface CreateTaskResponse {
|
|
|
4923
5031
|
* 任务ID
|
|
4924
5032
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4925
5033
|
*/
|
|
4926
|
-
TaskId
|
|
5034
|
+
TaskId?: string
|
|
4927
5035
|
/**
|
|
4928
5036
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4929
5037
|
*/
|
|
@@ -5026,16 +5134,16 @@ export interface DescribeSparkAppTasksResponse {
|
|
|
5026
5134
|
* 任务结果(该字段已废弃)
|
|
5027
5135
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5028
5136
|
*/
|
|
5029
|
-
Tasks
|
|
5137
|
+
Tasks?: TaskResponseInfo
|
|
5030
5138
|
/**
|
|
5031
5139
|
* 任务总数
|
|
5032
5140
|
*/
|
|
5033
|
-
TotalCount
|
|
5141
|
+
TotalCount?: number
|
|
5034
5142
|
/**
|
|
5035
5143
|
* 任务结果列表
|
|
5036
5144
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5037
5145
|
*/
|
|
5038
|
-
SparkAppTasks
|
|
5146
|
+
SparkAppTasks?: Array<TaskResponseInfo>
|
|
5039
5147
|
/**
|
|
5040
5148
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5041
5149
|
*/
|
|
@@ -5261,11 +5369,11 @@ export interface CreateTasksResponse {
|
|
|
5261
5369
|
/**
|
|
5262
5370
|
* 本批次提交的任务的批次Id
|
|
5263
5371
|
*/
|
|
5264
|
-
BatchId
|
|
5372
|
+
BatchId?: string
|
|
5265
5373
|
/**
|
|
5266
5374
|
* 任务Id集合,按照执行顺序排列
|
|
5267
5375
|
*/
|
|
5268
|
-
TaskIdSet
|
|
5376
|
+
TaskIdSet?: Array<string>
|
|
5269
5377
|
/**
|
|
5270
5378
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5271
5379
|
*/
|
|
@@ -5320,16 +5428,16 @@ export interface DescribeTasksResponse {
|
|
|
5320
5428
|
/**
|
|
5321
5429
|
* 任务对象列表。
|
|
5322
5430
|
*/
|
|
5323
|
-
TaskList
|
|
5431
|
+
TaskList?: Array<TaskResponseInfo>
|
|
5324
5432
|
/**
|
|
5325
5433
|
* 实例总数。
|
|
5326
5434
|
*/
|
|
5327
|
-
TotalCount
|
|
5435
|
+
TotalCount?: number
|
|
5328
5436
|
/**
|
|
5329
5437
|
* 任务概览信息
|
|
5330
5438
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5331
5439
|
*/
|
|
5332
|
-
TasksOverview
|
|
5440
|
+
TasksOverview?: TasksOverview
|
|
5333
5441
|
/**
|
|
5334
5442
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5335
5443
|
*/
|
|
@@ -5341,31 +5449,31 @@ export interface DescribeTasksResponse {
|
|
|
5341
5449
|
*/
|
|
5342
5450
|
export interface CreateSparkAppRequest {
|
|
5343
5451
|
/**
|
|
5344
|
-
* spark
|
|
5452
|
+
* spark作业名
|
|
5345
5453
|
*/
|
|
5346
5454
|
AppName: string
|
|
5347
5455
|
/**
|
|
5348
|
-
* 1代表spark jar
|
|
5456
|
+
* spark作业类型,1代表spark jar作业,2代表spark streaming作业
|
|
5349
5457
|
*/
|
|
5350
5458
|
AppType: number
|
|
5351
5459
|
/**
|
|
5352
|
-
* 执行spark
|
|
5460
|
+
* 执行spark作业的数据引擎名称
|
|
5353
5461
|
*/
|
|
5354
5462
|
DataEngine: string
|
|
5355
5463
|
/**
|
|
5356
|
-
* spark
|
|
5464
|
+
* spark作业程序包文件路径
|
|
5357
5465
|
*/
|
|
5358
5466
|
AppFile: string
|
|
5359
5467
|
/**
|
|
5360
|
-
*
|
|
5468
|
+
* 数据访问策略,CAM Role arn
|
|
5361
5469
|
*/
|
|
5362
5470
|
RoleArn: number
|
|
5363
5471
|
/**
|
|
5364
|
-
*
|
|
5472
|
+
* 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
5365
5473
|
*/
|
|
5366
5474
|
AppDriverSize: string
|
|
5367
5475
|
/**
|
|
5368
|
-
*
|
|
5476
|
+
* 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
5369
5477
|
*/
|
|
5370
5478
|
AppExecutorSize: string
|
|
5371
5479
|
/**
|
|
@@ -5377,11 +5485,11 @@ export interface CreateSparkAppRequest {
|
|
|
5377
5485
|
*/
|
|
5378
5486
|
Eni?: string
|
|
5379
5487
|
/**
|
|
5380
|
-
*
|
|
5488
|
+
* spark作业程序包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
5381
5489
|
*/
|
|
5382
5490
|
IsLocal?: string
|
|
5383
5491
|
/**
|
|
5384
|
-
* spark
|
|
5492
|
+
* spark作业主类
|
|
5385
5493
|
*/
|
|
5386
5494
|
MainClass?: string
|
|
5387
5495
|
/**
|
|
@@ -5389,51 +5497,51 @@ export interface CreateSparkAppRequest {
|
|
|
5389
5497
|
*/
|
|
5390
5498
|
AppConf?: string
|
|
5391
5499
|
/**
|
|
5392
|
-
*
|
|
5500
|
+
* spark 作业依赖jar包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
5393
5501
|
*/
|
|
5394
5502
|
IsLocalJars?: string
|
|
5395
5503
|
/**
|
|
5396
|
-
* spark jar
|
|
5504
|
+
* spark 作业依赖jar包(--jars),以逗号分隔
|
|
5397
5505
|
*/
|
|
5398
5506
|
AppJars?: string
|
|
5399
5507
|
/**
|
|
5400
|
-
*
|
|
5508
|
+
* spark作业依赖文件资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
5401
5509
|
*/
|
|
5402
5510
|
IsLocalFiles?: string
|
|
5403
5511
|
/**
|
|
5404
|
-
* spark
|
|
5512
|
+
* spark作业依赖文件资源(--files)(非jar、zip),以逗号分隔
|
|
5405
5513
|
*/
|
|
5406
5514
|
AppFiles?: string
|
|
5407
5515
|
/**
|
|
5408
|
-
* spark
|
|
5516
|
+
* spark作业程序入参,空格分割
|
|
5409
5517
|
*/
|
|
5410
5518
|
CmdArgs?: string
|
|
5411
5519
|
/**
|
|
5412
|
-
*
|
|
5520
|
+
* 最大重试次数,只对spark流任务生效
|
|
5413
5521
|
*/
|
|
5414
5522
|
MaxRetries?: number
|
|
5415
5523
|
/**
|
|
5416
|
-
*
|
|
5524
|
+
* 数据源名称
|
|
5417
5525
|
*/
|
|
5418
5526
|
DataSource?: string
|
|
5419
5527
|
/**
|
|
5420
|
-
* pyspark:依赖上传方式,
|
|
5528
|
+
* pyspark:依赖上传方式,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
5421
5529
|
*/
|
|
5422
5530
|
IsLocalPythonFiles?: string
|
|
5423
5531
|
/**
|
|
5424
|
-
* pyspark
|
|
5532
|
+
* pyspark作业依赖python资源(--py-files),支持py/zip/egg等归档格式,多文件以逗号分隔
|
|
5425
5533
|
*/
|
|
5426
5534
|
AppPythonFiles?: string
|
|
5427
5535
|
/**
|
|
5428
|
-
* archives
|
|
5536
|
+
* spark作业依赖archives资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
5429
5537
|
*/
|
|
5430
5538
|
IsLocalArchives?: string
|
|
5431
5539
|
/**
|
|
5432
|
-
* archives
|
|
5540
|
+
* spark作业依赖archives资源(--archives),支持tar.gz/tgz/tar等归档格式,以逗号分隔
|
|
5433
5541
|
*/
|
|
5434
5542
|
AppArchives?: string
|
|
5435
5543
|
/**
|
|
5436
|
-
* Spark Image
|
|
5544
|
+
* Spark Image 版本号
|
|
5437
5545
|
*/
|
|
5438
5546
|
SparkImage?: string
|
|
5439
5547
|
/**
|
|
@@ -5509,13 +5617,7 @@ export interface DescribeDataEnginesRequest {
|
|
|
5509
5617
|
*/
|
|
5510
5618
|
Offset?: number
|
|
5511
5619
|
/**
|
|
5512
|
-
*
|
|
5513
|
-
data-engine-name - String
|
|
5514
|
-
engine-type - String
|
|
5515
|
-
state - String
|
|
5516
|
-
mode - String
|
|
5517
|
-
create-time - String
|
|
5518
|
-
message - String
|
|
5620
|
+
* 过滤类型,支持如下的过滤类型,传参Name应为以下其中一个, data-engine-name - String(数据引擎名称):engine-type - String(引擎类型:spark:spark 引擎,presto:presto引擎),state - String (数据引擎状态 -2已删除 -1失败 0初始化中 1挂起 2运行中 3准备删除 4删除中) , mode - String(计费模式 0共享模式 1按量计费 2包年包月) , create-time - String(创建时间,10位时间戳) message - String (描述信息),cluster-type - String (集群资源类型 spark_private/presto_private/presto_cu/spark_cu),engine-id - String(数据引擎ID),key-word - String(数据引擎名称或集群资源类型或描述信息模糊搜索),engine-exec-type - String(引擎执行任务类型,SQL/BATCH)
|
|
5519
5621
|
*/
|
|
5520
5622
|
Filters?: Array<Filter>
|
|
5521
5623
|
/**
|
|
@@ -5543,7 +5645,7 @@ message - String
|
|
|
5543
5645
|
*/
|
|
5544
5646
|
AccessTypes?: Array<string>
|
|
5545
5647
|
/**
|
|
5546
|
-
* 引擎执行任务类型,有效值:SQL/BATCH
|
|
5648
|
+
* 引擎执行任务类型,有效值:SQL/BATCH,默认为SQL
|
|
5547
5649
|
*/
|
|
5548
5650
|
EngineExecType?: string
|
|
5549
5651
|
/**
|
|
@@ -5855,11 +5957,11 @@ export interface DescribeSparkAppTasksRequest {
|
|
|
5855
5957
|
*/
|
|
5856
5958
|
TaskId?: string
|
|
5857
5959
|
/**
|
|
5858
|
-
*
|
|
5960
|
+
* 更新时间起始点,支持格式:yyyy-MM-dd HH:mm:ss
|
|
5859
5961
|
*/
|
|
5860
5962
|
StartTime?: string
|
|
5861
5963
|
/**
|
|
5862
|
-
*
|
|
5964
|
+
* 更新时间截止点,支持格式:yyyy-MM-dd HH:mm:ss
|
|
5863
5965
|
*/
|
|
5864
5966
|
EndTime?: string
|
|
5865
5967
|
/**
|
|
@@ -6134,11 +6236,11 @@ export interface DescribeScriptsResponse {
|
|
|
6134
6236
|
* Script列表
|
|
6135
6237
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6136
6238
|
*/
|
|
6137
|
-
Scripts
|
|
6239
|
+
Scripts?: Array<Script>
|
|
6138
6240
|
/**
|
|
6139
6241
|
* 实例总数
|
|
6140
6242
|
*/
|
|
6141
|
-
TotalCount
|
|
6243
|
+
TotalCount?: number
|
|
6142
6244
|
/**
|
|
6143
6245
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6144
6246
|
*/
|