tencentcloud-sdk-nodejs-dlc 4.0.688 → 4.0.690

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.
@@ -69,6 +69,24 @@ export interface DescribeTaskResultResponse {
69
69
  RequestId?: string
70
70
  }
71
71
 
72
+ /**
73
+ * DescribeDatasourceConnection返回参数结构体
74
+ */
75
+ export interface DescribeDatasourceConnectionResponse {
76
+ /**
77
+ * 数据连接总数
78
+ */
79
+ TotalCount: number
80
+ /**
81
+ * 数据连接对象集合
82
+ */
83
+ ConnectionSet: Array<DatasourceConnectionInfo>
84
+ /**
85
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
86
+ */
87
+ RequestId?: string
88
+ }
89
+
72
90
  /**
73
91
  * Presto监控指标
74
92
  */
@@ -904,6 +922,47 @@ export interface Task {
904
922
  SparkSQLTask?: SQLTask
905
923
  }
906
924
 
925
+ /**
926
+ * Elasticsearch数据源的详细信息
927
+ */
928
+ export interface ElasticsearchInfo {
929
+ /**
930
+ * 数据源ID
931
+ 注意:此字段可能返回 null,表示取不到有效值。
932
+ */
933
+ InstanceId?: string
934
+ /**
935
+ * 数据源名称
936
+ 注意:此字段可能返回 null,表示取不到有效值。
937
+ */
938
+ InstanceName?: string
939
+ /**
940
+ * 用户名
941
+ 注意:此字段可能返回 null,表示取不到有效值。
942
+ */
943
+ User?: string
944
+ /**
945
+ * 密码,需要base64编码
946
+ 注意:此字段可能返回 null,表示取不到有效值。
947
+ */
948
+ Password?: string
949
+ /**
950
+ * 数据源的VPC和子网信息
951
+ 注意:此字段可能返回 null,表示取不到有效值。
952
+ */
953
+ Location?: DatasourceConnectionLocation
954
+ /**
955
+ * 默认数据库名称
956
+ 注意:此字段可能返回 null,表示取不到有效值。
957
+ */
958
+ DbName?: string
959
+ /**
960
+ * 访问Elasticsearch的ip、端口信息
961
+ 注意:此字段可能返回 null,表示取不到有效值。
962
+ */
963
+ ServiceInfo?: Array<IpPortPair>
964
+ }
965
+
907
966
  /**
908
967
  * DetachUserPolicy请求参数结构体
909
968
  */
@@ -1563,53 +1622,25 @@ export interface ModifySparkAppRequest {
1563
1622
  }
1564
1623
 
1565
1624
  /**
1566
- * spark流任务统计信息
1625
+ * 数据源连接的网络信息
1567
1626
  */
