tencentcloud-sdk-dlc 3.0.702 → 3.0.704

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 497816fa6c42ec914d69205404e21d51f3caf281
4
- data.tar.gz: 78b882a3a1f3a4aaaf99d66df7af56261aa09aff
3
+ metadata.gz: db9deb4c9689f5c1da101163c903b71c2776d9e9
4
+ data.tar.gz: 41074aa23760187746a04839e5bcdb92489d91b5
5
5
  SHA512:
6
- metadata.gz: a09ac6d5ccff944aafcabbc51c533f0859d772be18804b6b66d488ef1c888a793d470d1fc0c5ac7e70e916a67dbe24d68a10e9180cff4f8375f51481f403943d
7
- data.tar.gz: bfe57433f52be07fb677c0ede202c37d04b0232c3d5be733e5126c43ee32072f35f83014110afd80c9cde9a5a80a743bb8055bd95dd3e647fb66da390da8767b
6
+ metadata.gz: d6f5337795ec2480f86bc719ecc24ef130c83719a1b998e2c15aa44e1b3b46b1ba3f719411b36bac1c1e20df04fb2cc3bfa5178e5111d64f45b5244f963a38a3
7
+ data.tar.gz: 98b7afcb9aa5380082265f77764defb6d12c9100ab10255f935da971dfff07141ca5114d975b46730f8357d8ce81286373ce92a7815c069bc86beed802a06dab
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.702
1
+ 3.0.704
@@ -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.
@@ -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。默认3600
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
@@ -3304,10 +3364,16 @@ module TencentCloud
3304
3364
  # @param AutoAuthorization: 自动授权开关
3305
3365
  # 注意:此字段可能返回 null,表示取不到有效值。
3306
3366
  # @type AutoAuthorization: Boolean
3367
+ # @param EngineGeneration: 引擎版本,支持Native/SuperSQL
3368
+ # 注意:此字段可能返回 null,表示取不到有效值。
3369
+ # @type EngineGeneration: String
3370
+ # @param EngineTypeDetail: 引擎详细类型,支持:SparkSQL/SparkBatch/PrestoSQL/Kyuubi
3371
+ # 注意:此字段可能返回 null,表示取不到有效值。
3372
+ # @type EngineTypeDetail: String
3307
3373
 
3308
- attr_accessor :DataEngineName, :EngineType, :ClusterType, :QuotaId, :State, :CreateTime, :UpdateTime, :Size, :Mode, :MinClusters, :MaxClusters, :AutoResume, :SpendAfter, :CidrBlock, :DefaultDataEngine, :Message, :DataEngineId, :SubAccountUin, :ExpireTime, :IsolatedTime, :ReversalTime, :UserAlias, :TagList, :Permissions, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :RenewFlag, :AutoSuspendTime, :NetworkConnectionSet, :UiURL, :ResourceType, :ImageVersionId, :ChildImageVersionId, :ImageVersionName, :StartStandbyCluster, :ElasticSwitch, :ElasticLimit, :DefaultHouse, :MaxConcurrency, :TolerableQueueTime, :UserAppId, :UserUin, :SessionResourceTemplate, :AutoAuthorization
3374
+ attr_accessor :DataEngineName, :EngineType, :ClusterType, :QuotaId, :State, :CreateTime, :UpdateTime, :Size, :Mode, :MinClusters, :MaxClusters, :AutoResume, :SpendAfter, :CidrBlock, :DefaultDataEngine, :Message, :DataEngineId, :SubAccountUin, :ExpireTime, :IsolatedTime, :ReversalTime, :UserAlias, :TagList, :Permissions, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :RenewFlag, :AutoSuspendTime, :NetworkConnectionSet, :UiURL, :ResourceType, :ImageVersionId, :ChildImageVersionId, :ImageVersionName, :StartStandbyCluster, :ElasticSwitch, :ElasticLimit, :DefaultHouse, :MaxConcurrency, :TolerableQueueTime, :UserAppId, :UserUin, :SessionResourceTemplate, :AutoAuthorization, :EngineGeneration, :EngineTypeDetail
3309
3375
 
