tencentcloud-sdk-nodejs-dlc 4.0.623 → 4.0.625
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +272 -0
- package/SERVICE_CHANGELOG.md +366 -26
- package/package.json +1 -1
- package/products.md +23 -23
- package/src/services/dlc/v20210125/dlc_client.ts +29 -26
- package/src/services/dlc/v20210125/dlc_models.ts +197 -95
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +26 -26
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +26 -26
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +194 -95
|
@@ -50,6 +50,21 @@ export interface DescribeTaskResultResponse {
|
|
|
50
50
|
*/
|
|
51
51
|
RequestId?: string;
|
|
52
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Presto监控指标
|
|
55
|
+
*/
|
|
56
|
+
export interface PrestoMonitorMetrics {
|
|
57
|
+
/**
|
|
58
|
+
* Alluxio本地缓存命中率
|
|
59
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60
|
+
*/
|
|
61
|
+
LocalCacheHitRate?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Fragment缓存命中率
|
|
64
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
65
|
+
*/
|
|
66
|
+
FragmentCacheHitRate?: number;
|
|
67
|
+
}
|
|
53
68
|
/**
|
|
54
69
|
* DescribeNotebookSessionStatement请求参数结构体
|
|
55
70
|
*/
|
|
@@ -196,7 +211,7 @@ export interface DescribeDatabasesRequest {
|
|
|
196
211
|
*/
|
|
197
212
|
DatasourceConnectionName?: string;
|
|
198
213
|
/**
|
|
199
|
-
*
|
|
214
|
+
* 排序字段,CreateTime:创建时间,Name:数据库名称
|
|
200
215
|
*/
|
|
201
216
|
Sort?: string;
|
|
202
217
|
/**
|
|
@@ -490,11 +505,11 @@ export interface DescribeNotebookSessionsRequest {
|
|
|
490
505
|
*/
|
|
491
506
|
Asc?: boolean;
|
|
492
507
|
/**
|
|
493
|
-
*
|
|
508
|
+
* 分页参数,默认10
|
|
494
509
|
*/
|
|
495
510
|
Limit?: number;
|
|
496
511
|
/**
|
|
497
|
-
*
|
|
512
|
+
* 分页参数,默认0
|
|
498
513
|
*/
|
|
499
514
|
Offset?: number;
|
|
500
515
|
}
|
|
@@ -617,11 +632,11 @@ export interface DescribeTablesResponse {
|
|
|
617
632
|
/**
|
|
618
633
|
* 数据表对象列表。
|
|
619
634
|
*/
|
|
620
|
-
TableList
|
|
635
|
+
TableList?: Array<TableResponseInfo>;
|
|
621
636
|
/**
|
|
622
637
|
* 实例总数。
|
|
623
638
|
*/
|
|
624
|
-
TotalCount
|
|
639
|
+
TotalCount?: number;
|
|
625
640
|
/**
|
|
626
641
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
627
642
|
*/
|
|
@@ -828,7 +843,7 @@ export interface SuspendResumeDataEngineResponse {
|
|
|
828
843
|
/**
|
|
829
844
|
* 虚拟集群详细信息
|
|
830
845
|
*/
|
|
831
|
-
DataEngineName
|
|
846
|
+
DataEngineName?: string;
|
|
832
847
|
/**
|
|
833
848
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
834
849
|
*/
|
|
@@ -839,7 +854,7 @@ export interface SuspendResumeDataEngineResponse {
|
|
|
839
854
|
*/
|
|
840
855
|
export interface DeleteSparkAppRequest {
|
|
841
856
|
/**
|
|
842
|
-
* spark
|
|
857
|
+
* spark作业名
|
|
843
858
|
*/
|
|
844
859
|
AppName: string;
|
|
845
860
|
}
|
|
@@ -950,7 +965,7 @@ export interface AlterDMSTableResponse {
|
|
|
950
965
|
*/
|
|
951
966
|
export interface DescribeEngineUsageInfoRequest {
|
|
952
967
|
/**
|
|
953
|
-
*
|
|
968
|
+
* 数据引擎ID
|
|
954
969
|
*/
|
|
955
970
|
DataEngineId: string;
|
|
956
971
|
}
|
|
@@ -1135,6 +1150,66 @@ export interface NotebookSessions {
|
|
|
1135
1150
|
*/
|
|
1136
1151
|
SparkUiUrl: string;
|
|
1137
1152
|
}
|
|
1153
|
+
/**
|
|
1154
|
+
* 任务公共指标
|
|
1155
|
+
*/
|
|
1156
|
+
export interface CommonMetrics {
|
|
1157
|
+
/**
|
|
1158
|
+
* 创建任务时长,单位:ms
|
|
1159
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1160
|
+
*/
|
|
1161
|
+
CreateTaskTime?: number;
|
|
1162
|
+
/**
|
|
1163
|
+
* 预处理总时长,单位:ms
|
|
1164
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1165
|
+
*/
|
|
1166
|
+
ProcessTime?: number;
|
|
1167
|
+
/**
|
|
1168
|
+
* 排队时长,单位:ms
|
|
1169
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1170
|
+
*/
|
|
1171
|
+
QueueTime?: number;
|
|
1172
|
+
/**
|
|
1173
|
+
* 执行时长,单位:ms
|
|
1174
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1175
|
+
*/
|
|
1176
|
+
ExecutionTime?: number;
|
|
1177
|
+
/**
|
|
1178
|
+
* 是否命中结果缓存
|
|
1179
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1180
|
+
*/
|
|
1181
|
+
IsResultCacheHit?: boolean;
|
|
1182
|
+
/**
|
|
1183
|
+
* 匹配物化视图数据量
|
|
1184
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1185
|
+
*/
|
|
1186
|
+
MatchedMVBytes?: number;
|
|
1187
|
+
/**
|
|
1188
|
+
* 匹配物化视图列表
|
|
1189
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1190
|
+
*/
|
|
1191
|
+
MatchedMVs?: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* 结果数据量,单位:byte
|
|
1194
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1195
|
+
*/
|
|
1196
|
+
AffectedBytes?: string;
|
|
1197
|
+
/**
|
|
1198
|
+
* 结果行数
|
|
1199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1200
|
+
*/
|
|
1201
|
+
AffectedRows?: number;
|
|
1202
|
+
/**
|
|
1203
|
+
* 扫描数据量,单位:byte
|
|
1204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1205
|
+
*/
|
|
1206
|
+
ProcessedBytes?: number;
|
|
1207
|
+
/**
|
|
1208
|
+
* 扫描行数
|
|
1209
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1210
|
+
*/
|
|
1211
|
+
ProcessedRows?: number;
|
|
1212
|
+
}
|
|
1138
1213
|
/**
|
|
1139
1214
|
* CreateNotebookSessionStatementSupportBatchSQL请求参数结构体
|
|
1140
1215
|
*/
|
|
@@ -1148,7 +1223,7 @@ export interface CreateNotebookSessionStatementSupportBatchSQLRequest {
|
|
|
1148
1223
|
*/
|
|
1149
1224
|
Code: string;
|
|
1150
1225
|
/**
|
|
1151
|
-
* 类型,当前支持:
|
|
1226
|
+
* 类型,当前支持:sql
|
|
1152
1227
|
*/
|
|
1153
1228
|
Kind: string;
|
|
1154
1229
|
/**
|
|
@@ -1277,31 +1352,31 @@ export declare type DescribeLakeFsInfoRequest = null;
|
|
|
1277
1352
|
*/
|
|
1278
1353
|
export interface ModifySparkAppRequest {
|
|
1279
1354
|
/**
|
|
1280
|
-
* spark
|
|
1355
|
+
* spark作业名
|
|
1281
1356
|
*/
|
|
1282
1357
|
AppName: string;
|
|
1283
1358
|
/**
|
|
1284
|
-
* 1代表spark jar
|
|
1359
|
+
* spark作业类型,1代表spark jar作业,2代表spark streaming作业
|
|
1285
1360
|
*/
|
|
1286
1361
|
AppType: number;
|
|
1287
1362
|
/**
|
|
1288
|
-
* 执行spark
|
|
1363
|
+
* 执行spark作业的数据引擎名称
|
|
1289
1364
|
*/
|
|
1290
1365
|
DataEngine: string;
|
|
1291
1366
|
/**
|
|
1292
|
-
* spark
|
|
1367
|
+
* spark作业程序包文件路径
|
|
1293
1368
|
*/
|
|
1294
1369
|
AppFile: string;
|
|
1295
1370
|
/**
|
|
1296
|
-
*
|
|
1371
|
+
* 数据访问策略,CAM Role arn
|
|
1297
1372
|
*/
|
|
1298
1373
|
RoleArn: number;
|
|
1299
1374
|
/**
|
|
1300
|
-
*
|
|
1375
|
+
* 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
1301
1376
|
*/
|
|
1302
1377
|
AppDriverSize: string;
|
|
1303
1378
|
/**
|
|
1304
|
-
*
|
|
1379
|
+
* 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
1305
1380
|
*/
|
|
1306
1381
|
AppExecutorSize: string;
|
|
1307
1382
|
/**
|
|
@@ -1309,7 +1384,7 @@ export interface ModifySparkAppRequest {
|
|
|
1309
1384
|
*/
|
|
1310
1385
|
AppExecutorNums: number;
|
|
1311
1386
|
/**
|
|
1312
|
-
* spark
|
|
1387
|
+
* spark作业Id
|
|
1313
1388
|
*/
|
|
1314
1389
|
SparkAppId: string;
|
|
1315
1390
|
/**
|
|
@@ -1317,11 +1392,11 @@ export interface ModifySparkAppRequest {
|
|
|
1317
1392
|
*/
|
|
1318
1393
|
Eni?: string;
|
|
1319
1394
|
/**
|
|
1320
|
-
*
|
|
1395
|
+
* spark作业程序包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
1321
1396
|
*/
|
|
1322
1397
|
IsLocal?: string;
|
|
1323
1398
|
/**
|
|
1324
|
-
* spark
|
|
1399
|
+
* spark作业主类
|
|
1325
1400
|
*/
|
|
1326
1401
|
MainClass?: string;
|
|
1327
1402
|
/**
|
|
@@ -1329,35 +1404,35 @@ export interface ModifySparkAppRequest {
|
|
|
1329
1404
|
*/
|
|
1330
1405
|
AppConf?: string;
|
|
1331
1406
|
/**
|
|
1332
|
-
* jar
|
|
1407
|
+
* spark 作业依赖jar包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
1333
1408
|
*/
|
|
1334
1409
|
IsLocalJars?: string;
|
|
1335
1410
|
/**
|
|
1336
|
-
* spark jar
|
|
1411
|
+
* spark 作业依赖jar包(--jars),以逗号分隔
|
|
1337
1412
|
*/
|
|
1338
1413
|
AppJars?: string;
|
|
1339
1414
|
/**
|
|
1340
|
-
*
|
|
1415
|
+
* spark作业依赖文件资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
1341
1416
|
*/
|
|
1342
1417
|
IsLocalFiles?: string;
|
|
1343
1418
|
/**
|
|
1344
|
-
* spark
|
|
1419
|
+
* spark作业依赖文件资源(--files)(非jar、zip),以逗号分隔
|
|
1345
1420
|
*/
|
|
1346
1421
|
AppFiles?: string;
|
|
1347
1422
|
/**
|
|
1348
|
-
* pyspark:依赖上传方式,
|
|
1423
|
+
* pyspark:依赖上传方式,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
1349
1424
|
*/
|
|
1350
1425
|
IsLocalPythonFiles?: string;
|
|
1351
1426
|
/**
|
|
1352
|
-
* pyspark
|
|
1427
|
+
* pyspark作业依赖python资源(--py-files),支持py/zip/egg等归档格式,多文件以逗号分隔
|
|
1353
1428
|
*/
|
|
1354
1429
|
AppPythonFiles?: string;
|
|
1355
1430
|
/**
|
|
1356
|
-
* spark
|
|
1431
|
+
* spark作业程序入参
|
|
1357
1432
|
*/
|
|
1358
1433
|
CmdArgs?: string;
|
|
1359
1434
|
/**
|
|
1360
|
-
*
|
|
1435
|
+
* 最大重试次数,只对spark流任务生效
|
|
1361
1436
|
*/
|
|
1362
1437
|
MaxRetries?: number;
|
|
1363
1438
|
/**
|
|
@@ -1365,15 +1440,15 @@ export interface ModifySparkAppRequest {
|
|
|
1365
1440
|
*/
|
|
1366
1441
|
DataSource?: string;
|
|
1367
1442
|
/**
|
|
1368
|
-
* archives
|
|
1443
|
+
* spark作业依赖archives资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
1369
1444
|
*/
|
|
1370
1445
|
IsLocalArchives?: string;
|
|
1371
1446
|
/**
|
|
1372
|
-
* archives
|
|
1447
|
+
* spark作业依赖archives资源(--archives),支持tar.gz/tgz/tar等归档格式,以逗号分隔
|
|
1373
1448
|
*/
|
|
1374
1449
|
AppArchives?: string;
|
|
1375
1450
|
/**
|
|
1376
|
-
* Spark Image
|
|
1451
|
+
* Spark Image 版本号
|
|
1377
1452
|
*/
|
|
1378
1453
|
SparkImage?: string;
|
|
1379
1454
|
/**
|
|
@@ -1568,7 +1643,7 @@ export interface CheckLockMetaDataRequest {
|
|
|
1568
1643
|
*/
|
|
1569
1644
|
export interface DescribeSparkAppJobRequest {
|
|
1570
1645
|
/**
|
|
1571
|
-
* spark作业Id,与JobName同时存在时,JobName
|
|
1646
|
+
* spark作业Id,与JobName同时存在时,JobName无效,JobId与JobName至少存在一个
|
|
1572
1647
|
*/
|
|
1573
1648
|
JobId?: string;
|
|
1574
1649
|
/**
|
|
@@ -1627,7 +1702,7 @@ export interface DescribeTasksRequest {
|
|
|
1627
1702
|
*/
|
|
1628
1703
|
EndTime?: string;
|
|
1629
1704
|
/**
|
|
1630
|
-
*
|
|
1705
|
+
* 数据引擎名称,用于筛选
|
|
1631
1706
|
*/
|
|
1632
1707
|
DataEngineName?: string;
|
|
1633
1708
|
}
|
|
@@ -1640,7 +1715,7 @@ export interface CreateSparkAppTaskRequest {
|
|
|
1640
1715
|
*/
|
|
1641
1716
|
JobName: string;
|
|
1642
1717
|
/**
|
|
1643
|
-
* spark
|
|
1718
|
+
* spark作业程序入参,以空格分隔;一般用于周期性调用使用
|
|
1644
1719
|
*/
|
|
1645
1720
|
CmdArgs?: string;
|
|
1646
1721
|
}
|
|
@@ -1970,11 +2045,11 @@ export interface DescribeDatabasesResponse {
|
|
|
1970
2045
|
/**
|
|
1971
2046
|
* 数据库对象列表。
|
|
1972
2047
|
*/
|
|
1973
|
-
DatabaseList
|
|
2048
|
+
DatabaseList?: Array<DatabaseResponseInfo>;
|
|
1974
2049
|
/**
|
|
1975
2050
|
* 实例总数。
|
|
1976
2051
|
*/
|
|
1977
|
-
TotalCount
|
|
2052
|
+
TotalCount?: number;
|
|
1978
2053
|
/**
|
|
1979
2054
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1980
2055
|
*/
|
|
@@ -2024,23 +2099,23 @@ export interface DescribeNotebookSessionsResponse {
|
|
|
2024
2099
|
/**
|
|
2025
2100
|
* session总数量
|
|
2026
2101
|
*/
|
|
2027
|
-
TotalElements
|
|
2102
|
+
TotalElements?: number;
|
|
2028
2103
|
/**
|
|
2029
2104
|
* 总页数
|
|
2030
2105
|
*/
|
|
2031
|
-
TotalPages
|
|
2106
|
+
TotalPages?: number;
|
|
2032
2107
|
/**
|
|
2033
2108
|
* 当前页码
|
|
2034
2109
|
*/
|
|
2035
|
-
Page
|
|
2110
|
+
Page?: number;
|
|
2036
2111
|
/**
|
|
2037
2112
|
* 当前页数量
|
|
2038
2113
|
*/
|
|
2039
|
-
Size
|
|
2114
|
+
Size?: number;
|
|
2040
2115
|
/**
|
|
2041
2116
|
* session列表信息
|
|
2042
2117
|
*/
|
|
2043
|
-
Sessions
|
|
2118
|
+
Sessions?: Array<NotebookSessions>;
|
|
2044
2119
|
/**
|
|
2045
2120
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2046
2121
|
*/
|
|
@@ -2166,7 +2241,7 @@ export interface DescribeSparkAppJobsRequest {
|
|
|
2166
2241
|
*/
|
|
2167
2242
|
Sorting?: string;
|
|
2168
2243
|
/**
|
|
2169
|
-
*
|
|
2244
|
+
* 过滤条件,如下支持的过滤类型,传参Name应为其一:spark-job-name(作业名称),spark-job-id(作业id),spark-app-type(作业类型,1:批任务,2:流任务,4:SQL作业),user-name(创建人),key-word(作业名称或ID关键词模糊搜索)
|
|
2170
2245
|
*/
|
|
2171
2246
|
Filters?: Array<Filter>;
|
|
2172
2247
|
/**
|
|
@@ -2391,7 +2466,7 @@ export interface CreateDataEngineRequest {
|
|
|
2391
2466
|
*/
|
|
2392
2467
|
CrontabResumeSuspendStrategy?: CrontabResumeSuspendStrategy;
|
|
2393
2468
|
/**
|
|
2394
|
-
*
|
|
2469
|
+
* 引擎执行任务类型,有效值:SQL/BATCH,默认为SQL
|
|
2395
2470
|
*/
|
|
2396
2471
|
EngineExecType?: string;
|
|
2397
2472
|
/**
|
|
@@ -2519,6 +2594,21 @@ export interface CSV {
|
|
|
2519
2594
|
*/
|
|
2520
2595
|
Format?: string;
|
|
2521
2596
|
}
|
|
2597
|
+
/**
|
|
2598
|
+
* Spark监控数据
|
|
2599
|
+
*/
|
|
2600
|
+
export interface SparkMonitorMetrics {
|
|
2601
|
+
/**
|
|
2602
|
+
* shuffle写溢出到COS数据量,单位:byte
|
|
2603
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2604
|
+
*/
|
|
2605
|
+
ShuffleWriteBytesCos?: number;
|
|
2606
|
+
/**
|
|
2607
|
+
* shuffle写数据量,单位:byte
|
|
2608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2609
|
+
*/
|
|
2610
|
+
ShuffleWriteBytesTotal?: number;
|
|
2611
|
+
}
|
|
2522
2612
|
/**
|
|
2523
2613
|
* NotebookSessionStatement详情。
|
|
2524
2614
|
*/
|
|
@@ -3186,11 +3276,11 @@ export interface CreateSparkAppTaskResponse {
|
|
|
3186
3276
|
/**
|
|
3187
3277
|
* 批Id
|
|
3188
3278
|
*/
|
|
3189
|
-
BatchId
|
|
3279
|
+
BatchId?: string;
|
|
3190
3280
|
/**
|
|
3191
3281
|
* 任务Id
|
|
3192
3282
|
*/
|
|
3193
|
-
TaskId
|
|
3283
|
+
TaskId?: string;
|
|
3194
3284
|
/**
|
|
3195
3285
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3196
3286
|
*/
|
|
@@ -3379,6 +3469,21 @@ export interface TaskResponseInfo {
|
|
|
3379
3469
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3380
3470
|
*/
|
|
3381
3471
|
ExecutorMaxNumbers?: number;
|
|
3472
|
+
/**
|
|
3473
|
+
* 任务公共指标数据
|
|
3474
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3475
|
+
*/
|
|
3476
|
+
CommonMetrics?: CommonMetrics;
|
|
3477
|
+
/**
|
|
3478
|
+
* spark任务指标数据
|
|
3479
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3480
|
+
*/
|
|
3481
|
+
SparkMonitorMetrics?: SparkMonitorMetrics;
|
|
3482
|
+
/**
|
|
3483
|
+
* presto任务指标数据
|
|
3484
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3485
|
+
*/
|
|
3486
|
+
PrestoMonitorMetrics?: PrestoMonitorMetrics;
|
|
3382
3487
|
}
|
|
3383
3488
|
/**
|
|
3384
3489
|
* 文本格式
|
|
@@ -3972,15 +4077,15 @@ export interface DescribeNotebookSessionLogResponse {
|
|
|
3972
4077
|
/**
|
|
3973
4078
|
* 日志信息,默认获取最新的200条
|
|
3974
4079
|
*/
|
|
3975
|
-
Logs
|
|
4080
|
+
Logs?: Array<string>;
|
|
3976
4081
|
/**
|
|
3977
4082
|
* 分页参数,默认200
|
|
3978
4083
|
*/
|
|
3979
|
-
Limit
|
|
4084
|
+
Limit?: number;
|
|
3980
4085
|
/**
|
|
3981
4086
|
* 分页参数,默认0
|
|
3982
4087
|
*/
|
|
3983
|
-
Offset
|
|
4088
|
+
Offset?: number;
|
|
3984
4089
|
/**
|
|
3985
4090
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3986
4091
|
*/
|
|
@@ -4177,15 +4282,15 @@ export interface DescribeEngineUsageInfoResponse {
|
|
|
4177
4282
|
/**
|
|
4178
4283
|
* 集群总规格
|
|
4179
4284
|
*/
|
|
4180
|
-
Total
|
|
4285
|
+
Total?: number;
|
|
4181
4286
|
/**
|
|
4182
4287
|
* 已占用集群规格
|
|
4183
4288
|
*/
|
|
4184
|
-
Used
|
|
4289
|
+
Used?: number;
|
|
4185
4290
|
/**
|
|
4186
4291
|
* 剩余集群规格
|
|
4187
4292
|
*/
|
|
4188
|
-
Available
|
|
4293
|
+
Available?: number;
|
|
4189
4294
|
/**
|
|
4190
4295
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4191
4296
|
*/
|
|
@@ -4218,15 +4323,15 @@ export interface DescribeTablesRequest {
|
|
|
4218
4323
|
*/
|
|
4219
4324
|
DatasourceConnectionName?: string;
|
|
4220
4325
|
/**
|
|
4221
|
-
*
|
|
4326
|
+
* 起始时间:用于对更新时间的筛选,格式为yyyy-mm-dd HH:MM:SS
|
|
4222
4327
|
*/
|
|
4223
4328
|
StartTime?: string;
|
|
4224
4329
|
/**
|
|
4225
|
-
*
|
|
4330
|
+
* 终止时间:用于对更新时间的筛选,格式为yyyy-mm-dd HH:MM:SS
|
|
4226
4331
|
*/
|
|
4227
4332
|
EndTime?: string;
|
|
4228
4333
|
/**
|
|
4229
|
-
* 排序字段,支持:CreateTime
|
|
4334
|
+
* 排序字段,支持:CreateTime(创建时间)、UpdateTime(更新时间)、StorageSize(存储空间)、RecordCount(行数)、Name(表名称)(不传则默认按name升序)
|
|
4230
4335
|
*/
|
|
4231
4336
|
Sort?: string;
|
|
4232
4337
|
/**
|
|
@@ -4716,7 +4821,7 @@ export interface CreateTaskResponse {
|
|
|
4716
4821
|
* 任务ID
|
|
4717
4822
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4718
4823
|
*/
|
|
4719
|
-
TaskId
|
|
4824
|
+
TaskId?: string;
|
|
4720
4825
|
/**
|
|
4721
4826
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4722
4827
|
*/
|
|
@@ -4812,16 +4917,16 @@ export interface DescribeSparkAppTasksResponse {
|
|
|
4812
4917
|
* 任务结果(该字段已废弃)
|
|
4813
4918
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4814
4919
|
*/
|
|
4815
|
-
Tasks
|
|
4920
|
+
Tasks?: TaskResponseInfo;
|
|
4816
4921
|
/**
|
|
4817
4922
|
* 任务总数
|
|
4818
4923
|
*/
|
|
4819
|
-
TotalCount
|
|
4924
|
+
TotalCount?: number;
|
|
4820
4925
|
/**
|
|
4821
4926
|
* 任务结果列表
|
|
4822
4927
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4823
4928
|
*/
|
|
4824
|
-
SparkAppTasks
|
|
4929
|
+
SparkAppTasks?: Array<TaskResponseInfo>;
|
|
4825
4930
|
/**
|
|
4826
4931
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4827
4932
|
*/
|
|
@@ -5038,11 +5143,11 @@ export interface CreateTasksResponse {
|
|
|
5038
5143
|
/**
|
|
5039
5144
|
* 本批次提交的任务的批次Id
|
|
5040
5145
|
*/
|
|
5041
|
-
BatchId
|
|
5146
|
+
BatchId?: string;
|
|
5042
5147
|
/**
|
|
5043
5148
|
* 任务Id集合,按照执行顺序排列
|
|
5044
5149
|
*/
|
|
5045
|
-
TaskIdSet
|
|
5150
|
+
TaskIdSet?: Array<string>;
|
|
5046
5151
|
/**
|
|
5047
5152
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5048
5153
|
*/
|
|
@@ -5094,16 +5199,16 @@ export interface DescribeTasksResponse {
|
|
|
5094
5199
|
/**
|
|
5095
5200
|
* 任务对象列表。
|
|
5096
5201
|
*/
|
|
5097
|
-
TaskList
|
|
5202
|
+
TaskList?: Array<TaskResponseInfo>;
|
|
5098
5203
|
/**
|
|
5099
5204
|
* 实例总数。
|
|
5100
5205
|
*/
|
|
5101
|
-
TotalCount
|
|
5206
|
+
TotalCount?: number;
|
|
5102
5207
|
/**
|
|
5103
5208
|
* 任务概览信息
|
|
5104
5209
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5105
5210
|
*/
|
|
5106
|
-
TasksOverview
|
|
5211
|
+
TasksOverview?: TasksOverview;
|
|
5107
5212
|
/**
|
|
5108
5213
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5109
5214
|
*/
|
|
@@ -5114,31 +5219,31 @@ export interface DescribeTasksResponse {
|
|
|
5114
5219
|
*/
|
|
5115
5220
|
export interface CreateSparkAppRequest {
|
|
5116
5221
|
/**
|
|
5117
|
-
* spark
|
|
5222
|
+
* spark作业名
|
|
5118
5223
|
*/
|
|
5119
5224
|
AppName: string;
|
|
5120
5225
|
/**
|
|
5121
|
-
* 1代表spark jar
|
|
5226
|
+
* spark作业类型,1代表spark jar作业,2代表spark streaming作业
|
|
5122
5227
|
*/
|
|
5123
5228
|
AppType: number;
|
|
5124
5229
|
/**
|
|
5125
|
-
* 执行spark
|
|
5230
|
+
* 执行spark作业的数据引擎名称
|
|
5126
5231
|
*/
|
|
5127
5232
|
DataEngine: string;
|
|
5128
5233
|
/**
|
|
5129
|
-
* spark
|
|
5234
|
+
* spark作业程序包文件路径
|
|
5130
5235
|
*/
|
|
5131
5236
|
AppFile: string;
|
|
5132
5237
|
/**
|
|
5133
|
-
*
|
|
5238
|
+
* 数据访问策略,CAM Role arn
|
|
5134
5239
|
*/
|
|
5135
5240
|
RoleArn: number;
|
|
5136
5241
|
/**
|
|
5137
|
-
*
|
|
5242
|
+
* 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
5138
5243
|
*/
|
|
5139
5244
|
AppDriverSize: string;
|
|
5140
5245
|
/**
|
|
5141
|
-
*
|
|
5246
|
+
* 指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
|
5142
5247
|
*/
|
|
5143
5248
|
AppExecutorSize: string;
|
|
5144
5249
|
/**
|
|
@@ -5150,11 +5255,11 @@ export interface CreateSparkAppRequest {
|
|
|
5150
5255
|
*/
|
|
5151
5256
|
Eni?: string;
|
|
5152
5257
|
/**
|
|
5153
|
-
*
|
|
5258
|
+
* spark作业程序包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
5154
5259
|
*/
|
|
5155
5260
|
IsLocal?: string;
|
|
5156
5261
|
/**
|
|
5157
|
-
* spark
|
|
5262
|
+
* spark作业主类
|
|
5158
5263
|
*/
|
|
5159
5264
|
MainClass?: string;
|
|
5160
5265
|
/**
|
|
@@ -5162,51 +5267,51 @@ export interface CreateSparkAppRequest {
|
|
|
5162
5267
|
*/
|
|
5163
5268
|
AppConf?: string;
|
|
5164
5269
|
/**
|
|
5165
|
-
*
|
|
5270
|
+
* spark 作业依赖jar包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
5166
5271
|
*/
|
|
5167
5272
|
IsLocalJars?: string;
|
|
5168
5273
|
/**
|
|
5169
|
-
* spark jar
|
|
5274
|
+
* spark 作业依赖jar包(--jars),以逗号分隔
|
|
5170
5275
|
*/
|
|
5171
5276
|
AppJars?: string;
|
|
5172
5277
|
/**
|
|
5173
|
-
*
|
|
5278
|
+
* spark作业依赖文件资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
5174
5279
|
*/
|
|
5175
5280
|
IsLocalFiles?: string;
|
|
5176
5281
|
/**
|
|
5177
|
-
* spark
|
|
5282
|
+
* spark作业依赖文件资源(--files)(非jar、zip),以逗号分隔
|
|
5178
5283
|
*/
|
|
5179
5284
|
AppFiles?: string;
|
|
5180
5285
|
/**
|
|
5181
|
-
* spark
|
|
5286
|
+
* spark作业程序入参,空格分割
|
|
5182
5287
|
*/
|
|
5183
5288
|
CmdArgs?: string;
|
|
5184
5289
|
/**
|
|
5185
|
-
*
|
|
5290
|
+
* 最大重试次数,只对spark流任务生效
|
|
5186
5291
|
*/
|
|
5187
5292
|
MaxRetries?: number;
|
|
5188
5293
|
/**
|
|
5189
|
-
*
|
|
5294
|
+
* 数据源名称
|
|
5190
5295
|
*/
|
|
5191
5296
|
DataSource?: string;
|
|
5192
5297
|
/**
|
|
5193
|
-
* pyspark:依赖上传方式,
|
|
5298
|
+
* pyspark:依赖上传方式,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
5194
5299
|
*/
|
|
5195
5300
|
IsLocalPythonFiles?: string;
|
|
5196
5301
|
/**
|
|
5197
|
-
* pyspark
|
|
5302
|
+
* pyspark作业依赖python资源(--py-files),支持py/zip/egg等归档格式,多文件以逗号分隔
|
|
5198
5303
|
*/
|
|
5199
5304
|
AppPythonFiles?: string;
|
|
5200
5305
|
/**
|
|
5201
|
-
* archives
|
|
5306
|
+
* spark作业依赖archives资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)
|
|
5202
5307
|
*/
|
|
5203
5308
|
IsLocalArchives?: string;
|
|
5204
5309
|
/**
|
|
5205
|
-
* archives
|
|
5310
|
+
* spark作业依赖archives资源(--archives),支持tar.gz/tgz/tar等归档格式,以逗号分隔
|
|
5206
5311
|
*/
|
|
5207
5312
|
AppArchives?: string;
|
|
5208
5313
|
/**
|
|
5209
|
-
* Spark Image
|
|
5314
|
+
* Spark Image 版本号
|
|
5210
5315
|
*/
|
|
5211
5316
|
SparkImage?: string;
|
|
5212
5317
|
/**
|
|
@@ -5280,13 +5385,7 @@ export interface DescribeDataEnginesRequest {
|
|
|
5280
5385
|
*/
|
|
5281
5386
|
Offset?: number;
|
|
5282
5387
|
/**
|
|
5283
|
-
*
|
|
5284
|
-
data-engine-name - String
|
|
5285
|
-
engine-type - String
|
|
5286
|
-
state - String
|
|
5287
|
-
mode - String
|
|
5288
|
-
create-time - String
|
|
5289
|
-
message - String
|
|
5388
|
+
* 过滤类型,支持如下的过滤类型,传参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)
|
|
5290
5389
|
*/
|
|
5291
5390
|
Filters?: Array<Filter>;
|
|
5292
5391
|
/**
|
|
@@ -5314,7 +5413,7 @@ export interface DescribeDataEnginesRequest {
|
|
|
5314
5413
|
*/
|
|
5315
5414
|
AccessTypes?: Array<string>;
|
|
5316
5415
|
/**
|
|
5317
|
-
* 引擎执行任务类型,有效值:SQL/BATCH
|
|
5416
|
+
* 引擎执行任务类型,有效值:SQL/BATCH,默认为SQL
|
|
5318
5417
|
*/
|
|
5319
5418
|
EngineExecType?: string;
|
|
5320
5419
|
/**
|
|
@@ -5620,11 +5719,11 @@ export interface DescribeSparkAppTasksRequest {
|
|
|
5620
5719
|
*/
|
|
5621
5720
|
TaskId?: string;
|
|
5622
5721
|
/**
|
|
5623
|
-
*
|
|
5722
|
+
* 更新时间起始点,支持格式:yyyy-MM-dd HH:mm:ss
|
|
5624
5723
|
*/
|
|
5625
5724
|
StartTime?: string;
|
|
5626
5725
|
/**
|
|
5627
|
-
*
|
|
5726
|
+
* 更新时间截止点,支持格式:yyyy-MM-dd HH:mm:ss
|
|
5628
5727
|
*/
|
|
5629
5728
|
EndTime?: string;
|
|
5630
5729
|
/**
|
|
@@ -5884,11 +5983,11 @@ export interface DescribeScriptsResponse {
|
|
|
5884
5983
|
* Script列表
|
|
5885
5984
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5886
5985
|
*/
|
|
5887
|
-
Scripts
|
|
5986
|
+
Scripts?: Array<Script>;
|
|
5888
5987
|
/**
|
|
5889
5988
|
* 实例总数
|
|
5890
5989
|
*/
|
|
5891
|
-
TotalCount
|
|
5990
|
+
TotalCount?: number;
|
|
5892
5991
|
/**
|
|
5893
5992
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5894
5993
|
*/
|