1568
- export interface StreamingStatistics {
1569
- /**
1570
- * 任务开始时间
1571
- */
1572
- StartTime: string
1573
- /**
1574
- * 数据接收器数
1575
- */
1576
- Receivers: number
1577
- /**
1578
- * 运行中的接收器数
1579
- */
1580
- NumActiveReceivers: number
1581
- /**
1582
- * 不活跃的接收器数
1583
- */
1584
- NumInactiveReceivers: number
1585
- /**
1586
- * 运行中的批数
1587
- */
1588
- NumActiveBatches: number
1589
- /**
1590
- * 待处理的批数
1591
- */
1592
- NumRetainedCompletedBatches: number
1593
- /**
1594
- * 已完成的批数
1595
- */
1596
- NumTotalCompletedBatches: number
1627
+ export interface DatasourceConnectionLocation {
1597
1628
  /**
1598
- * 平均输入速率
1629
+ * 数据连接所在Vpc实例Id,如“vpc-azd4dt1c”。
1599
1630
  */
1600
- AverageInputRate: number
1631
+ VpcId: string
1601
1632
  /**
1602
- * 平均等待时长
1633
+ * Vpc的IPv4 CIDR
1603
1634
  */
1604
- AverageSchedulingDelay: number
1635
+ VpcCidrBlock: string
1605
1636
  /**
1606
- * 平均处理时长
1637
+ * 数据连接所在子网的实例Id,如“subnet-bthucmmy”
1607
1638
  */
1608
- AverageProcessingTime: number
1639
+ SubnetId: string
1609
1640
  /**
1610
- * 平均延时
1641
+ * Subnet的IPv4 CIDR
1611
1642
  */
1612
- AverageTotalDelay: number
1643
+ SubnetCidrBlock: string
1613
1644
  }
1614
1645
 
1615
1646
  /**
@@ -1862,71 +1893,46 @@ export interface KVPair {
1862
1893
  }
1863
1894
 
1864
1895
  /**
1865
- * 数据表配置信息
1896
+ * QueryResult返回参数结构体
1866
1897
  */
1867
- export interface TableBaseInfo {
1868
- /**
1869
- * 该数据表所属数据库名字
1870
- */
1871
- DatabaseName: string
1872
- /**
1873
- * 数据表名字
1874
- */
1875
- TableName: string
1876
- /**
1877
- * 该数据表所属数据源名字
1878
- 注意:此字段可能返回 null,表示取不到有效值。
1879
- */
1880
- DatasourceConnectionName?: string
1881
- /**
1882
- * 该数据表备注
1883
- 注意:此字段可能返回 null,表示取不到有效值。
1884
- */
1885
- TableComment?: string
1886
- /**
1887
- * 具体类型,表or视图
1888
- 注意:此字段可能返回 null,表示取不到有效值。
1889
- */
1890
- Type?: string
1898
+ export interface QueryResultResponse {
1891
1899
  /**
1892
- * 数据格式类型,hive,iceberg等
1893
- 注意:此字段可能返回 null,表示取不到有效值。
1900
+ * 任务Id
1894
1901
  */
1895
- TableFormat?: string
1902
+ TaskId: string
1896
1903
  /**
1897
- * 建表用户昵称
1898
- 注意:此字段可能返回 null,表示取不到有效值。
1904
+ * 结果数据
1899
1905
  */
1900
- UserAlias?: string
1906
+ ResultSet: string
1901
1907
  /**
1902
- * 建表用户ID
1903
- 注意:此字段可能返回 null,表示取不到有效值。
1908
+ * schema
1904
1909
  */
1905
- UserSubUin?: string
1910
+ ResultSchema: Array<Column>
1906
1911
  /**
1907
- * 数据治理配置项
1912
+ * 分页信息
1908
1913
  注意:此字段可能返回 null,表示取不到有效值。
1909
1914
  */
1910
- GovernPolicy?: DataGovernPolicy
1915
+ NextToken: string
1911
1916
  /**
1912
- * 库数据治理是否关闭,关闭:true,开启:false
1913
- 注意:此字段可能返回 null,表示取不到有效值。
1917
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1914
1918
  */
1915
- DbGovernPolicyIsDisable?: string
1919
+ RequestId?: string
1916
1920
  }
1917
1921
 
1918
1922
  /**
1919
- * UnlockMetaData请求参数结构体
1923
+ * ip端口对信息
1920
1924
  */
1921
- export interface UnlockMetaDataRequest {
1925
+ export interface IpPortPair {
1922
1926
  /**
1923
- * 锁ID
1927
+ * ip信息
1928
+ 注意:此字段可能返回 null,表示取不到有效值。
1924
1929
  */
1925
- LockId: number
1930
+ Ip?: string
1926
1931
  /**
1927
- * 数据源名称
1932
+ * 端口信息
1933
+ 注意:此字段可能返回 null,表示取不到有效值。
1928
1934
  */
1929
- DatasourceConnectionName?: string
1935
+ Port?: number
1930
1936
  }
1931
1937
 
1932
1938
  /**
@@ -2110,6 +2116,21 @@ export interface CreateUserResponse {
2110
2116
  RequestId?: string
2111
2117
  }
2112
2118
 
2119
+ /**
2120
+ * 文本格式
2121
+ */
2122
+ export interface TextFile {
2123
+ /**
2124
+ * 文本类型,本参数取值为TextFile。
2125
+ */
2126
+ Format: string
2127
+ /**
2128
+ * 处理文本用的正则表达式。
2129
+ 注意:此字段可能返回 null,表示取不到有效值。
2130
+ */
2131
+ Regex: string
2132
+ }
2133
+
2113
2134
  /**
2114
2135
  * DescribeNotebookSessionStatements请求参数结构体
2115
2136
  */
@@ -2498,6 +2519,24 @@ export interface WorkGroupIdSetOfUserId {
2498
2519
  WorkGroupIds: Array<number | bigint>
2499
2520
  }
2500
2521
 
2522
+ /**
2523
+ * Kerberos详细信息
2524
+ */
2525
+ export interface KerberosInfo {
2526
+ /**
2527
+ * Krb5Conf文件值
2528
+ */
2529
+ Krb5Conf?: string
2530
+ /**
2531
+ * KeyTab文件值
2532
+ */
2533
+ KeyTab?: string
2534
+ /**
2535
+ * 服务主体
2536
+ */
2537
+ ServicePrincipal?: string
2538
+ }
2539
+
2501
2540
  /**
2502
2541
  * 数据表分块信息。
2503
2542
  */
@@ -2531,6 +2570,20 @@ export interface Partition {
2531
2570
  CreateTime: number
2532
2571
  }
2533
2572
 
2573
+ /**
2574
+ * QueryResult请求参数结构体
2575
+ */
2576
+ export interface QueryResultRequest {
2577
+ /**
2578
+ * 任务ID
2579
+ */
2580
+ TaskId: string
2581
+ /**
2582
+ * lastReadFile为上一次读取的文件,lastReadOffset为上一次读取到的位置
2583
+ */
2584
+ NextToken?: string
2585
+ }
2586
+
2534
2587
  /**
2535
2588
  * CreateDataEngine请求参数结构体
2536
2589
  */
@@ -3161,102 +3214,220 @@ export interface CancelNotebookSessionStatementResponse {
3161
3214
  }
3162
3215
 
3163
3216
  /**
3164
- * DMSTable基本信息
3217
+ * 数据表配置信息
3165
3218
  */
3166
- export interface DMSTable {
3219
+ export interface TableBaseInfo {
3167
3220
  /**
3168
- * 视图文本
3169
- 注意:此字段可能返回 null,表示取不到有效值。
3221
+ * 该数据表所属数据库名字
3170
3222
  */
3171
- ViewOriginalText?: string
3223
+ DatabaseName: string
3172
3224
  /**
3173
- * 视图文本
3174
- 注意:此字段可能返回 null,表示取不到有效值。
3225
+ * 数据表名字
3175
3226
  */
3176
- ViewExpandedText?: string
3227
+ TableName: string
3177
3228
  /**
3178
- * hive维护版本
3229
+ * 该数据表所属数据源名字
3179
3230
  注意:此字段可能返回 null,表示取不到有效值。
3180
3231
  */
3181
- Retention?: number
3232
+ DatasourceConnectionName?: string
3182
3233
  /**
3183
- * 存储对象
3234
+ * 该数据表备注
3184
3235
  注意:此字段可能返回 null,表示取不到有效值。
3185
3236
  */
3186
- Sds?: DMSSds
3237
+ TableComment?: string
3187
3238
  /**
3188
- * 分区列
3239
+ * 具体类型,表or视图
3189
3240
  注意:此字段可能返回 null,表示取不到有效值。
3190
3241
  */
3191
- PartitionKeys?: Array<DMSColumn>
3242
+ Type?: string
3192
3243
  /**
3193
- * 分区
3244
+ * 数据格式类型,hive,iceberg等
3194
3245
  注意:此字段可能返回 null,表示取不到有效值。
3195
3246
  */
3196
- Partitions?: Array<DMSPartition>
3247
+ TableFormat?: string
3197
3248
  /**
3198
- * 表类型
3249
+ * 建表用户昵称
3199
3250
  注意:此字段可能返回 null,表示取不到有效值。
3200
3251
  */
3201
- Type?: string
3252
+ UserAlias?: string
3202
3253
  /**
3203
- * 数据库名称
3254
+ * 建表用户ID
3204
3255
  注意:此字段可能返回 null,表示取不到有效值。
3205
3256
  */
3206
- DbName?: string
3257
+ UserSubUin?: string
3207
3258
  /**
3208
- * Schema名称
3259
+ * 数据治理配置项
3209
3260
  注意:此字段可能返回 null,表示取不到有效值。
3210
3261
  */
3211
- SchemaName?: string
3262
+ GovernPolicy?: DataGovernPolicy
3212
3263
  /**
3213
- * 存储大小
3264
+ * 库数据治理是否关闭,关闭:true,开启:false
3214
3265
  注意:此字段可能返回 null,表示取不到有效值。
3215
3266
  */
3216
- StorageSize?: number
3267
+ DbGovernPolicyIsDisable?: string
3268
+ }
3269
+
3270
+ /**
3271
+ * hive类型数据源的信息
3272
+ */
3273
+ export interface HiveInfo {
3217
3274
  /**
3218
- * 记录数量
3219
- 注意:此字段可能返回 null,表示取不到有效值。
3275
+ * hive metastore的地址
3220
3276
  */
3221
- RecordCount?: number
3277
+ MetaStoreUrl: string
3222
3278
  /**
3223
- * 生命周期
3279
+ * hive数据源类型,代表数据储存的位置,COS或者HDFS
3280
+ */
3281
+ Type: string
3282
+ /**
3283
+ * 数据源所在的私有网络信息
3284
+ */
3285
+ Location: DatasourceConnectionLocation
3286
+ /**
3287
+ * 如果类型为HDFS,需要传一个用户名
3288
+ */
3289
+ User?: string
3290
+ /**
3291
+ * 如果类型为HDFS,需要选择是否高可用
3292
+ */
3293
+ HighAvailability?: boolean
3294
+ /**
3295
+ * 如果类型为COS,需要填写COS桶连接
3296
+ */
3297
+ BucketUrl?: string
3298
+ /**
3299
+ * json字符串。如果类型为HDFS,需要填写该字段
3300
+ */
3301
+ HdfsProperties?: string
3302
+ /**
3303
+ * Hive的元数据库信息
3224
3304
  注意:此字段可能返回 null,表示取不到有效值。
3225
3305
  */
3226
- LifeTime?: number
3306
+ Mysql?: MysqlInfo
3227
3307
  /**
3228
- * 最后访问时间
3308
+ * emr集群Id
3229
3309
  注意:此字段可能返回 null,表示取不到有效值。
3230
3310
  */
3231
- LastAccessTime?: string
3311
+ InstanceId?: string
3232
3312
  /**
3233
- * 数据更新时间
3313
+ * emr集群名称
3234
3314
  注意:此字段可能返回 null,表示取不到有效值。
3235
3315
  */
3236
- DataUpdateTime?: string
3316
+ InstanceName?: string
3237
3317
  /**
3238
- * 结构更新时间
3318
+ * EMR集群中hive组件的版本号
3239
3319
  注意:此字段可能返回 null,表示取不到有效值。
3240
3320
  */
3241
- StructUpdateTime?: string
3321
+ HiveVersion?: string
3242
3322
  /**
3243
- *
3323
+ * Kerberos详细信息
3244
3324
  注意:此字段可能返回 null,表示取不到有效值。
3245
3325
  */
3246
- Columns?: Array<DMSColumn>
3326
+ KerberosInfo?: KerberosInfo
3247
3327
  /**
3248
- * 表名
3328
+ * 是否开启Kerberos
3249
3329
  注意:此字段可能返回 null,表示取不到有效值。
3250
3330
  */
3251
- Name?: string
3331
+ KerberosEnable?: boolean
3252
3332
  }
3253
3333
 
3254
3334
  /**
3255
- * AttachWorkGroupPolicy返回参数结构体
3335
+ * DMSTable基本信息
3256
3336
  */
3257
- export interface AttachWorkGroupPolicyResponse {
3337
+ export interface DMSTable {
3258
3338
  /**
3259
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3339
+ * 视图文本
3340
+ 注意:此字段可能返回 null,表示取不到有效值。
3341
+ */
3342
+ ViewOriginalText?: string
3343
+ /**
3344
+ * 视图文本
3345
+ 注意:此字段可能返回 null,表示取不到有效值。
3346
+ */
3347
+ ViewExpandedText?: string
3348
+ /**
3349
+ * hive维护版本
3350
+ 注意:此字段可能返回 null,表示取不到有效值。
3351
+ */
3352
+ Retention?: number
3353
+ /**
3354
+ * 存储对象
3355
+ 注意:此字段可能返回 null,表示取不到有效值。
3356
+ */
3357
+ Sds?: DMSSds
3358
+ /**
3359
+ * 分区列
3360
+ 注意:此字段可能返回 null,表示取不到有效值。
3361
+ */
3362
+ PartitionKeys?: Array<DMSColumn>
3363
+ /**
3364
+ * 分区
3365
+ 注意:此字段可能返回 null,表示取不到有效值。
3366
+ */
3367
+ Partitions?: Array<DMSPartition>
3368
+ /**
3369
+ * 表类型
3370
+ 注意:此字段可能返回 null,表示取不到有效值。
3371
+ */
3372
+ Type?: string
3373
+ /**
3374
+ * 数据库名称
3375
+ 注意:此字段可能返回 null,表示取不到有效值。
3376
+ */
3377
+ DbName?: string
3378
+ /**
3379
+ * Schema名称
3380
+ 注意:此字段可能返回 null,表示取不到有效值。
3381
+ */
3382
+ SchemaName?: string
3383
+ /**
3384
+ * 存储大小
3385
+ 注意:此字段可能返回 null,表示取不到有效值。
3386
+ */
3387
+ StorageSize?: number
3388
+ /**
3389
+ * 记录数量
3390
+ 注意:此字段可能返回 null,表示取不到有效值。
3391
+ */
3392
+ RecordCount?: number
3393
+ /**
3394
+ * 生命周期
3395
+ 注意:此字段可能返回 null,表示取不到有效值。
3396
+ */
3397
+ LifeTime?: number
3398
+ /**
3399
+ * 最后访问时间
3400
+ 注意:此字段可能返回 null,表示取不到有效值。
3401
+ */
3402
+ LastAccessTime?: string
3403
+ /**
3404
+ * 数据更新时间
3405
+ 注意:此字段可能返回 null,表示取不到有效值。
3406
+ */
3407
+ DataUpdateTime?: string
3408
+ /**
3409
+ * 结构更新时间
3410
+ 注意:此字段可能返回 null,表示取不到有效值。
3411
+ */
3412
+ StructUpdateTime?: string
3413
+ /**
3414
+ * 列
3415
+ 注意:此字段可能返回 null,表示取不到有效值。
3416
+ */
3417
+ Columns?: Array<DMSColumn>
3418
+ /**
3419
+ * 表名
3420
+ 注意:此字段可能返回 null,表示取不到有效值。
3421
+ */
3422
+ Name?: string
3423
+ }
3424
+
3425
+ /**
3426
+ * AttachWorkGroupPolicy返回参数结构体
3427
+ */
3428
+ export interface AttachWorkGroupPolicyResponse {
3429
+ /**
3430
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3260
3431
  */
3261
3432
  RequestId?: string
3262
3433
  }
@@ -3329,6 +3500,197 @@ export interface DescribeDMSTablesRequest {
3329
3500
  Asc?: boolean
3330
3501
  }
3331
3502
 
3503
+ /**
3504
+ * 任务实例。
3505
+ */
3506
+ export interface TaskResponseInfo {
3507
+ /**
3508
+ * 任务所属Database的名称。
3509
+ */
3510
+ DatabaseName?: string
3511
+ /**
3512
+ * 任务数据量。
3513
+ */
3514
+ DataAmount?: number
3515
+ /**
3516
+ * 任务Id。
3517
+ */
3518
+ Id?: string
3519
+ /**
3520
+ * 计算耗时,单位: ms
3521
+ */
3522
+ UsedTime?: number
3523
+ /**
3524
+ * 任务输出路径。
3525
+ */
3526
+ OutputPath?: string
3527
+ /**
3528
+ * 任务创建时间。
3529
+ */
3530
+ CreateTime?: string
3531
+ /**
3532
+ * 任务状态:0 初始化, 1 执行中, 2 执行成功,3 数据写入中,4 排队中。-1 执行失败,-3 已取消。
3533
+ */
3534
+ State?: number
3535
+ /**
3536
+ * 任务SQL类型,DDL|DML等
3537
+ */
3538
+ SQLType?: string
3539
+ /**
3540
+ * 任务SQL语句
3541
+ */
3542
+ SQL?: string
3543
+ /**
3544
+ * 结果是否过期。
3545
+ */
3546
+ ResultExpired?: boolean
3547
+ /**
3548
+ * 数据影响统计信息。
3549
+ */
3550
+ RowAffectInfo?: string
3551
+ /**
3552
+ * 任务结果数据表。
3553
+ 注意:此字段可能返回 null,表示取不到有效值。
3554
+ */
3555
+ DataSet?: string
3556
+ /**
3557
+ * 失败信息, 例如:errorMessage。该字段已废弃。
3558
+ */
3559
+ Error?: string
3560
+ /**
3561
+ * 任务执行进度num/100(%)
3562
+ */
3563
+ Percentage?: number
3564
+ /**
3565
+ * 任务执行输出信息。
3566
+ */
3567
+ OutputMessage?: string
3568
+ /**
3569
+ * 执行SQL的引擎类型
3570
+ */
3571
+ TaskType?: string
3572
+ /**
3573
+ * 任务进度明细
3574
+ 注意:此字段可能返回 null,表示取不到有效值。
3575
+ */
3576
+ ProgressDetail?: string
3577
+ /**
3578
+ * 任务结束时间
3579
+ 注意:此字段可能返回 null,表示取不到有效值。
3580
+ */
3581
+ UpdateTime?: string
3582
+ /**
3583
+ * 计算资源id
3584
+ 注意:此字段可能返回 null,表示取不到有效值。
3585
+ */
3586
+ DataEngineId?: string
3587
+ /**
3588
+ * 执行sql的子uin
3589
+ 注意:此字段可能返回 null,表示取不到有效值。
3590
+ */
3591
+ OperateUin?: string
3592
+ /**
3593
+ * 计算资源名字
3594
+ 注意:此字段可能返回 null,表示取不到有效值。
3595
+ */
3596
+ DataEngineName?: string
3597
+ /**
3598
+ * 导入类型是本地导入还是cos
3599
+ 注意:此字段可能返回 null,表示取不到有效值。
3600
+ */
3601
+ InputType?: string
3602
+ /**
3603
+ * 导入配置
3604
+ 注意:此字段可能返回 null,表示取不到有效值。
3605
+ */
3606
+ InputConf?: string
3607
+ /**
3608
+ * 数据条数
3609
+ 注意:此字段可能返回 null,表示取不到有效值。
3610
+ */
3611
+ DataNumber?: number
3612
+ /**
3613
+ * 查询数据能不能下载
3614
+ 注意:此字段可能返回 null,表示取不到有效值。
3615
+ */
3616
+ CanDownload?: boolean
3617
+ /**
3618
+ * 用户别名
3619
+ 注意:此字段可能返回 null,表示取不到有效值。
3620
+ */
3621
+ UserAlias?: string
3622
+ /**
3623
+ * spark应用作业名
3624
+ 注意:此字段可能返回 null,表示取不到有效值。
3625
+ */
3626
+ SparkJobName?: string
3627
+ /**
3628
+ * spark应用作业Id
3629
+ 注意:此字段可能返回 null,表示取不到有效值。
3630
+ */
3631
+ SparkJobId?: string
3632
+ /**
3633
+ * spark应用入口jar文件
3634
+ 注意:此字段可能返回 null,表示取不到有效值。
3635
+ */
3636
+ SparkJobFile?: string
3637
+ /**
3638
+ * spark ui url
3639
+ 注意:此字段可能返回 null,表示取不到有效值。
3640
+ */
3641
+ UiUrl?: string
3642
+ /**
3643
+ * 任务耗时,单位: ms
3644
+ 注意:此字段可能返回 null,表示取不到有效值。
3645
+ */
3646
+ TotalTime?: number
3647
+ /**
3648
+ * spark app job执行task的程序入口参数
3649
+ 注意:此字段可能返回 null,表示取不到有效值。
3650
+ */
3651
+ CmdArgs?: string
3652
+ /**
3653
+ * 集群镜像大版本名称
3654
+ 注意:此字段可能返回 null,表示取不到有效值。
3655
+ */
3656
+ ImageVersion?: string
3657
+ /**
3658
+ * driver规格:small,medium,large,xlarge;内存型(引擎类型):m.small,m.medium,m.large,m.xlarge
3659
+ 注意:此字段可能返回 null,表示取不到有效值。
3660
+ */
3661
+ DriverSize?: string
3662
+ /**
3663
+ * executor规格:small,medium,large,xlarge;内存型(引擎类型):m.small,m.medium,m.large,m.xlarge
3664
+ 注意:此字段可能返回 null,表示取不到有效值。
3665
+ */
3666
+ ExecutorSize?: string
3667
+ /**
3668
+ * 指定executor数量,最小值为1,最大值小于集群规格
3669
+ 注意:此字段可能返回 null,表示取不到有效值。
3670
+ */
3671
+ ExecutorNums?: number
3672
+ /**
3673
+ * 指定executor max数量(动态配置场景下),最小值为1,最大值小于集群规格(当ExecutorMaxNumbers小于ExecutorNums时,改值设定为ExecutorNums)
3674
+ 注意:此字段可能返回 null,表示取不到有效值。
3675
+ */
3676
+ ExecutorMaxNumbers?: number
3677
+ /**
3678
+ * 任务公共指标数据
3679
+ 注意:此字段可能返回 null,表示取不到有效值。
3680
+ */
3681
+ CommonMetrics?: CommonMetrics
3682
+ /**
3683
+ * spark任务指标数据
3684
+ 注意:此字段可能返回 null,表示取不到有效值。
3685
+ */
3686
+ SparkMonitorMetrics?: SparkMonitorMetrics
3687
+ /**
3688
+ * presto任务指标数据
3689
+ 注意:此字段可能返回 null,表示取不到有效值。
3690
+ */
3691
+ PrestoMonitorMetrics?: PrestoMonitorMetrics
3692
+ }
3693
+
3332
3694
  /**
3333
3695
  * ModifyUser请求参数结构体
3334
3696
  */
@@ -3448,209 +3810,133 @@ export interface CancelTaskRequest {
3448
3810
  }
3449
3811
 
3450
3812
  /**
3451
- * 任务实例。
3813
+ * spark流任务统计信息
3452
3814
  */
3453
- export interface TaskResponseInfo {
3454
- /**
3455
- * 任务所属Database的名称。
3456
- */
3457
- DatabaseName?: string
3458
- /**
3459
- * 任务数据量。
3460
- */
3461
- DataAmount?: number
3462
- /**
3463
- * 任务Id。
3464
- */
3465
- Id?: string
3466
- /**
3467
- * 计算耗时,单位: ms
3468
- */
3469
- UsedTime?: number
3470
- /**
3471
- * 任务输出路径。
3472
- */
3473
- OutputPath?: string
3474
- /**
3475
- * 任务创建时间。
3476
- */
3477
- CreateTime?: string
3478
- /**
3479
- * 任务状态:0 初始化, 1 执行中, 2 执行成功,3 数据写入中,4 排队中。-1 执行失败,-3 已取消。
3480
- */
3481
- State?: number
3482
- /**
3483
- * 任务SQL类型,DDL|DML等
3484
- */
3485
- SQLType?: string
3486
- /**
3487
- * 任务SQL语句
3488
- */
3489
- SQL?: string
3490
- /**
3491
- * 结果是否过期。
3492
- */
3493
- ResultExpired?: boolean
3494
- /**
3495
- * 数据影响统计信息。
3496
- */
3497
- RowAffectInfo?: string
3498
- /**
3499
- * 任务结果数据表。
3500
- 注意:此字段可能返回 null,表示取不到有效值。
3501
- */
3502
- DataSet?: string
3503
- /**
3504
- * 失败信息, 例如:errorMessage。该字段已废弃。
3505
- */
3506
- Error?: string
3507
- /**
3508
- * 任务执行进度num/100(%)
3509
- */
3510
- Percentage?: number
3815
+ export interface StreamingStatistics {
3511
3816
  /**
3512
- * 任务执行输出信息。
3817
+ * 任务开始时间
3513
3818
  */
3514
- OutputMessage?: string
3819
+ StartTime: string
3515
3820
  /**
3516
- * 执行SQL的引擎类型
3821
+ * 数据接收器数
3517
3822
  */
3518
- TaskType?: string
3823
+ Receivers: number
3519
3824
  /**
3520
- * 任务进度明细
3521
- 注意:此字段可能返回 null,表示取不到有效值。
3825
+ * 运行中的接收器数
3522
3826
  */
3523
- ProgressDetail?: string
3827
+ NumActiveReceivers: number
3524
3828
  /**
3525
- * 任务结束时间
3526
- 注意:此字段可能返回 null,表示取不到有效值。
3829
+ * 不活跃的接收器数
3527
3830
  */
3528
- UpdateTime?: string
3831
+ NumInactiveReceivers: number
3529
3832
  /**
3530
- * 计算资源id
3531
- 注意:此字段可能返回 null,表示取不到有效值。
3833
+ * 运行中的批数
3532
3834
  */
3533
- DataEngineId?: string
3835
+ NumActiveBatches: number
3534
3836
  /**
3535
- * 执行sql的子uin
3536
- 注意:此字段可能返回 null,表示取不到有效值。
3837
+ * 待处理的批数
3537
3838
  */
3538
- OperateUin?: string
3839
+ NumRetainedCompletedBatches: number
3539
3840
  /**
3540
- * 计算资源名字
3541
- 注意:此字段可能返回 null,表示取不到有效值。
3841
+ * 已完成的批数
3542
3842
  */
3543
- DataEngineName?: string
3843
+ NumTotalCompletedBatches: number
3544
3844
  /**
3545
- * 导入类型是本地导入还是cos
3546
- 注意:此字段可能返回 null,表示取不到有效值。
3845
+ * 平均输入速率
3547
3846
  */
3548
- InputType?: string
3847
+ AverageInputRate: number
3549
3848
  /**
3550
- * 导入配置
3551
- 注意:此字段可能返回 null,表示取不到有效值。
3849
+ * 平均等待时长
3552
3850
  */
3553
- InputConf?: string
3851
+ AverageSchedulingDelay: number
3554
3852
  /**
3555
- * 数据条数
3556
- 注意:此字段可能返回 null,表示取不到有效值。
3853
+ * 平均处理时长
3557
3854
  */
3558
- DataNumber?: number
3855
+ AverageProcessingTime: number
3559
3856
  /**
3560
- * 查询数据能不能下载
3561
- 注意:此字段可能返回 null,表示取不到有效值。
3857
+ * 平均延时
3562
3858
  */
3563
- CanDownload?: boolean
3859
+ AverageTotalDelay: number
3860
+ }
3861
+
3862
+ /**
3863
+ * 数据源信息
3864
+ */
3865
+ export interface DatasourceConnectionInfo {
3564
3866
  /**
3565
- * 用户别名
3566
- 注意:此字段可能返回 null,表示取不到有效值。
3867
+ * 数据源数字Id
3567
3868
  */
3568
- UserAlias?: string
3869
+ Id: number
3569
3870
  /**
3570
- * spark应用作业名
3571
- 注意:此字段可能返回 null,表示取不到有效值。
3871
+ * 数据源字符串Id
3572
3872
  */
3573
- SparkJobName?: string
3873
+ DatasourceConnectionId: string
3574
3874
  /**
3575
- * spark应用作业Id
3576
- 注意:此字段可能返回 null,表示取不到有效值。
3875
+ * 数据源名称
3577
3876
  */
3578
- SparkJobId?: string
3877
+ DatasourceConnectionName: string
3579
3878
  /**
3580
- * spark应用入口jar文件
3581
- 注意:此字段可能返回 null,表示取不到有效值。
3879
+ * 数据源描述
3582
3880
  */
3583
- SparkJobFile?: string
3881
+ DatasourceConnectionDesc: string
3584
3882
  /**
3585
- * spark ui url
3586
- 注意:此字段可能返回 null,表示取不到有效值。
3883
+ * 数据源类型,支持DataLakeCatalog、IcebergCatalog、Result、Mysql、HiveCos、HiveHdfs
3587
3884
  */
3588
- UiUrl?: string
3885
+ DatasourceConnectionType: string
3589
3886
  /**
3590
- * 任务耗时,单位: ms
3887
+ * 数据源属性
3591
3888
  注意:此字段可能返回 null,表示取不到有效值。
3592
3889
  */
3593
- TotalTime?: number
3890
+ DatasourceConnectionConfig: DatasourceConnectionConfig
3594
3891
  /**
3595
- * spark app job执行task的程序入口参数
3596
- 注意:此字段可能返回 null,表示取不到有效值。
3892
+ * 数据源状态:0(初始化)、1(成功)、-1(已删除)、-2(失败)、-3(删除中)
3597
3893
  */
3598
- CmdArgs?: string
3894
+ State: number
3599
3895
  /**
3600
- * 集群镜像大版本名称
3601
- 注意:此字段可能返回 null,表示取不到有效值。
3896
+ * 地域
3602
3897
  */
3603
- ImageVersion?: string
3898
+ Region: string
3604
3899
  /**
3605
- * driver规格:small,medium,large,xlarge;内存型(引擎类型):m.small,m.medium,m.large,m.xlarge
3606
- 注意:此字段可能返回 null,表示取不到有效值。
3900
+ * 用户AppId
3607
3901
  */
3608
- DriverSize?: string
3902
+ AppId: string
3609
3903
  /**
3610
- * executor规格:small,medium,large,xlarge;内存型(引擎类型):m.small,m.medium,m.large,m.xlarge
3611
- 注意:此字段可能返回 null,表示取不到有效值。
3904
+ * 数据源创建时间
3612
3905
  */
3613
- ExecutorSize?: string
3906
+ CreateTime: string
3614
3907
  /**
3615
- * 指定executor数量,最小值为1,最大值小于集群规格
3616
- 注意:此字段可能返回 null,表示取不到有效值。
3908
+ * 数据源最近一次更新时间
3617
3909
  */
3618
- ExecutorNums?: number
3910
+ UpdateTime: string
3619
3911
  /**
3620
- * 指定executor max数量(动态配置场景下),最小值为1,最大值小于集群规格(当ExecutorMaxNumbers小于ExecutorNums时,改值设定为ExecutorNums)
3621
- 注意:此字段可能返回 null,表示取不到有效值。
3912
+ * 数据源同步失败原因
3622
3913
  */
3623
- ExecutorMaxNumbers?: number
3914
+ Message: string
3624
3915
  /**
3625
- * 任务公共指标数据
3916
+ * 数据源绑定的计算引擎信息
3626
3917
  注意:此字段可能返回 null,表示取不到有效值。
3627
3918
  */
3628
- CommonMetrics?: CommonMetrics
3919
+ DataEngines?: Array<DataEngineInfo>
3629
3920
  /**
3630
- * spark任务指标数据
3921
+ * 创建人
3631
3922
  注意:此字段可能返回 null,表示取不到有效值。
3632
3923
  */
3633
- SparkMonitorMetrics?: SparkMonitorMetrics
3924
+ UserAlias?: string
3634
3925
  /**
3635
- * presto任务指标数据
3926
+ * 网络配置列表
3636
3927
  注意:此字段可能返回 null,表示取不到有效值。
3637
3928
  */
3638
- PrestoMonitorMetrics?: PrestoMonitorMetrics
3639
- }
3640
-
3641
- /**
3642
- * 文本格式
3643
- */
3644
- export interface TextFile {
3929
+ NetworkConnectionSet?: Array<NetworkConnection>
3645
3930
  /**
3646
- * 文本类型,本参数取值为TextFile。
3931
+ * 连通性状态:0(未测试,默认)、1(正常)、2(失败)
3932
+ 注意:此字段可能返回 null,表示取不到有效值。
3647
3933
  */
3648
- Format: string
3934
+ ConnectivityState?: number
3649
3935
  /**
3650
- * 处理文本用的正则表达式。
3936
+ * 连通性测试提示信息
3651
3937
  注意:此字段可能返回 null,表示取不到有效值。
3652
3938
  */
3653
- Regex: string
3939
+ ConnectivityTips?: string
3654
3940
  }
3655
3941
 
3656
3942
  /**
@@ -3906,6 +4192,20 @@ export interface AlterDMSTableRequest {
3906
4192
  Name?: string
3907
4193
  }
3908
4194
 
4195
+ /**
4196
+ * Kafka连接信息
4197
+ */
4198
+ export interface KafkaInfo {
4199
+ /**
4200
+ * kakfa实例Id
4201
+ */
4202
+ InstanceId: string
4203
+ /**
4204
+ * kakfa数据源的网络信息
4205
+ */
4206
+ Location: DatasourceConnectionLocation
4207
+ }
4208
+
3909
4209
  /**
3910
4210
  * CreateImportTask返回参数结构体
3911
4211
  */
@@ -4214,6 +4514,20 @@ export interface DescribeTaskResultRequest {
4214
4514
  MaxResults?: number
4215
4515
  }
4216
4516
 
4517
+ /**
4518
+ * UnlockMetaData请求参数结构体
4519
+ */
4520
+ export interface UnlockMetaDataRequest {
4521
+ /**
4522
+ * 锁ID
4523
+ */
4524
+ LockId: number
4525
+ /**
4526
+ * 数据源名称
4527
+ */
4528
+ DatasourceConnectionName?: string
4529
+ }
4530
+
4217
4531
  /**
4218
4532
  * 查询列表过滤条件参数
4219
4533
  */
@@ -5041,6 +5355,42 @@ export interface DMSColumnOrder {
5041
5355
  Order?: number
5042
5356
  }
5043
5357
 
5358
+ /**
5359
+ * Mysql类型数据源信息
5360
+ */
5361
+ export interface MysqlInfo {
5362
+ /**
5363
+ * 连接mysql的jdbc url
5364
+ */
5365
+ JdbcUrl: string
5366
+ /**
5367
+ * 用户名
5368
+ */
5369
+ User: string
5370
+ /**
5371
+ * mysql密码
5372
+ */
5373
+ Password: string
5374
+ /**
5375
+ * mysql数据源的网络信息
5376
+ */
5377
+ Location: DatasourceConnectionLocation
5378
+ /**
5379
+ * 数据库名称
5380
+ */
5381
+ DbName?: string
5382
+ /**
5383
+ * 数据库实例ID,和数据库侧保持一致
5384
+ 注意:此字段可能返回 null,表示取不到有效值。
5385
+ */
5386
+ InstanceId?: string
5387
+ /**
5388
+ * 数据库实例名称,和数据库侧保持一致
5389
+ 注意:此字段可能返回 null,表示取不到有效值。
5390
+ */
5391
+ InstanceName?: string
5392
+ }
5393
+
5044
5394
  /**
5045
5395
  * CreateSparkApp返回参数结构体
5046
5396
  */
@@ -5114,17 +5464,13 @@ export interface CreateTasksRequest {
5114
5464
  }
5115
5465
 
5116
5466
  /**
5117
- * SuspendResumeDataEngine请求参数结构体
5467
+ * 其他数据源
5118
5468
  */
5119
- export interface SuspendResumeDataEngineRequest {
5120
- /**
5121
- * 虚拟集群名称
5122
- */
5123
- DataEngineName: string
5469
+ export interface OtherDatasourceConnection {
5124
5470
  /**
5125
- * 操作类型 suspend/resume
5471
+ * 网络参数
5126
5472
  */
5127
- Operate: string
5473
+ Location: DatasourceConnectionLocation
5128
5474
  }
5129
5475
 
5130
5476
  /**
@@ -5313,6 +5659,47 @@ export interface LockMetaDataRequest {
5313
5659
  Hostname?: string
5314
5660
  }
5315
5661
 
5662
+ /**
5663
+ * 数据源详细信息
5664
+ */
5665
+ export interface DataSourceInfo {
5666
+ /**
5667
+ * 数据源实例的唯一ID
5668
+ 注意:此字段可能返回 null,表示取不到有效值。
5669
+ */
5670
+ InstanceId?: string
5671
+ /**
5672
+ * 数据源的名称
5673
+ 注意:此字段可能返回 null,表示取不到有效值。
5674
+ */
5675
+ InstanceName?: string
5676
+ /**
5677
+ * 数据源的JDBC访问链接
5678
+ 注意:此字段可能返回 null,表示取不到有效值。
5679
+ */
5680
+ JdbcUrl?: string
5681
+ /**
5682
+ * 用于访问数据源的用户名
5683
+ 注意:此字段可能返回 null,表示取不到有效值。
5684
+ */
5685
+ User?: string
5686
+ /**
5687
+ * 数据源访问密码,需要base64编码
5688
+ 注意:此字段可能返回 null,表示取不到有效值。
5689
+ */
5690
+ Password?: string
5691
+ /**
5692
+ * 数据源的VPC和子网信息
5693
+ 注意:此字段可能返回 null,表示取不到有效值。
5694
+ */
5695
+ Location?: DatasourceConnectionLocation
5696
+ /**
5697
+ * 默认数据库名
5698
+ 注意:此字段可能返回 null,表示取不到有效值。
5699
+ */
5700
+ DbName?: string
5701
+ }
5702
+
5316
5703
  /**
5317
5704
  * CancelSparkSessionBatchSQL请求参数结构体
5318
5705
  */
@@ -6027,6 +6414,20 @@ export interface DataEngineInfo {
6027
6414
  SessionResourceTemplate?: SessionResourceTemplate
6028
6415
  }
6029
6416
 
6417
+ /**
6418
+ * SuspendResumeDataEngine请求参数结构体
6419
+ */
6420
+ export interface SuspendResumeDataEngineRequest {
6421
+ /**
6422
+ * 虚拟集群名称
6423
+ */
6424
+ DataEngineName: string
6425
+ /**
6426
+ * 操作类型 suspend/resume
6427
+ */
6428
+ Operate: string
6429
+ }
6430
+
6030
6431
  /**
6031
6432
  * DescribeSparkAppTasks请求参数结构体
6032
6433
  */
@@ -6079,6 +6480,53 @@ export interface LockMetaDataResponse {
6079
6480
  RequestId?: string
6080
6481
  }
6081
6482
 
6483
+ /**
6484
+ * DescribeDatasourceConnection请求参数结构体
6485
+ */
6486
+ export interface DescribeDatasourceConnectionRequest {
6487
+ /**
6488
+ * 连接ID列表,指定要查询的连接ID
6489
+ */
6490
+ DatasourceConnectionIds?: Array<string>
6491
+ /**
6492
+ * 过滤条件,当前支持的过滤键为:DatasourceConnectionName(数据源连接名)。
6493
+ DatasourceConnectionType (数据源连接连接类型)
6494
+ */
6495
+ Filters?: Array<Filter>
6496
+ /**
6497
+ * 偏移量,默认为0
6498
+ */
6499
+ Offset?: number
6500
+ /**
6501
+ * 返回数量,默认20,最大值100
6502
+ */
6503
+ Limit?: number
6504
+ /**
6505
+ * 排序字段,支持如下字段类型,create-time(默认,创建时间)、update-time(更新时间)
6506
+ */
6507
+ SortBy?: string
6508
+ /**
6509
+ * 排序方式,desc表示正序,asc表示反序, 默认为desc
6510
+ */
6511
+ Sorting?: string
6512
+ /**
6513
+ * 筛选字段:起始时间
6514
+ */
6515
+ StartTime?: string
6516
+ /**
6517
+ * 筛选字段:截止时间
6518
+ */
6519
+ EndTime?: string
6520
+ /**
6521
+ * 连接名称列表,指定要查询的连接名称
6522
+ */
6523
+ DatasourceConnectionNames?: Array<string>
6524
+ /**
6525
+ * 连接类型,支持Mysql/HiveCos/Kafka/DataLakeCatalog
6526
+ */
6527
+ DatasourceConnectionTypes?: Array<string>
6528
+ }
6529
+
6082
6530
  /**
6083
6531
  * CheckLockMetaData返回参数结构体
6084
6532
  */
@@ -6434,6 +6882,57 @@ export interface DMSColumn {
6434
6882
  IsPartition?: boolean
6435
6883
  }
6436
6884
 
6885
+ /**
6886
+ * 数据源属性
6887
+ */
6888
+ export interface DatasourceConnectionConfig {
6889
+ /**
6890
+ * Mysql数据源连接的属性
6891
+ 注意:此字段可能返回 null,表示取不到有效值。
6892
+ */
6893
+ Mysql?: MysqlInfo
6894
+ /**
6895
+ * Hive数据源连接的属性
6896
+ 注意:此字段可能返回 null,表示取不到有效值。
6897
+ */
6898
+ Hive?: HiveInfo
6899
+ /**
6900
+ * Kafka数据源连接的属性
6901
+ 注意:此字段可能返回 null,表示取不到有效值。
6902
+ */
6903
+ Kafka?: KafkaInfo
6904
+ /**
6905
+ * 其他数据源连接的属性
6906
+ 注意:此字段可能返回 null,表示取不到有效值。
6907
+ */
6908
+ OtherDatasourceConnection?: OtherDatasourceConnection
6909
+ /**
6910
+ * PostgreSQL数据源连接的属性
6911
+ 注意:此字段可能返回 null,表示取不到有效值。
6912
+ */
6913
+ PostgreSql?: DataSourceInfo
6914
+ /**
6915
+ * SQLServer数据源连接的属性
6916
+ 注意:此字段可能返回 null,表示取不到有效值。
6917
+ */
6918
+ SqlServer?: DataSourceInfo
6919
+ /**
6920
+ * ClickHouse数据源连接的属性
6921
+ 注意:此字段可能返回 null,表示取不到有效值。
6922
+ */
6923
+ ClickHouse?: DataSourceInfo
6924
+ /**
6925
+ * Elasticsearch数据源连接的属性
6926
+ 注意:此字段可能返回 null,表示取不到有效值。
6927
+ */
6928
+ Elasticsearch?: ElasticsearchInfo
6929
+ /**
6930
+ * TDSQL-PostgreSQL数据源连接的属性
6931
+ 注意:此字段可能返回 null,表示取不到有效值。
6932
+ */
6933
+ TDSQLPostgreSql?: DataSourceInfo
6934
+ }
6935
+
6437
6936
  /**
6438
6937
  * UpdateRowFilter请求参数结构体
6439
6938
  */