3310
- def initialize(dataenginename=nil, enginetype=nil, clustertype=nil, quotaid=nil, state=nil, createtime=nil, updatetime=nil, size=nil, mode=nil, minclusters=nil, maxclusters=nil, autoresume=nil, spendafter=nil, cidrblock=nil, defaultdataengine=nil, message=nil, dataengineid=nil, subaccountuin=nil, expiretime=nil, isolatedtime=nil, reversaltime=nil, useralias=nil, taglist=nil, permissions=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, renewflag=nil, autosuspendtime=nil, networkconnectionset=nil, uiurl=nil, resourcetype=nil, imageversionid=nil, childimageversionid=nil, imageversionname=nil, startstandbycluster=nil, elasticswitch=nil, elasticlimit=nil, defaulthouse=nil, maxconcurrency=nil, tolerablequeuetime=nil, userappid=nil, useruin=nil, sessionresourcetemplate=nil, autoauthorization=nil)
3376
+ def initialize(dataenginename=nil, enginetype=nil, clustertype=nil, quotaid=nil, state=nil, createtime=nil, updatetime=nil, size=nil, mode=nil, minclusters=nil, maxclusters=nil, autoresume=nil, spendafter=nil, cidrblock=nil, defaultdataengine=nil, message=nil, dataengineid=nil, subaccountuin=nil, expiretime=nil, isolatedtime=nil, reversaltime=nil, useralias=nil, taglist=nil, permissions=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, renewflag=nil, autosuspendtime=nil, networkconnectionset=nil, uiurl=nil, resourcetype=nil, imageversionid=nil, childimageversionid=nil, imageversionname=nil, startstandbycluster=nil, elasticswitch=nil, elasticlimit=nil, defaulthouse=nil, maxconcurrency=nil, tolerablequeuetime=nil, userappid=nil, useruin=nil, sessionresourcetemplate=nil, autoauthorization=nil, enginegeneration=nil, enginetypedetail=nil)
3311
3377
  @DataEngineName = dataenginename
3312
3378
  @EngineType = enginetype
3313
3379
  @ClusterType = clustertype
@@ -3354,6 +3420,8 @@ module TencentCloud
3354
3420
  @UserUin = useruin
3355
3421
  @SessionResourceTemplate = sessionresourcetemplate
3356
3422
  @AutoAuthorization = autoauthorization
3423
+ @EngineGeneration = enginegeneration
3424
+ @EngineTypeDetail = enginetypedetail
3357
3425
  end
3358
3426
 
3359
3427
  def deserialize(params)
@@ -3423,6 +3491,8 @@ module TencentCloud
3423
3491
  @SessionResourceTemplate.deserialize(params['SessionResourceTemplate'])
3424
3492
  end
3425
3493
  @AutoAuthorization = params['AutoAuthorization']
3494
+ @EngineGeneration = params['EngineGeneration']
3495
+ @EngineTypeDetail = params['EngineTypeDetail']
3426
3496
  end
3427
3497
  end
3428
3498
 
@@ -4806,10 +4876,14 @@ module TencentCloud
4806
4876
  # @type EngineType: String
4807
4877
  # @param DatasourceConnectionNameSet: 网络配置列表,若传入该参数,则返回网络配置关联的计算引擎
4808
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
4809
4883
 
4810
- 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
4811
4885
 
4812
- 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)
4813
4887
  @Offset = offset
4814
4888
  @Filters = filters
4815
4889
  @SortBy = sortby
@@ -4821,6 +4895,8 @@ module TencentCloud
4821
4895
  @EngineExecType = engineexectype
4822
4896
  @EngineType = enginetype
4823
4897
  @DatasourceConnectionNameSet = datasourceconnectionnameset
4898
+ @EngineGeneration = enginegeneration
4899
+ @EngineTypeDetail = enginetypedetail
4824
4900
  end
4825
4901
 
4826
4902
  def deserialize(params)
@@ -4842,6 +4918,8 @@ module TencentCloud
4842
4918
  @EngineExecType = params['EngineExecType']
4843
4919
  @EngineType = params['EngineType']
4844
4920
  @DatasourceConnectionNameSet = params['DatasourceConnectionNameSet']
4921
+ @EngineGeneration = params['EngineGeneration']
4922
+ @EngineTypeDetail = params['EngineTypeDetail']
4845
4923
  end
4846
4924
  end
4847
4925
 
@@ -6298,6 +6376,53 @@ module TencentCloud
6298
6376
  end
6299
6377
  end
6300
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
+
6301
6426
  # DescribeUserDataEngineConfig请求参数结构体
6302
6427
  class DescribeUserDataEngineConfigRequest < TencentCloud::Common::AbstractModel
6303
6428
  # @param Sorting: 排序方式,desc表示倒序,asc表示正序
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.702
4
+ version: 3.0.704
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-11-14 00:00:00.000000000 Z
11
+ date: 2023-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common