tencentcloud-sdk-dlc 3.0.703 → 3.0.704
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 +120 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db9deb4c9689f5c1da101163c903b71c2776d9e9
|
4
|
+
data.tar.gz: 41074aa23760187746a04839e5bcdb92489d91b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6f5337795ec2480f86bc719ecc24ef130c83719a1b998e2c15aa44e1b3b46b1ba3f719411b36bac1c1e20df04fb2cc3bfa5178e5111d64f45b5244f963a38a3
|
7
|
+
data.tar.gz: 98b7afcb9aa5380082265f77764defb6d12c9100ab10255f935da971dfff07141ca5114d975b46730f8357d8ce81286373ce92a7815c069bc86beed802a06dab
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.704
|
data/lib/v20210125/client.rb
CHANGED
@@ -1949,6 +1949,30 @@ module TencentCloud
|
|
1949
1949
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1950
1950
|
end
|
1951
1951
|
|
1952
|
+
# 查询可更新配置的引擎列表
|
1953
|
+
|
1954
|
+
# @param request: Request instance for DescribeUpdatableDataEngines.
|
1955
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::DescribeUpdatableDataEnginesRequest`
|
1956
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeUpdatableDataEnginesResponse`
|
1957
|
+
def DescribeUpdatableDataEngines(request)
|
1958
|
+
body = send_request('DescribeUpdatableDataEngines', request.serialize)
|
1959
|
+
response = JSON.parse(body)
|
1960
|
+
if response['Response'].key?('Error') == false
|
1961
|
+
model = DescribeUpdatableDataEnginesResponse.new
|
1962
|
+
model.deserialize(response['Response'])
|
1963
|
+
model
|
1964
|
+
else
|
1965
|
+
code = response['Response']['Error']['Code']
|
1966
|
+
message = response['Response']['Error']['Message']
|
1967
|
+
reqid = response['Response']['RequestId']
|
1968
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1969
|
+
end
|
1970
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1971
|
+
raise e
|
1972
|
+
rescue StandardError => e
|
1973
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1974
|
+
end
|
1975
|
+
|
1952
1976
|
# 查询用户自定义引擎参数
|
1953
1977
|
|
1954
1978
|
# @param request: Request instance for DescribeUserDataEngineConfig.
|
data/lib/v20210125/models.rb
CHANGED
@@ -1293,7 +1293,7 @@ module TencentCloud
|
|
1293
1293
|
# @type Size: Integer
|
1294
1294
|
# @param PayMode: 计费类型,后付费:0,预付费:1。当前只支持后付费,不填默认为后付费。
|
1295
1295
|
# @type PayMode: Integer
|
1296
|
-
# @param TimeSpan: 资源使用时长,后付费:固定填3600,预付费:最少填1,代表购买资源一个月,最长不超过120。默认
|
1296
|
+
# @param TimeSpan: 资源使用时长,后付费:固定填3600,预付费:最少填1,代表购买资源一个月,最长不超过120。默认1
|
1297
1297
|
# @type TimeSpan: Integer
|
1298
1298
|
# @param TimeUnit: 资源使用时长的单位,后付费:s,预付费:m。默认为s
|
1299
1299
|
# @type TimeUnit: String
|
@@ -1331,13 +1331,17 @@ module TencentCloud
|
|
1331
1331
|
# @type SessionResourceTemplate: :class:`Tencentcloud::Dlc.v20210125.models.SessionResourceTemplate`
|
1332
1332
|
# @param AutoAuthorization: 自动授权
|
1333
1333
|
# @type AutoAuthorization: Boolean
|
1334
|
+
# @param EngineNetworkId: 引擎网络ID
|
1335
|
+
# @type EngineNetworkId: String
|
1336
|
+
# @param EngineGeneration: 引擎世代,SuperSQL:代表supersql引擎,Native:代表标准引擎。默认值为SuperSQL
|
1337
|
+
# @type EngineGeneration: String
|
1334
1338
|
|
1335
|
-
attr_accessor :EngineType, :DataEngineName, :ClusterType, :Mode, :AutoResume, :MinClusters, :MaxClusters, :DefaultDataEngine, :CidrBlock, :Message, :Size, :PayMode, :TimeSpan, :TimeUnit, :AutoRenew, :Tags, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :MaxConcurrency, :TolerableQueueTime, :AutoSuspendTime, :ResourceType, :DataEngineConfigPairs, :ImageVersionName, :MainClusterName, :ElasticSwitch, :ElasticLimit, :SessionResourceTemplate, :AutoAuthorization
|
1339
|
+
attr_accessor :EngineType, :DataEngineName, :ClusterType, :Mode, :AutoResume, :MinClusters, :MaxClusters, :DefaultDataEngine, :CidrBlock, :Message, :Size, :PayMode, :TimeSpan, :TimeUnit, :AutoRenew, :Tags, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :MaxConcurrency, :TolerableQueueTime, :AutoSuspendTime, :ResourceType, :DataEngineConfigPairs, :ImageVersionName, :MainClusterName, :ElasticSwitch, :ElasticLimit, :SessionResourceTemplate, :AutoAuthorization, :EngineNetworkId, :EngineGeneration
|
1336
1340
|
extend Gem::Deprecate
|
1337
1341
|
deprecate :DefaultDataEngine, :none, 2023, 11
|
1338
1342
|
deprecate :DefaultDataEngine=, :none, 2023, 11
|
1339
1343
|
|
1340
|
-
def initialize(enginetype=nil, dataenginename=nil, clustertype=nil, mode=nil, autoresume=nil, minclusters=nil, maxclusters=nil, defaultdataengine=nil, cidrblock=nil, message=nil, size=nil, paymode=nil, timespan=nil, timeunit=nil, autorenew=nil, tags=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, maxconcurrency=nil, tolerablequeuetime=nil, autosuspendtime=nil, resourcetype=nil, dataengineconfigpairs=nil, imageversionname=nil, mainclustername=nil, elasticswitch=nil, elasticlimit=nil, sessionresourcetemplate=nil, autoauthorization=nil)
|
1344
|
+
def initialize(enginetype=nil, dataenginename=nil, clustertype=nil, mode=nil, autoresume=nil, minclusters=nil, maxclusters=nil, defaultdataengine=nil, cidrblock=nil, message=nil, size=nil, paymode=nil, timespan=nil, timeunit=nil, autorenew=nil, tags=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, maxconcurrency=nil, tolerablequeuetime=nil, autosuspendtime=nil, resourcetype=nil, dataengineconfigpairs=nil, imageversionname=nil, mainclustername=nil, elasticswitch=nil, elasticlimit=nil, sessionresourcetemplate=nil, autoauthorization=nil, enginenetworkid=nil, enginegeneration=nil)
|
1341
1345
|
@EngineType = enginetype
|
1342
1346
|
@DataEngineName = dataenginename
|
1343
1347
|
@ClusterType = clustertype
|
@@ -1369,6 +1373,8 @@ module TencentCloud
|
|
1369
1373
|
@ElasticLimit = elasticlimit
|
1370
1374
|
@SessionResourceTemplate = sessionresourcetemplate
|
1371
1375
|
@AutoAuthorization = autoauthorization
|
1376
|
+
@EngineNetworkId = enginenetworkid
|
1377
|
+
@EngineGeneration = enginegeneration
|
1372
1378
|
end
|
1373
1379
|
|
1374
1380
|
def deserialize(params)
|
@@ -1423,6 +1429,8 @@ module TencentCloud
|
|
1423
1429
|
@SessionResourceTemplate.deserialize(params['SessionResourceTemplate'])
|
1424
1430
|
end
|
1425
1431
|
@AutoAuthorization = params['AutoAuthorization']
|
1432
|
+
@EngineNetworkId = params['EngineNetworkId']
|
1433
|
+
@EngineGeneration = params['EngineGeneration']
|
1426
1434
|
end
|
1427
1435
|
end
|
1428
1436
|
|
@@ -3071,6 +3079,58 @@ module TencentCloud
|
|
3071
3079
|
end
|
3072
3080
|
end
|
3073
3081
|
|
3082
|
+
# DataEngine基本信息
|
3083
|
+
class DataEngineBasicInfo < TencentCloud::Common::AbstractModel
|
3084
|
+
# @param DataEngineName: DataEngine名称
|
3085
|
+
# @type DataEngineName: String
|
3086
|
+
# @param State: 数据引擎状态 -2已删除 -1失败 0初始化中 1挂起 2运行中 3准备删除 4删除中
|
3087
|
+
# @type State: Integer
|
3088
|
+
# @param CreateTime: 创建时间
|
3089
|
+
# @type CreateTime: Integer
|
3090
|
+
# @param UpdateTime: 更新时间
|
3091
|
+
# @type UpdateTime: Integer
|
3092
|
+
# @param Message: 返回信息
|
3093
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3094
|
+
# @type Message: String
|
3095
|
+
# @param DataEngineId: 引擎id
|
3096
|
+
# @type DataEngineId: String
|
3097
|
+
# @param DataEngineType: 引擎类型,有效值:PrestoSQL/SparkSQL/SparkBatch
|
3098
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3099
|
+
# @type DataEngineType: String
|
3100
|
+
# @param AppId: 用户ID
|
3101
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3102
|
+
# @type AppId: Integer
|
3103
|
+
# @param UserUin: 账号ID
|
3104
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3105
|
+
# @type UserUin: String
|
3106
|
+
|
3107
|
+
attr_accessor :DataEngineName, :State, :CreateTime, :UpdateTime, :Message, :DataEngineId, :DataEngineType, :AppId, :UserUin
|
3108
|
+
|
3109
|
+
def initialize(dataenginename=nil, state=nil, createtime=nil, updatetime=nil, message=nil, dataengineid=nil, dataenginetype=nil, appid=nil, useruin=nil)
|
3110
|
+
@DataEngineName = dataenginename
|
3111
|
+
@State = state
|
3112
|
+
@CreateTime = createtime
|
3113
|
+
@UpdateTime = updatetime
|
3114
|
+
@Message = message
|
3115
|
+
@DataEngineId = dataengineid
|
3116
|
+
@DataEngineType = dataenginetype
|
3117
|
+
@AppId = appid
|
3118
|
+
@UserUin = useruin
|
3119
|
+
end
|
3120
|
+
|
3121
|
+
def deserialize(params)
|
3122
|
+
@DataEngineName = params['DataEngineName']
|
3123
|
+
@State = params['State']
|
3124
|
+
@CreateTime = params['CreateTime']
|
3125
|
+
@UpdateTime = params['UpdateTime']
|
3126
|
+
@Message = params['Message']
|
3127
|
+
@DataEngineId = params['DataEngineId']
|
3128
|
+
@DataEngineType = params['DataEngineType']
|
3129
|
+
@AppId = params['AppId']
|
3130
|
+
@UserUin = params['UserUin']
|
3131
|
+
end
|
3132
|
+
end
|
3133
|
+
|
3074
3134
|
# 引擎配置信息
|
3075
3135
|
class DataEngineConfigInstanceInfo < TencentCloud::Common::AbstractModel
|
3076
3136
|
# @param DataEngineId: 引擎ID
|
@@ -4816,10 +4876,14 @@ module TencentCloud
|
|
4816
4876
|
# @type EngineType: String
|
4817
4877
|
# @param DatasourceConnectionNameSet: 网络配置列表,若传入该参数,则返回网络配置关联的计算引擎
|
4818
4878
|
# @type DatasourceConnectionNameSet: Array
|
4879
|
+
# @param EngineGeneration: 引擎版本,有效值:Native/SuperSQL,为空时默认获取SuperSQL引擎
|
4880
|
+
# @type EngineGeneration: String
|
4881
|
+
# @param EngineTypeDetail: 引擎类型,支持:SparkSQL、SparkBatch、PrestoSQL、Kyuubi
|
4882
|
+
# @type EngineTypeDetail: String
|
4819
4883
|
|
4820
|
-
attr_accessor :Offset, :Filters, :SortBy, :Sorting, :Limit, :DatasourceConnectionName, :ExcludePublicEngine, :AccessTypes, :EngineExecType, :EngineType, :DatasourceConnectionNameSet
|
4884
|
+
attr_accessor :Offset, :Filters, :SortBy, :Sorting, :Limit, :DatasourceConnectionName, :ExcludePublicEngine, :AccessTypes, :EngineExecType, :EngineType, :DatasourceConnectionNameSet, :EngineGeneration, :EngineTypeDetail
|
4821
4885
|
|
4822
|
-
def initialize(offset=nil, filters=nil, sortby=nil, sorting=nil, limit=nil, datasourceconnectionname=nil, excludepublicengine=nil, accesstypes=nil, engineexectype=nil, enginetype=nil, datasourceconnectionnameset=nil)
|
4886
|
+
def initialize(offset=nil, filters=nil, sortby=nil, sorting=nil, limit=nil, datasourceconnectionname=nil, excludepublicengine=nil, accesstypes=nil, engineexectype=nil, enginetype=nil, datasourceconnectionnameset=nil, enginegeneration=nil, enginetypedetail=nil)
|
4823
4887
|
@Offset = offset
|
4824
4888
|
@Filters = filters
|
4825
4889
|
@SortBy = sortby
|
@@ -4831,6 +4895,8 @@ module TencentCloud
|
|
4831
4895
|
@EngineExecType = engineexectype
|
4832
4896
|
@EngineType = enginetype
|
4833
4897
|
@DatasourceConnectionNameSet = datasourceconnectionnameset
|
4898
|
+
@EngineGeneration = enginegeneration
|
4899
|
+
@EngineTypeDetail = enginetypedetail
|
4834
4900
|
end
|
4835
4901
|
|
4836
4902
|
def deserialize(params)
|
@@ -4852,6 +4918,8 @@ module TencentCloud
|
|
4852
4918
|
@EngineExecType = params['EngineExecType']
|
4853
4919
|
@EngineType = params['EngineType']
|
4854
4920
|
@DatasourceConnectionNameSet = params['DatasourceConnectionNameSet']
|
4921
|
+
@EngineGeneration = params['EngineGeneration']
|
4922
|
+
@EngineTypeDetail = params['EngineTypeDetail']
|
4855
4923
|
end
|
4856
4924
|
end
|
4857
4925
|
|
@@ -6308,6 +6376,53 @@ module TencentCloud
|
|
6308
6376
|
end
|
6309
6377
|
end
|
6310
6378
|
|
6379
|
+
# DescribeUpdatableDataEngines请求参数结构体
|
6380
|
+
class DescribeUpdatableDataEnginesRequest < TencentCloud::Common::AbstractModel
|
6381
|
+
# @param DataEngineConfigCommand: 引擎配置操作命令,UpdateSparkSQLLakefsPath 更新托管表路径,UpdateSparkSQLResultPath 更新结果桶路径
|
6382
|
+
# @type DataEngineConfigCommand: String
|
6383
|
+
|
6384
|
+
attr_accessor :DataEngineConfigCommand
|
6385
|
+
|
6386
|
+
def initialize(dataengineconfigcommand=nil)
|
6387
|
+
@DataEngineConfigCommand = dataengineconfigcommand
|
6388
|
+
end
|
6389
|
+
|
6390
|
+
def deserialize(params)
|
6391
|
+
@DataEngineConfigCommand = params['DataEngineConfigCommand']
|
6392
|
+
end
|
6393
|
+
end
|
6394
|
+
|
6395
|
+
# DescribeUpdatableDataEngines返回参数结构体
|
6396
|
+
class DescribeUpdatableDataEnginesResponse < TencentCloud::Common::AbstractModel
|
6397
|
+
# @param DataEngineBasicInfos: 集群基础信息
|
6398
|
+
# @type DataEngineBasicInfos: Array
|
6399
|
+
# @param TotalCount: 集群个数
|
6400
|
+
# @type TotalCount: Integer
|
6401
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6402
|
+
# @type RequestId: String
|
6403
|
+
|
6404
|
+
attr_accessor :DataEngineBasicInfos, :TotalCount, :RequestId
|
6405
|
+
|
6406
|
+
def initialize(dataenginebasicinfos=nil, totalcount=nil, requestid=nil)
|
6407
|
+
@DataEngineBasicInfos = dataenginebasicinfos
|
6408
|
+
@TotalCount = totalcount
|
6409
|
+
@RequestId = requestid
|
6410
|
+
end
|
6411
|
+
|
6412
|
+
def deserialize(params)
|
6413
|
+
unless params['DataEngineBasicInfos'].nil?
|
6414
|
+
@DataEngineBasicInfos = []
|
6415
|
+
params['DataEngineBasicInfos'].each do |i|
|
6416
|
+
dataenginebasicinfo_tmp = DataEngineBasicInfo.new
|
6417
|
+
dataenginebasicinfo_tmp.deserialize(i)
|
6418
|
+
@DataEngineBasicInfos << dataenginebasicinfo_tmp
|
6419
|
+
end
|
6420
|
+
end
|
6421
|
+
@TotalCount = params['TotalCount']
|
6422
|
+
@RequestId = params['RequestId']
|
6423
|
+
end
|
6424
|
+
end
|
6425
|
+
|
6311
6426
|
# DescribeUserDataEngineConfig请求参数结构体
|
6312
6427
|
class DescribeUserDataEngineConfigRequest < TencentCloud::Common::AbstractModel
|
6313
6428
|
# @param Sorting: 排序方式,desc表示倒序,asc表示正序
|