tencentcloud-sdk-dlc 3.0.660 → 3.0.662
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210125/client.rb +24 -0
- data/lib/v20210125/models.rb +627 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ccf3851168270d190c4d6a0cad8cff7e74de64b
|
4
|
+
data.tar.gz: 5da8d94a2a1c4d152cf697a75c7ec544aa6aa7cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a872eae05a87890d42d0285a265daf4e2ede66e1dd2e8d8476bce1028b8bbaf36cd1e9bd45c5303b1e557c77fa127d1144097618e4117306d2b77e344dd0dd9
|
7
|
+
data.tar.gz: 7a6a771ea3a9d28d91e6dbcd1ad42e4f1e3d728f09558f4bd4004641456910527997b5f7188477c8aa15857a8469bd7cda6ee20431f538734daea9f7ac151b3d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.662
|
data/lib/v20210125/client.rb
CHANGED
@@ -1157,6 +1157,30 @@ module TencentCloud
|
|
1157
1157
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1158
1158
|
end
|
1159
1159
|
|
1160
|
+
# 本接口(DescribeDatasourceConnection)用于查询数据源信息
|
1161
|
+
|
1162
|
+
# @param request: Request instance for DescribeDatasourceConnection.
|
1163
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeDatasourceConnectionRequest`
|
1164
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeDatasourceConnectionResponse`
|
1165
|
+
def DescribeDatasourceConnection(request)
|
1166
|
+
body = send_request('DescribeDatasourceConnection', request.serialize)
|
1167
|
+
response = JSON.parse(body)
|
1168
|
+
if response['Response'].key?('Error') == false
|
1169
|
+
model = DescribeDatasourceConnectionResponse.new
|
1170
|
+
model.deserialize(response['Response'])
|
1171
|
+
model
|
1172
|
+
else
|
1173
|
+
code = response['Response']['Error']['Code']
|
1174
|
+
message = response['Response']['Error']['Message']
|
1175
|
+
reqid = response['Response']['RequestId']
|
1176
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1177
|
+
end
|
1178
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1179
|
+
raise e
|
1180
|
+
rescue StandardError => e
|
1181
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1182
|
+
end
|
1183
|
+
|
1160
1184
|
# 本接口根据引擎ID查询数据引擎资源使用情况
|
1161
1185
|
|
1162
1186
|
# @param request: Request instance for DescribeEngineUsageInfo.
|
data/lib/v20210125/models.rb
CHANGED
@@ -2015,7 +2015,7 @@ module TencentCloud
|
|
2015
2015
|
class CreateSparkSessionBatchSQLRequest < TencentCloud::Common::AbstractModel
|
2016
2016
|
# @param DataEngineName: DLC Spark作业引擎名称
|
2017
2017
|
# @type DataEngineName: String
|
2018
|
-
# @param ExecuteSQL: 运行sql
|
2018
|
+
# @param ExecuteSQL: 运行sql,需要base64编码。
|
2019
2019
|
# @type ExecuteSQL: String
|
2020
2020
|
# @param DriverSize: 指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)
|
2021
2021
|
# @type DriverSize: String
|
@@ -2035,7 +2035,7 @@ module TencentCloud
|
|
2035
2035
|
# 2.dlc.role.arn:用户配置的roleArn鉴权策略配置信息,可以用过该字段设置;
|
2036
2036
|
# 3.dlc.sql.set.config:用户配置的集群配置信息,可以用过该字段设置;
|
2037
2037
|
# @type Arguments: Array
|
2038
|
-
# @param IsInherit: 是否继承集群的资源类配置:0
|
2038
|
+
# @param IsInherit: 是否继承集群的资源类配置:0:不继承(默认),1:继承集群;
|
2039
2039
|
# @type IsInherit: Integer
|
2040
2040
|
|
2041
2041
|
attr_accessor :DataEngineName, :ExecuteSQL, :DriverSize, :ExecutorSize, :ExecutorNumbers, :ExecutorMaxNumbers, :TimeoutInSecond, :SessionId, :SessionName, :Arguments, :IsInherit
|
@@ -3225,6 +3225,56 @@ module TencentCloud
|
|
3225
3225
|
end
|
3226
3226
|
end
|
3227
3227
|
|
3228
|
+
# 数据源详细信息
|
3229
|
+
class DataSourceInfo < TencentCloud::Common::AbstractModel
|
3230
|
+
# @param InstanceId: 数据源实例的唯一ID
|
3231
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3232
|
+
# @type InstanceId: String
|
3233
|
+
# @param InstanceName: 数据源的名称
|
3234
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3235
|
+
# @type InstanceName: String
|
3236
|
+
# @param JdbcUrl: 数据源的JDBC访问链接
|
3237
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3238
|
+
# @type JdbcUrl: String
|
3239
|
+
# @param User: 用于访问数据源的用户名
|
3240
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3241
|
+
# @type User: String
|
3242
|
+
# @param Password: 数据源访问密码,需要base64编码
|
3243
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3244
|
+
# @type Password: String
|
3245
|
+
# @param Location: 数据源的VPC和子网信息
|
3246
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3247
|
+
# @type Location: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionLocation`
|
3248
|
+
# @param DbName: 默认数据库名
|
3249
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3250
|
+
# @type DbName: String
|
3251
|
+
|
3252
|
+
attr_accessor :InstanceId, :InstanceName, :JdbcUrl, :User, :Password, :Location, :DbName
|
3253
|
+
|
3254
|
+
def initialize(instanceid=nil, instancename=nil, jdbcurl=nil, user=nil, password=nil, location=nil, dbname=nil)
|
3255
|
+
@InstanceId = instanceid
|
3256
|
+
@InstanceName = instancename
|
3257
|
+
@JdbcUrl = jdbcurl
|
3258
|
+
@User = user
|
3259
|
+
@Password = password
|
3260
|
+
@Location = location
|
3261
|
+
@DbName = dbname
|
3262
|
+
end
|
3263
|
+
|
3264
|
+
def deserialize(params)
|
3265
|
+
@InstanceId = params['InstanceId']
|
3266
|
+
@InstanceName = params['InstanceName']
|
3267
|
+
@JdbcUrl = params['JdbcUrl']
|
3268
|
+
@User = params['User']
|
3269
|
+
@Password = params['Password']
|
3270
|
+
unless params['Location'].nil?
|
3271
|
+
@Location = DatasourceConnectionLocation.new
|
3272
|
+
@Location.deserialize(params['Location'])
|
3273
|
+
end
|
3274
|
+
@DbName = params['DbName']
|
3275
|
+
end
|
3276
|
+
end
|
3277
|
+
|
3228
3278
|
# 数据库对象
|
3229
3279
|
class DatabaseInfo < TencentCloud::Common::AbstractModel
|
3230
3280
|
# @param DatabaseName: 数据库名称,长度0~128,支持数字、字母下划线,不允许数字大头,统一转换为小写。
|
@@ -3334,6 +3384,221 @@ module TencentCloud
|
|
3334
3384
|
end
|
3335
3385
|
end
|
3336
3386
|
|
3387
|
+
# 数据源属性
|
3388
|
+
class DatasourceConnectionConfig < TencentCloud::Common::AbstractModel
|
3389
|
+
# @param Mysql: Mysql数据源连接的属性
|
3390
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3391
|
+
# @type Mysql: :class:`Tencentcloud::Dlc.v20210125.models.MysqlInfo`
|
3392
|
+
# @param Hive: Hive数据源连接的属性
|
3393
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3394
|
+
# @type Hive: :class:`Tencentcloud::Dlc.v20210125.models.HiveInfo`
|
3395
|
+
# @param Kafka: Kafka数据源连接的属性
|
3396
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3397
|
+
# @type Kafka: :class:`Tencentcloud::Dlc.v20210125.models.KafkaInfo`
|
3398
|
+
# @param OtherDatasourceConnection: 其他数据源连接的属性
|
3399
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3400
|
+
# @type OtherDatasourceConnection: :class:`Tencentcloud::Dlc.v20210125.models.OtherDatasourceConnection`
|
3401
|
+
# @param PostgreSql: PostgreSQL数据源连接的属性
|
3402
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3403
|
+
# @type PostgreSql: :class:`Tencentcloud::Dlc.v20210125.models.DataSourceInfo`
|
3404
|
+
# @param SqlServer: SQLServer数据源连接的属性
|
3405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3406
|
+
# @type SqlServer: :class:`Tencentcloud::Dlc.v20210125.models.DataSourceInfo`
|
3407
|
+
# @param ClickHouse: ClickHouse数据源连接的属性
|
3408
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3409
|
+
# @type ClickHouse: :class:`Tencentcloud::Dlc.v20210125.models.DataSourceInfo`
|
3410
|
+
# @param Elasticsearch: Elasticsearch数据源连接的属性
|
3411
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3412
|
+
# @type Elasticsearch: :class:`Tencentcloud::Dlc.v20210125.models.ElasticsearchInfo`
|
3413
|
+
# @param TDSQLPostgreSql: TDSQL-PostgreSQL数据源连接的属性
|
3414
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3415
|
+
# @type TDSQLPostgreSql: :class:`Tencentcloud::Dlc.v20210125.models.DataSourceInfo`
|
3416
|
+
|
3417
|
+
attr_accessor :Mysql, :Hive, :Kafka, :OtherDatasourceConnection, :PostgreSql, :SqlServer, :ClickHouse, :Elasticsearch, :TDSQLPostgreSql
|
3418
|
+
|
3419
|
+
def initialize(mysql=nil, hive=nil, kafka=nil, otherdatasourceconnection=nil, postgresql=nil, sqlserver=nil, clickhouse=nil, elasticsearch=nil, tdsqlpostgresql=nil)
|
3420
|
+
@Mysql = mysql
|
3421
|
+
@Hive = hive
|
3422
|
+
@Kafka = kafka
|
3423
|
+
@OtherDatasourceConnection = otherdatasourceconnection
|
3424
|
+
@PostgreSql = postgresql
|
3425
|
+
@SqlServer = sqlserver
|
3426
|
+
@ClickHouse = clickhouse
|
3427
|
+
@Elasticsearch = elasticsearch
|
3428
|
+
@TDSQLPostgreSql = tdsqlpostgresql
|
3429
|
+
end
|
3430
|
+
|
3431
|
+
def deserialize(params)
|
3432
|
+
unless params['Mysql'].nil?
|
3433
|
+
@Mysql = MysqlInfo.new
|
3434
|
+
@Mysql.deserialize(params['Mysql'])
|
3435
|
+
end
|
3436
|
+
unless params['Hive'].nil?
|
3437
|
+
@Hive = HiveInfo.new
|
3438
|
+
@Hive.deserialize(params['Hive'])
|
3439
|
+
end
|
3440
|
+
unless params['Kafka'].nil?
|
3441
|
+
@Kafka = KafkaInfo.new
|
3442
|
+
@Kafka.deserialize(params['Kafka'])
|
3443
|
+
end
|
3444
|
+
unless params['OtherDatasourceConnection'].nil?
|
3445
|
+
@OtherDatasourceConnection = OtherDatasourceConnection.new
|
3446
|
+
@OtherDatasourceConnection.deserialize(params['OtherDatasourceConnection'])
|
3447
|
+
end
|
3448
|
+
unless params['PostgreSql'].nil?
|
3449
|
+
@PostgreSql = DataSourceInfo.new
|
3450
|
+
@PostgreSql.deserialize(params['PostgreSql'])
|
3451
|
+
end
|
3452
|
+
unless params['SqlServer'].nil?
|
3453
|
+
@SqlServer = DataSourceInfo.new
|
3454
|
+
@SqlServer.deserialize(params['SqlServer'])
|
3455
|
+
end
|
3456
|
+
unless params['ClickHouse'].nil?
|
3457
|
+
@ClickHouse = DataSourceInfo.new
|
3458
|
+
@ClickHouse.deserialize(params['ClickHouse'])
|
3459
|
+
end
|
3460
|
+
unless params['Elasticsearch'].nil?
|
3461
|
+
@Elasticsearch = ElasticsearchInfo.new
|
3462
|
+
@Elasticsearch.deserialize(params['Elasticsearch'])
|
3463
|
+
end
|
3464
|
+
unless params['TDSQLPostgreSql'].nil?
|
3465
|
+
@TDSQLPostgreSql = DataSourceInfo.new
|
3466
|
+
@TDSQLPostgreSql.deserialize(params['TDSQLPostgreSql'])
|
3467
|
+
end
|
3468
|
+
end
|
3469
|
+
end
|
3470
|
+
|
3471
|
+
# 数据源信息
|
3472
|
+
class DatasourceConnectionInfo < TencentCloud::Common::AbstractModel
|
3473
|
+
# @param Id: 数据源数字Id
|
3474
|
+
# @type Id: Integer
|
3475
|
+
# @param DatasourceConnectionId: 数据源字符串Id
|
3476
|
+
# @type DatasourceConnectionId: String
|
3477
|
+
# @param DatasourceConnectionName: 数据源名称
|
3478
|
+
# @type DatasourceConnectionName: String
|
3479
|
+
# @param DatasourceConnectionDesc: 数据源描述
|
3480
|
+
# @type DatasourceConnectionDesc: String
|
3481
|
+
# @param DatasourceConnectionType: 数据源类型,支持DataLakeCatalog、IcebergCatalog、Result、Mysql、HiveCos、HiveHdfs
|
3482
|
+
# @type DatasourceConnectionType: String
|
3483
|
+
# @param DatasourceConnectionConfig: 数据源属性
|
3484
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3485
|
+
# @type DatasourceConnectionConfig: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionConfig`
|
3486
|
+
# @param State: 数据源状态:0(初始化)、1(成功)、-1(已删除)、-2(失败)、-3(删除中)
|
3487
|
+
# @type State: Integer
|
3488
|
+
# @param Region: 地域
|
3489
|
+
# @type Region: String
|
3490
|
+
# @param AppId: 用户AppId
|
3491
|
+
# @type AppId: String
|
3492
|
+
# @param CreateTime: 数据源创建时间
|
3493
|
+
# @type CreateTime: String
|
3494
|
+
# @param UpdateTime: 数据源最近一次更新时间
|
3495
|
+
# @type UpdateTime: String
|
3496
|
+
# @param Message: 数据源同步失败原因
|
3497
|
+
# @type Message: String
|
3498
|
+
# @param DataEngines: 数据源绑定的计算引擎信息
|
3499
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3500
|
+
# @type DataEngines: Array
|
3501
|
+
# @param UserAlias: 创建人
|
3502
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3503
|
+
# @type UserAlias: String
|
3504
|
+
# @param NetworkConnectionSet: 网络配置列表
|
3505
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3506
|
+
# @type NetworkConnectionSet: Array
|
3507
|
+
# @param ConnectivityState: 连通性状态:0(未测试,默认)、1(正常)、2(失败)
|
3508
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3509
|
+
# @type ConnectivityState: Integer
|
3510
|
+
# @param ConnectivityTips: 连通性测试提示信息
|
3511
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3512
|
+
# @type ConnectivityTips: String
|
3513
|
+
|
3514
|
+
attr_accessor :Id, :DatasourceConnectionId, :DatasourceConnectionName, :DatasourceConnectionDesc, :DatasourceConnectionType, :DatasourceConnectionConfig, :State, :Region, :AppId, :CreateTime, :UpdateTime, :Message, :DataEngines, :UserAlias, :NetworkConnectionSet, :ConnectivityState, :ConnectivityTips
|
3515
|
+
|
3516
|
+
def initialize(id=nil, datasourceconnectionid=nil, datasourceconnectionname=nil, datasourceconnectiondesc=nil, datasourceconnectiontype=nil, datasourceconnectionconfig=nil, state=nil, region=nil, appid=nil, createtime=nil, updatetime=nil, message=nil, dataengines=nil, useralias=nil, networkconnectionset=nil, connectivitystate=nil, connectivitytips=nil)
|
3517
|
+
@Id = id
|
3518
|
+
@DatasourceConnectionId = datasourceconnectionid
|
3519
|
+
@DatasourceConnectionName = datasourceconnectionname
|
3520
|
+
@DatasourceConnectionDesc = datasourceconnectiondesc
|
3521
|
+
@DatasourceConnectionType = datasourceconnectiontype
|
3522
|
+
@DatasourceConnectionConfig = datasourceconnectionconfig
|
3523
|
+
@State = state
|
3524
|
+
@Region = region
|
3525
|
+
@AppId = appid
|
3526
|
+
@CreateTime = createtime
|
3527
|
+
@UpdateTime = updatetime
|
3528
|
+
@Message = message
|
3529
|
+
@DataEngines = dataengines
|
3530
|
+
@UserAlias = useralias
|
3531
|
+
@NetworkConnectionSet = networkconnectionset
|
3532
|
+
@ConnectivityState = connectivitystate
|
3533
|
+
@ConnectivityTips = connectivitytips
|
3534
|
+
end
|
3535
|
+
|
3536
|
+
def deserialize(params)
|
3537
|
+
@Id = params['Id']
|
3538
|
+
@DatasourceConnectionId = params['DatasourceConnectionId']
|
3539
|
+
@DatasourceConnectionName = params['DatasourceConnectionName']
|
3540
|
+
@DatasourceConnectionDesc = params['DatasourceConnectionDesc']
|
3541
|
+
@DatasourceConnectionType = params['DatasourceConnectionType']
|
3542
|
+
unless params['DatasourceConnectionConfig'].nil?
|
3543
|
+
@DatasourceConnectionConfig = DatasourceConnectionConfig.new
|
3544
|
+
@DatasourceConnectionConfig.deserialize(params['DatasourceConnectionConfig'])
|
3545
|
+
end
|
3546
|
+
@State = params['State']
|
3547
|
+
@Region = params['Region']
|
3548
|
+
@AppId = params['AppId']
|
3549
|
+
@CreateTime = params['CreateTime']
|
3550
|
+
@UpdateTime = params['UpdateTime']
|
3551
|
+
@Message = params['Message']
|
3552
|
+
unless params['DataEngines'].nil?
|
3553
|
+
@DataEngines = []
|
3554
|
+
params['DataEngines'].each do |i|
|
3555
|
+
dataengineinfo_tmp = DataEngineInfo.new
|
3556
|
+
dataengineinfo_tmp.deserialize(i)
|
3557
|
+
@DataEngines << dataengineinfo_tmp
|
3558
|
+
end
|
3559
|
+
end
|
3560
|
+
@UserAlias = params['UserAlias']
|
3561
|
+
unless params['NetworkConnectionSet'].nil?
|
3562
|
+
@NetworkConnectionSet = []
|
3563
|
+
params['NetworkConnectionSet'].each do |i|
|
3564
|
+
networkconnection_tmp = NetworkConnection.new
|
3565
|
+
networkconnection_tmp.deserialize(i)
|
3566
|
+
@NetworkConnectionSet << networkconnection_tmp
|
3567
|
+
end
|
3568
|
+
end
|
3569
|
+
@ConnectivityState = params['ConnectivityState']
|
3570
|
+
@ConnectivityTips = params['ConnectivityTips']
|
3571
|
+
end
|
3572
|
+
end
|
3573
|
+
|
3574
|
+
# 数据源连接的网络信息
|
3575
|
+
class DatasourceConnectionLocation < TencentCloud::Common::AbstractModel
|
3576
|
+
# @param VpcId: 数据连接所在Vpc实例Id,如“vpc-azd4dt1c”。
|
3577
|
+
# @type VpcId: String
|
3578
|
+
# @param VpcCidrBlock: Vpc的IPv4 CIDR
|
3579
|
+
# @type VpcCidrBlock: String
|
3580
|
+
# @param SubnetId: 数据连接所在子网的实例Id,如“subnet-bthucmmy”
|
3581
|
+
# @type SubnetId: String
|
3582
|
+
# @param SubnetCidrBlock: Subnet的IPv4 CIDR
|
3583
|
+
# @type SubnetCidrBlock: String
|
3584
|
+
|
3585
|
+
attr_accessor :VpcId, :VpcCidrBlock, :SubnetId, :SubnetCidrBlock
|
3586
|
+
|
3587
|
+
def initialize(vpcid=nil, vpccidrblock=nil, subnetid=nil, subnetcidrblock=nil)
|
3588
|
+
@VpcId = vpcid
|
3589
|
+
@VpcCidrBlock = vpccidrblock
|
3590
|
+
@SubnetId = subnetid
|
3591
|
+
@SubnetCidrBlock = subnetcidrblock
|
3592
|
+
end
|
3593
|
+
|
3594
|
+
def deserialize(params)
|
3595
|
+
@VpcId = params['VpcId']
|
3596
|
+
@VpcCidrBlock = params['VpcCidrBlock']
|
3597
|
+
@SubnetId = params['SubnetId']
|
3598
|
+
@SubnetCidrBlock = params['SubnetCidrBlock']
|
3599
|
+
end
|
3600
|
+
end
|
3601
|
+
|
3337
3602
|
# DeleteNotebookSession请求参数结构体
|
3338
3603
|
class DeleteNotebookSessionRequest < TencentCloud::Common::AbstractModel
|
3339
3604
|
# @param SessionId: Session唯一标识
|
@@ -4120,6 +4385,97 @@ module TencentCloud
|
|
4120
4385
|
end
|
4121
4386
|
end
|
4122
4387
|
|
4388
|
+
# DescribeDatasourceConnection请求参数结构体
|
4389
|
+
class DescribeDatasourceConnectionRequest < TencentCloud::Common::AbstractModel
|
4390
|
+
# @param DatasourceConnectionIds: 连接ID列表,指定要查询的连接ID
|
4391
|
+
# @type DatasourceConnectionIds: Array
|
4392
|
+
# @param Filters: 过滤条件,当前支持的过滤键为:DatasourceConnectionName(数据源连接名)。
|
4393
|
+
# DatasourceConnectionType (数据源连接连接类型)
|
4394
|
+
# @type Filters: Array
|
4395
|
+
# @param Offset: 偏移量,默认为0
|
4396
|
+
# @type Offset: Integer
|
4397
|
+
# @param Limit: 返回数量,默认20,最大值100
|
4398
|
+
# @type Limit: Integer
|
4399
|
+
# @param SortBy: 排序字段,支持如下字段类型,create-time(默认,创建时间)、update-time(更新时间)
|
4400
|
+
# @type SortBy: String
|
4401
|
+
# @param Sorting: 排序方式,desc表示正序,asc表示反序, 默认为desc
|
4402
|
+
# @type Sorting: String
|
4403
|
+
# @param StartTime: 筛选字段:起始时间
|
4404
|
+
# @type StartTime: String
|
4405
|
+
# @param EndTime: 筛选字段:截止时间
|
4406
|
+
# @type EndTime: String
|
4407
|
+
# @param DatasourceConnectionNames: 连接名称列表,指定要查询的连接名称
|
4408
|
+
# @type DatasourceConnectionNames: Array
|
4409
|
+
# @param DatasourceConnectionTypes: 连接类型,支持Mysql/HiveCos/Kafka/DataLakeCatalog
|
4410
|
+
# @type DatasourceConnectionTypes: Array
|
4411
|
+
|
4412
|
+
attr_accessor :DatasourceConnectionIds, :Filters, :Offset, :Limit, :SortBy, :Sorting, :StartTime, :EndTime, :DatasourceConnectionNames, :DatasourceConnectionTypes
|
4413
|
+
|
4414
|
+
def initialize(datasourceconnectionids=nil, filters=nil, offset=nil, limit=nil, sortby=nil, sorting=nil, starttime=nil, endtime=nil, datasourceconnectionnames=nil, datasourceconnectiontypes=nil)
|
4415
|
+
@DatasourceConnectionIds = datasourceconnectionids
|
4416
|
+
@Filters = filters
|
4417
|
+
@Offset = offset
|
4418
|
+
@Limit = limit
|
4419
|
+
@SortBy = sortby
|
4420
|
+
@Sorting = sorting
|
4421
|
+
@StartTime = starttime
|
4422
|
+
@EndTime = endtime
|
4423
|
+
@DatasourceConnectionNames = datasourceconnectionnames
|
4424
|
+
@DatasourceConnectionTypes = datasourceconnectiontypes
|
4425
|
+
end
|
4426
|
+
|
4427
|
+
def deserialize(params)
|
4428
|
+
@DatasourceConnectionIds = params['DatasourceConnectionIds']
|
4429
|
+
unless params['Filters'].nil?
|
4430
|
+
@Filters = []
|
4431
|
+
params['Filters'].each do |i|
|
4432
|
+
filter_tmp = Filter.new
|
4433
|
+
filter_tmp.deserialize(i)
|
4434
|
+
@Filters << filter_tmp
|
4435
|
+
end
|
4436
|
+
end
|
4437
|
+
@Offset = params['Offset']
|
4438
|
+
@Limit = params['Limit']
|
4439
|
+
@SortBy = params['SortBy']
|
4440
|
+
@Sorting = params['Sorting']
|
4441
|
+
@StartTime = params['StartTime']
|
4442
|
+
@EndTime = params['EndTime']
|
4443
|
+
@DatasourceConnectionNames = params['DatasourceConnectionNames']
|
4444
|
+
@DatasourceConnectionTypes = params['DatasourceConnectionTypes']
|
4445
|
+
end
|
4446
|
+
end
|
4447
|
+
|
4448
|
+
# DescribeDatasourceConnection返回参数结构体
|
4449
|
+
class DescribeDatasourceConnectionResponse < TencentCloud::Common::AbstractModel
|
4450
|
+
# @param TotalCount: 数据连接总数
|
4451
|
+
# @type TotalCount: Integer
|
4452
|
+
# @param ConnectionSet: 数据连接对象集合
|
4453
|
+
# @type ConnectionSet: Array
|
4454
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4455
|
+
# @type RequestId: String
|
4456
|
+
|
4457
|
+
attr_accessor :TotalCount, :ConnectionSet, :RequestId
|
4458
|
+
|
4459
|
+
def initialize(totalcount=nil, connectionset=nil, requestid=nil)
|
4460
|
+
@TotalCount = totalcount
|
4461
|
+
@ConnectionSet = connectionset
|
4462
|
+
@RequestId = requestid
|
4463
|
+
end
|
4464
|
+
|
4465
|
+
def deserialize(params)
|
4466
|
+
@TotalCount = params['TotalCount']
|
4467
|
+
unless params['ConnectionSet'].nil?
|
4468
|
+
@ConnectionSet = []
|
4469
|
+
params['ConnectionSet'].each do |i|
|
4470
|
+
datasourceconnectioninfo_tmp = DatasourceConnectionInfo.new
|
4471
|
+
datasourceconnectioninfo_tmp.deserialize(i)
|
4472
|
+
@ConnectionSet << datasourceconnectioninfo_tmp
|
4473
|
+
end
|
4474
|
+
end
|
4475
|
+
@RequestId = params['RequestId']
|
4476
|
+
end
|
4477
|
+
end
|
4478
|
+
|
4123
4479
|
# DescribeEngineUsageInfo请求参数结构体
|
4124
4480
|
class DescribeEngineUsageInfoRequest < TencentCloud::Common::AbstractModel
|
4125
4481
|
# @param DataEngineId: 数据引擎ID
|
@@ -5815,6 +6171,63 @@ module TencentCloud
|
|
5815
6171
|
end
|
5816
6172
|
end
|
5817
6173
|
|
6174
|
+
# Elasticsearch数据源的详细信息
|
6175
|
+
class ElasticsearchInfo < TencentCloud::Common::AbstractModel
|
6176
|
+
# @param InstanceId: 数据源ID
|
6177
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6178
|
+
# @type InstanceId: String
|
6179
|
+
# @param InstanceName: 数据源名称
|
6180
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6181
|
+
# @type InstanceName: String
|
6182
|
+
# @param User: 用户名
|
6183
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6184
|
+
# @type User: String
|
6185
|
+
# @param Password: 密码,需要base64编码
|
6186
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6187
|
+
# @type Password: String
|
6188
|
+
# @param Location: 数据源的VPC和子网信息
|
6189
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6190
|
+
# @type Location: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionLocation`
|
6191
|
+
# @param DbName: 默认数据库名称
|
6192
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6193
|
+
# @type DbName: String
|
6194
|
+
# @param ServiceInfo: 访问Elasticsearch的ip、端口信息
|
6195
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6196
|
+
# @type ServiceInfo: Array
|
6197
|
+
|
6198
|
+
attr_accessor :InstanceId, :InstanceName, :User, :Password, :Location, :DbName, :ServiceInfo
|
6199
|
+
|
6200
|
+
def initialize(instanceid=nil, instancename=nil, user=nil, password=nil, location=nil, dbname=nil, serviceinfo=nil)
|
6201
|
+
@InstanceId = instanceid
|
6202
|
+
@InstanceName = instancename
|
6203
|
+
@User = user
|
6204
|
+
@Password = password
|
6205
|
+
@Location = location
|
6206
|
+
@DbName = dbname
|
6207
|
+
@ServiceInfo = serviceinfo
|
6208
|
+
end
|
6209
|
+
|
6210
|
+
def deserialize(params)
|
6211
|
+
@InstanceId = params['InstanceId']
|
6212
|
+
@InstanceName = params['InstanceName']
|
6213
|
+
@User = params['User']
|
6214
|
+
@Password = params['Password']
|
6215
|
+
unless params['Location'].nil?
|
6216
|
+
@Location = DatasourceConnectionLocation.new
|
6217
|
+
@Location.deserialize(params['Location'])
|
6218
|
+
end
|
6219
|
+
@DbName = params['DbName']
|
6220
|
+
unless params['ServiceInfo'].nil?
|
6221
|
+
@ServiceInfo = []
|
6222
|
+
params['ServiceInfo'].each do |i|
|
6223
|
+
ipportpair_tmp = IpPortPair.new
|
6224
|
+
ipportpair_tmp.deserialize(i)
|
6225
|
+
@ServiceInfo << ipportpair_tmp
|
6226
|
+
end
|
6227
|
+
end
|
6228
|
+
end
|
6229
|
+
end
|
6230
|
+
|
5818
6231
|
# SQL语句对象
|
5819
6232
|
class Execution < TencentCloud::Common::AbstractModel
|
5820
6233
|
# @param SQL: 自动生成SQL语句。
|
@@ -5930,6 +6343,107 @@ module TencentCloud
|
|
5930
6343
|
end
|
5931
6344
|
end
|
5932
6345
|
|
6346
|
+
# hive类型数据源的信息
|
6347
|
+
class HiveInfo < TencentCloud::Common::AbstractModel
|
6348
|
+
# @param MetaStoreUrl: hive metastore的地址
|
6349
|
+
# @type MetaStoreUrl: String
|
6350
|
+
# @param Type: hive数据源类型,代表数据储存的位置,COS或者HDFS
|
6351
|
+
# @type Type: String
|
6352
|
+
# @param Location: 数据源所在的私有网络信息
|
6353
|
+
# @type Location: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionLocation`
|
6354
|
+
# @param User: 如果类型为HDFS,需要传一个用户名
|
6355
|
+
# @type User: String
|
6356
|
+
# @param HighAvailability: 如果类型为HDFS,需要选择是否高可用
|
6357
|
+
# @type HighAvailability: Boolean
|
6358
|
+
# @param BucketUrl: 如果类型为COS,需要填写COS桶连接
|
6359
|
+
# @type BucketUrl: String
|
6360
|
+
# @param HdfsProperties: json字符串。如果类型为HDFS,需要填写该字段
|
6361
|
+
# @type HdfsProperties: String
|
6362
|
+
# @param Mysql: Hive的元数据库信息
|
6363
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6364
|
+
# @type Mysql: :class:`Tencentcloud::Dlc.v20210125.models.MysqlInfo`
|
6365
|
+
# @param InstanceId: emr集群Id
|
6366
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6367
|
+
# @type InstanceId: String
|
6368
|
+
# @param InstanceName: emr集群名称
|
6369
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6370
|
+
# @type InstanceName: String
|
6371
|
+
# @param HiveVersion: EMR集群中hive组件的版本号
|
6372
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6373
|
+
# @type HiveVersion: String
|
6374
|
+
# @param KerberosInfo: Kerberos详细信息
|
6375
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6376
|
+
# @type KerberosInfo: :class:`Tencentcloud::Dlc.v20210125.models.KerberosInfo`
|
6377
|
+
# @param KerberosEnable: 是否开启Kerberos
|
6378
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6379
|
+
# @type KerberosEnable: Boolean
|
6380
|
+
|
6381
|
+
attr_accessor :MetaStoreUrl, :Type, :Location, :User, :HighAvailability, :BucketUrl, :HdfsProperties, :Mysql, :InstanceId, :InstanceName, :HiveVersion, :KerberosInfo, :KerberosEnable
|
6382
|
+
|
6383
|
+
def initialize(metastoreurl=nil, type=nil, location=nil, user=nil, highavailability=nil, bucketurl=nil, hdfsproperties=nil, mysql=nil, instanceid=nil, instancename=nil, hiveversion=nil, kerberosinfo=nil, kerberosenable=nil)
|
6384
|
+
@MetaStoreUrl = metastoreurl
|
6385
|
+
@Type = type
|
6386
|
+
@Location = location
|
6387
|
+
@User = user
|
6388
|
+
@HighAvailability = highavailability
|
6389
|
+
@BucketUrl = bucketurl
|
6390
|
+
@HdfsProperties = hdfsproperties
|
6391
|
+
@Mysql = mysql
|
6392
|
+
@InstanceId = instanceid
|
6393
|
+
@InstanceName = instancename
|
6394
|
+
@HiveVersion = hiveversion
|
6395
|
+
@KerberosInfo = kerberosinfo
|
6396
|
+
@KerberosEnable = kerberosenable
|
6397
|
+
end
|
6398
|
+
|
6399
|
+
def deserialize(params)
|
6400
|
+
@MetaStoreUrl = params['MetaStoreUrl']
|
6401
|
+
@Type = params['Type']
|
6402
|
+
unless params['Location'].nil?
|
6403
|
+
@Location = DatasourceConnectionLocation.new
|
6404
|
+
@Location.deserialize(params['Location'])
|
6405
|
+
end
|
6406
|
+
@User = params['User']
|
6407
|
+
@HighAvailability = params['HighAvailability']
|
6408
|
+
@BucketUrl = params['BucketUrl']
|
6409
|
+
@HdfsProperties = params['HdfsProperties']
|
6410
|
+
unless params['Mysql'].nil?
|
6411
|
+
@Mysql = MysqlInfo.new
|
6412
|
+
@Mysql.deserialize(params['Mysql'])
|
6413
|
+
end
|
6414
|
+
@InstanceId = params['InstanceId']
|
6415
|
+
@InstanceName = params['InstanceName']
|
6416
|
+
@HiveVersion = params['HiveVersion']
|
6417
|
+
unless params['KerberosInfo'].nil?
|
6418
|
+
@KerberosInfo = KerberosInfo.new
|
6419
|
+
@KerberosInfo.deserialize(params['KerberosInfo'])
|
6420
|
+
end
|
6421
|
+
@KerberosEnable = params['KerberosEnable']
|
6422
|
+
end
|
6423
|
+
end
|
6424
|
+
|
6425
|
+
# ip端口对信息
|
6426
|
+
class IpPortPair < TencentCloud::Common::AbstractModel
|
6427
|
+
# @param Ip: ip信息
|
6428
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6429
|
+
# @type Ip: String
|
6430
|
+
# @param Port: 端口信息
|
6431
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6432
|
+
# @type Port: Integer
|
6433
|
+
|
6434
|
+
attr_accessor :Ip, :Port
|
6435
|
+
|
6436
|
+
def initialize(ip=nil, port=nil)
|
6437
|
+
@Ip = ip
|
6438
|
+
@Port = port
|
6439
|
+
end
|
6440
|
+
|
6441
|
+
def deserialize(params)
|
6442
|
+
@Ip = params['Ip']
|
6443
|
+
@Port = params['Port']
|
6444
|
+
end
|
6445
|
+
end
|
6446
|
+
|
5933
6447
|
# 日志详情
|
5934
6448
|
class JobLogResult < TencentCloud::Common::AbstractModel
|
5935
6449
|
# @param Time: 日志时间戳,毫秒
|
@@ -5989,6 +6503,53 @@ module TencentCloud
|
|
5989
6503
|
end
|
5990
6504
|
end
|
5991
6505
|
|
6506
|
+
# Kafka连接信息
|
6507
|
+
class KafkaInfo < TencentCloud::Common::AbstractModel
|
6508
|
+
# @param InstanceId: kakfa实例Id
|
6509
|
+
# @type InstanceId: String
|
6510
|
+
# @param Location: kakfa数据源的网络信息
|
6511
|
+
# @type Location: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionLocation`
|
6512
|
+
|
6513
|
+
attr_accessor :InstanceId, :Location
|
6514
|
+
|
6515
|
+
def initialize(instanceid=nil, location=nil)
|
6516
|
+
@InstanceId = instanceid
|
6517
|
+
@Location = location
|
6518
|
+
end
|
6519
|
+
|
6520
|
+
def deserialize(params)
|
6521
|
+
@InstanceId = params['InstanceId']
|
6522
|
+
unless params['Location'].nil?
|
6523
|
+
@Location = DatasourceConnectionLocation.new
|
6524
|
+
@Location.deserialize(params['Location'])
|
6525
|
+
end
|
6526
|
+
end
|
6527
|
+
end
|
6528
|
+
|
6529
|
+
# Kerberos详细信息
|
6530
|
+
class KerberosInfo < TencentCloud::Common::AbstractModel
|
6531
|
+
# @param Krb5Conf: Krb5Conf文件值
|
6532
|
+
# @type Krb5Conf: String
|
6533
|
+
# @param KeyTab: KeyTab文件值
|
6534
|
+
# @type KeyTab: String
|
6535
|
+
# @param ServicePrincipal: 服务主体
|
6536
|
+
# @type ServicePrincipal: String
|
6537
|
+
|
6538
|
+
attr_accessor :Krb5Conf, :KeyTab, :ServicePrincipal
|
6539
|
+
|
6540
|
+
def initialize(krb5conf=nil, keytab=nil, serviceprincipal=nil)
|
6541
|
+
@Krb5Conf = krb5conf
|
6542
|
+
@KeyTab = keytab
|
6543
|
+
@ServicePrincipal = serviceprincipal
|
6544
|
+
end
|
6545
|
+
|
6546
|
+
def deserialize(params)
|
6547
|
+
@Krb5Conf = params['Krb5Conf']
|
6548
|
+
@KeyTab = params['KeyTab']
|
6549
|
+
@ServicePrincipal = params['ServicePrincipal']
|
6550
|
+
end
|
6551
|
+
end
|
6552
|
+
|
5992
6553
|
# ListTaskJobLogDetail请求参数结构体
|
5993
6554
|
class ListTaskJobLogDetailRequest < TencentCloud::Common::AbstractModel
|
5994
6555
|
# @param TaskId: 列表返回的Id
|
@@ -6493,6 +7054,51 @@ module TencentCloud
|
|
6493
7054
|
end
|
6494
7055
|
end
|
6495
7056
|
|
7057
|
+
# Mysql类型数据源信息
|
7058
|
+
class MysqlInfo < TencentCloud::Common::AbstractModel
|
7059
|
+
# @param JdbcUrl: 连接mysql的jdbc url
|
7060
|
+
# @type JdbcUrl: String
|
7061
|
+
# @param User: 用户名
|
7062
|
+
# @type User: String
|
7063
|
+
# @param Password: mysql密码
|
7064
|
+
# @type Password: String
|
7065
|
+
# @param Location: mysql数据源的网络信息
|
7066
|
+
# @type Location: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionLocation`
|
7067
|
+
# @param DbName: 数据库名称
|
7068
|
+
# @type DbName: String
|
7069
|
+
# @param InstanceId: 数据库实例ID,和数据库侧保持一致
|
7070
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7071
|
+
# @type InstanceId: String
|
7072
|
+
# @param InstanceName: 数据库实例名称,和数据库侧保持一致
|
7073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7074
|
+
# @type InstanceName: String
|
7075
|
+
|
7076
|
+
attr_accessor :JdbcUrl, :User, :Password, :Location, :DbName, :InstanceId, :InstanceName
|
7077
|
+
|
7078
|
+
def initialize(jdbcurl=nil, user=nil, password=nil, location=nil, dbname=nil, instanceid=nil, instancename=nil)
|
7079
|
+
@JdbcUrl = jdbcurl
|
7080
|
+
@User = user
|
7081
|
+
@Password = password
|
7082
|
+
@Location = location
|
7083
|
+
@DbName = dbname
|
7084
|
+
@InstanceId = instanceid
|
7085
|
+
@InstanceName = instancename
|
7086
|
+
end
|
7087
|
+
|
7088
|
+
def deserialize(params)
|
7089
|
+
@JdbcUrl = params['JdbcUrl']
|
7090
|
+
@User = params['User']
|
7091
|
+
@Password = params['Password']
|
7092
|
+
unless params['Location'].nil?
|
7093
|
+
@Location = DatasourceConnectionLocation.new
|
7094
|
+
@Location.deserialize(params['Location'])
|
7095
|
+
end
|
7096
|
+
@DbName = params['DbName']
|
7097
|
+
@InstanceId = params['InstanceId']
|
7098
|
+
@InstanceName = params['InstanceName']
|
7099
|
+
end
|
7100
|
+
end
|
7101
|
+
|
6496
7102
|
# 网络配置
|
6497
7103
|
class NetworkConnection < TencentCloud::Common::AbstractModel
|
6498
7104
|
# @param Id: 网络配置id
|
@@ -6888,6 +7494,25 @@ module TencentCloud
|
|
6888
7494
|
end
|
6889
7495
|
end
|
6890
7496
|
|
7497
|
+
# 其他数据源
|
7498
|
+
class OtherDatasourceConnection < TencentCloud::Common::AbstractModel
|
7499
|
+
# @param Location: 网络参数
|
7500
|
+
# @type Location: :class:`Tencentcloud::Dlc.v20210125.models.DatasourceConnectionLocation`
|
7501
|
+
|
7502
|
+
attr_accessor :Location
|
7503
|
+
|
7504
|
+
def initialize(location=nil)
|
7505
|
+
@Location = location
|
7506
|
+
end
|
7507
|
+
|
7508
|
+
def deserialize(params)
|
7509
|
+
unless params['Location'].nil?
|
7510
|
+
@Location = DatasourceConnectionLocation.new
|
7511
|
+
@Location.deserialize(params['Location'])
|
7512
|
+
end
|
7513
|
+
end
|
7514
|
+
end
|
7515
|
+
|
6891
7516
|
# 数据表分块信息。
|
6892
7517
|
class Partition < TencentCloud::Common::AbstractModel
|
6893
7518
|
# @param Name: 分区列名。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dlc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.662
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|