tencentcloud-sdk-emr 3.0.1074 → 3.0.1076
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190103/models.rb +138 -8
- 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: abba43efca7ef05f803e6b36de47b8f7a0100a57
|
4
|
+
data.tar.gz: d14a82af161f3206a70ec65cb5e79ddd40cf4db7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c99cbc96ba91718c7b7c6a8787d812baef62d6cc54af5f0b831bea50cfe340c1f88cc41b50d611e735fb00b6746a0d20f7182757a143b8a014ac4848384c4cf9
|
7
|
+
data.tar.gz: 0034fd2d8216068816c5135d835e089d2ac73f01757e66aa2063902e4c79ed73cde0bd27bc0c7c667985eabee99ecdb44f2b478fa87fb8567e16daaafa95e2fb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1076
|
data/lib/v20190103/models.rb
CHANGED
@@ -396,6 +396,25 @@ module TencentCloud
|
|
396
396
|
end
|
397
397
|
end
|
398
398
|
|
399
|
+
# 自动伸缩组高级设置
|
400
|
+
class AutoScaleGroupAdvanceAttrs < TencentCloud::Common::AbstractModel
|
401
|
+
# @param ComputeResourceAdvanceParams: 计算资源高级设置
|
402
|
+
# @type ComputeResourceAdvanceParams: :class:`Tencentcloud::Emr.v20190103.models.ComputeResourceAdvanceParams`
|
403
|
+
|
404
|
+
attr_accessor :ComputeResourceAdvanceParams
|
405
|
+
|
406
|
+
def initialize(computeresourceadvanceparams=nil)
|
407
|
+
@ComputeResourceAdvanceParams = computeresourceadvanceparams
|
408
|
+
end
|
409
|
+
|
410
|
+
def deserialize(params)
|
411
|
+
unless params['ComputeResourceAdvanceParams'].nil?
|
412
|
+
@ComputeResourceAdvanceParams = ComputeResourceAdvanceParams.new
|
413
|
+
@ComputeResourceAdvanceParams.deserialize(params['ComputeResourceAdvanceParams'])
|
414
|
+
end
|
415
|
+
end
|
416
|
+
end
|
417
|
+
|
399
418
|
# 弹性扩缩容记录
|
400
419
|
class AutoScaleRecord < TencentCloud::Common::AbstractModel
|
401
420
|
# @param StrategyName: 扩缩容规则名。
|
@@ -480,7 +499,7 @@ module TencentCloud
|
|
480
499
|
# @type ScaleUpperBound: Integer
|
481
500
|
# @param StrategyType: 扩容规则类型,1为按负载指标扩容规则,2为按时间扩容规则
|
482
501
|
# @type StrategyType: Integer
|
483
|
-
# @param NextTimeCanScale:
|
502
|
+
# @param NextTimeCanScale: 下次可扩容时间。
|
484
503
|
# @type NextTimeCanScale: Integer
|
485
504
|
# @param GraceDownFlag: 优雅缩容开关
|
486
505
|
# @type GraceDownFlag: Boolean
|
@@ -490,7 +509,7 @@ module TencentCloud
|
|
490
509
|
# @type PayMode: String
|
491
510
|
# @param PostPayPercentMin: 竞价实例优先的场景下,按量计费资源数量的最低百分比,整数
|
492
511
|
# @type PostPayPercentMin: Integer
|
493
|
-
# @param ChangeToPod: 预设资源类型为HOST时,支持勾选“资源不足时切换POD
|
512
|
+
# @param ChangeToPod: 预设资源类型为HOST时,支持勾选“资源不足时切换POD”;支持取消勾选;0表示默认不勾选(0),1表示勾选
|
494
513
|
# @type ChangeToPod: Integer
|
495
514
|
# @param GroupName: 伸缩组名
|
496
515
|
# @type GroupName: String
|
@@ -502,10 +521,12 @@ module TencentCloud
|
|
502
521
|
# @type Parallel: Integer
|
503
522
|
# @param EnableMNode: 是否支持MNode
|
504
523
|
# @type EnableMNode: Integer
|
524
|
+
# @param ExtraAdvanceAttrs: 伸缩组更多设置
|
525
|
+
# @type ExtraAdvanceAttrs: :class:`Tencentcloud::Emr.v20190103.models.AutoScaleGroupAdvanceAttrs`
|
505
526
|
|
506
|
-
attr_accessor :Id, :ClusterId, :ScaleLowerBound, :ScaleUpperBound, :StrategyType, :NextTimeCanScale, :GraceDownFlag, :HardwareType, :PayMode, :PostPayPercentMin, :ChangeToPod, :GroupName, :YarnNodeLabel, :GroupStatus, :Parallel, :EnableMNode
|
527
|
+
attr_accessor :Id, :ClusterId, :ScaleLowerBound, :ScaleUpperBound, :StrategyType, :NextTimeCanScale, :GraceDownFlag, :HardwareType, :PayMode, :PostPayPercentMin, :ChangeToPod, :GroupName, :YarnNodeLabel, :GroupStatus, :Parallel, :EnableMNode, :ExtraAdvanceAttrs
|
507
528
|
|
508
|
-
def initialize(id=nil, clusterid=nil, scalelowerbound=nil, scaleupperbound=nil, strategytype=nil, nexttimecanscale=nil, gracedownflag=nil, hardwaretype=nil, paymode=nil, postpaypercentmin=nil, changetopod=nil, groupname=nil, yarnnodelabel=nil, groupstatus=nil, parallel=nil, enablemnode=nil)
|
529
|
+
def initialize(id=nil, clusterid=nil, scalelowerbound=nil, scaleupperbound=nil, strategytype=nil, nexttimecanscale=nil, gracedownflag=nil, hardwaretype=nil, paymode=nil, postpaypercentmin=nil, changetopod=nil, groupname=nil, yarnnodelabel=nil, groupstatus=nil, parallel=nil, enablemnode=nil, extraadvanceattrs=nil)
|
509
530
|
@Id = id
|
510
531
|
@ClusterId = clusterid
|
511
532
|
@ScaleLowerBound = scalelowerbound
|
@@ -522,6 +543,7 @@ module TencentCloud
|
|
522
543
|
@GroupStatus = groupstatus
|
523
544
|
@Parallel = parallel
|
524
545
|
@EnableMNode = enablemnode
|
546
|
+
@ExtraAdvanceAttrs = extraadvanceattrs
|
525
547
|
end
|
526
548
|
|
527
549
|
def deserialize(params)
|
@@ -541,6 +563,10 @@ module TencentCloud
|
|
541
563
|
@GroupStatus = params['GroupStatus']
|
542
564
|
@Parallel = params['Parallel']
|
543
565
|
@EnableMNode = params['EnableMNode']
|
566
|
+
unless params['ExtraAdvanceAttrs'].nil?
|
567
|
+
@ExtraAdvanceAttrs = AutoScaleGroupAdvanceAttrs.new
|
568
|
+
@ExtraAdvanceAttrs.deserialize(params['ExtraAdvanceAttrs'])
|
569
|
+
end
|
544
570
|
end
|
545
571
|
end
|
546
572
|
|
@@ -1321,6 +1347,48 @@ module TencentCloud
|
|
1321
1347
|
end
|
1322
1348
|
end
|
1323
1349
|
|
1350
|
+
# 计算资源高级设置
|
1351
|
+
class ComputeResourceAdvanceParams < TencentCloud::Common::AbstractModel
|
1352
|
+
# @param Labels: 节点Label数组
|
1353
|
+
# @type Labels: Array
|
1354
|
+
# @param Taints: 节点污点
|
1355
|
+
# @type Taints: Array
|
1356
|
+
# @param PreStartUserScript: base64 编码的用户脚本,在初始化节点之前执行
|
1357
|
+
# @type PreStartUserScript: String
|
1358
|
+
# @param UserScript: base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看
|
1359
|
+
# @type UserScript: String
|
1360
|
+
|
1361
|
+
attr_accessor :Labels, :Taints, :PreStartUserScript, :UserScript
|
1362
|
+
|
1363
|
+
def initialize(labels=nil, taints=nil, prestartuserscript=nil, userscript=nil)
|
1364
|
+
@Labels = labels
|
1365
|
+
@Taints = taints
|
1366
|
+
@PreStartUserScript = prestartuserscript
|
1367
|
+
@UserScript = userscript
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
def deserialize(params)
|
1371
|
+
unless params['Labels'].nil?
|
1372
|
+
@Labels = []
|
1373
|
+
params['Labels'].each do |i|
|
1374
|
+
tkelabel_tmp = TkeLabel.new
|
1375
|
+
tkelabel_tmp.deserialize(i)
|
1376
|
+
@Labels << tkelabel_tmp
|
1377
|
+
end
|
1378
|
+
end
|
1379
|
+
unless params['Taints'].nil?
|
1380
|
+
@Taints = []
|
1381
|
+
params['Taints'].each do |i|
|
1382
|
+
taint_tmp = Taint.new
|
1383
|
+
taint_tmp.deserialize(i)
|
1384
|
+
@Taints << taint_tmp
|
1385
|
+
end
|
1386
|
+
end
|
1387
|
+
@PreStartUserScript = params['PreStartUserScript']
|
1388
|
+
@UserScript = params['UserScript']
|
1389
|
+
end
|
1390
|
+
end
|
1391
|
+
|
1324
1392
|
# 资源调度 - 队列修改信息
|
1325
1393
|
class ConfigModifyInfoV2 < TencentCloud::Common::AbstractModel
|
1326
1394
|
# @param OpType: 操作类型,可选值:
|
@@ -11479,10 +11547,12 @@ module TencentCloud
|
|
11479
11547
|
# @type ResourceBaseType: String
|
11480
11548
|
# @param ComputeResourceId: 计算资源id
|
11481
11549
|
# @type ComputeResourceId: String
|
11550
|
+
# @param ComputeResourceAdvanceParams: 计算资源高级设置
|
11551
|
+
# @type ComputeResourceAdvanceParams: :class:`Tencentcloud::Emr.v20190103.models.ComputeResourceAdvanceParams`
|
11482
11552
|
|
11483
|
-
attr_accessor :TimeUnit, :TimeSpan, :InstanceId, :PayMode, :ClientToken, :PreExecutedFileSettings, :TaskCount, :CoreCount, :UnNecessaryNodeList, :RouterCount, :SoftDeployInfo, :ServiceNodeInfo, :DisasterRecoverGroupIds, :Tags, :HardwareResourceType, :PodSpec, :ClickHouseClusterName, :ClickHouseClusterType, :YarnNodeLabel, :PodParameter, :MasterCount, :StartServiceAfterScaleOut, :ZoneId, :SubnetId, :ScaleOutServiceConfAssign, :AutoRenew, :ResourceBaseType, :ComputeResourceId
|
11553
|
+
attr_accessor :TimeUnit, :TimeSpan, :InstanceId, :PayMode, :ClientToken, :PreExecutedFileSettings, :TaskCount, :CoreCount, :UnNecessaryNodeList, :RouterCount, :SoftDeployInfo, :ServiceNodeInfo, :DisasterRecoverGroupIds, :Tags, :HardwareResourceType, :PodSpec, :ClickHouseClusterName, :ClickHouseClusterType, :YarnNodeLabel, :PodParameter, :MasterCount, :StartServiceAfterScaleOut, :ZoneId, :SubnetId, :ScaleOutServiceConfAssign, :AutoRenew, :ResourceBaseType, :ComputeResourceId, :ComputeResourceAdvanceParams
|
11484
11554
|
|
11485
|
-
def initialize(timeunit=nil, timespan=nil, instanceid=nil, paymode=nil, clienttoken=nil, preexecutedfilesettings=nil, taskcount=nil, corecount=nil, unnecessarynodelist=nil, routercount=nil, softdeployinfo=nil, servicenodeinfo=nil, disasterrecovergroupids=nil, tags=nil, hardwareresourcetype=nil, podspec=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, podparameter=nil, mastercount=nil, startserviceafterscaleout=nil, zoneid=nil, subnetid=nil, scaleoutserviceconfassign=nil, autorenew=nil, resourcebasetype=nil, computeresourceid=nil)
|
11555
|
+
def initialize(timeunit=nil, timespan=nil, instanceid=nil, paymode=nil, clienttoken=nil, preexecutedfilesettings=nil, taskcount=nil, corecount=nil, unnecessarynodelist=nil, routercount=nil, softdeployinfo=nil, servicenodeinfo=nil, disasterrecovergroupids=nil, tags=nil, hardwareresourcetype=nil, podspec=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, podparameter=nil, mastercount=nil, startserviceafterscaleout=nil, zoneid=nil, subnetid=nil, scaleoutserviceconfassign=nil, autorenew=nil, resourcebasetype=nil, computeresourceid=nil, computeresourceadvanceparams=nil)
|
11486
11556
|
@TimeUnit = timeunit
|
11487
11557
|
@TimeSpan = timespan
|
11488
11558
|
@InstanceId = instanceid
|
@@ -11511,6 +11581,7 @@ module TencentCloud
|
|
11511
11581
|
@AutoRenew = autorenew
|
11512
11582
|
@ResourceBaseType = resourcebasetype
|
11513
11583
|
@ComputeResourceId = computeresourceid
|
11584
|
+
@ComputeResourceAdvanceParams = computeresourceadvanceparams
|
11514
11585
|
end
|
11515
11586
|
|
11516
11587
|
def deserialize(params)
|
@@ -11562,6 +11633,10 @@ module TencentCloud
|
|
11562
11633
|
@AutoRenew = params['AutoRenew']
|
11563
11634
|
@ResourceBaseType = params['ResourceBaseType']
|
11564
11635
|
@ComputeResourceId = params['ComputeResourceId']
|
11636
|
+
unless params['ComputeResourceAdvanceParams'].nil?
|
11637
|
+
@ComputeResourceAdvanceParams = ComputeResourceAdvanceParams.new
|
11638
|
+
@ComputeResourceAdvanceParams.deserialize(params['ComputeResourceAdvanceParams'])
|
11639
|
+
end
|
11565
11640
|
end
|
11566
11641
|
end
|
11567
11642
|
|
@@ -12629,6 +12704,30 @@ module TencentCloud
|
|
12629
12704
|
end
|
12630
12705
|
end
|
12631
12706
|
|
12707
|
+
# Kubernetes Taint
|
12708
|
+
class Taint < TencentCloud::Common::AbstractModel
|
12709
|
+
# @param Key: Taint Key
|
12710
|
+
# @type Key: String
|
12711
|
+
# @param Value: Taint Value
|
12712
|
+
# @type Value: String
|
12713
|
+
# @param Effect: Taint Effect
|
12714
|
+
# @type Effect: String
|
12715
|
+
|
12716
|
+
attr_accessor :Key, :Value, :Effect
|
12717
|
+
|
12718
|
+
def initialize(key=nil, value=nil, effect=nil)
|
12719
|
+
@Key = key
|
12720
|
+
@Value = value
|
12721
|
+
@Effect = effect
|
12722
|
+
end
|
12723
|
+
|
12724
|
+
def deserialize(params)
|
12725
|
+
@Key = params['Key']
|
12726
|
+
@Value = params['Value']
|
12727
|
+
@Effect = params['Effect']
|
12728
|
+
end
|
12729
|
+
end
|
12730
|
+
|
12632
12731
|
# 巡检任务参数
|
12633
12732
|
class TaskSettings < TencentCloud::Common::AbstractModel
|
12634
12733
|
# @param Name: 参数名称
|
@@ -12877,10 +12976,12 @@ module TencentCloud
|
|
12877
12976
|
# @type CompensateFlag: Integer
|
12878
12977
|
# @param GroupId: 伸缩组id
|
12879
12978
|
# @type GroupId: Integer
|
12979
|
+
# @param GraceDownLabel: 优雅缩容业务pod标签,当node不存在上述pod或超过优雅缩容时间时,缩容节点
|
12980
|
+
# @type GraceDownLabel: Array
|
12880
12981
|
|
12881
|
-
attr_accessor :StrategyName, :IntervalTime, :ScaleAction, :ScaleNum, :StrategyStatus, :Priority, :RetryValidTime, :RepeatStrategy, :StrategyId, :GraceDownFlag, :GraceDownTime, :Tags, :ConfigGroupAssigned, :MeasureMethod, :TerminatePolicy, :MaxUse, :SoftDeployInfo, :ServiceNodeInfo, :CompensateFlag, :GroupId
|
12982
|
+
attr_accessor :StrategyName, :IntervalTime, :ScaleAction, :ScaleNum, :StrategyStatus, :Priority, :RetryValidTime, :RepeatStrategy, :StrategyId, :GraceDownFlag, :GraceDownTime, :Tags, :ConfigGroupAssigned, :MeasureMethod, :TerminatePolicy, :MaxUse, :SoftDeployInfo, :ServiceNodeInfo, :CompensateFlag, :GroupId, :GraceDownLabel
|
12882
12983
|
|
12883
|
-
def initialize(strategyname=nil, intervaltime=nil, scaleaction=nil, scalenum=nil, strategystatus=nil, priority=nil, retryvalidtime=nil, repeatstrategy=nil, strategyid=nil, gracedownflag=nil, gracedowntime=nil, tags=nil, configgroupassigned=nil, measuremethod=nil, terminatepolicy=nil, maxuse=nil, softdeployinfo=nil, servicenodeinfo=nil, compensateflag=nil, groupid=nil)
|
12984
|
+
def initialize(strategyname=nil, intervaltime=nil, scaleaction=nil, scalenum=nil, strategystatus=nil, priority=nil, retryvalidtime=nil, repeatstrategy=nil, strategyid=nil, gracedownflag=nil, gracedowntime=nil, tags=nil, configgroupassigned=nil, measuremethod=nil, terminatepolicy=nil, maxuse=nil, softdeployinfo=nil, servicenodeinfo=nil, compensateflag=nil, groupid=nil, gracedownlabel=nil)
|
12884
12985
|
@StrategyName = strategyname
|
12885
12986
|
@IntervalTime = intervaltime
|
12886
12987
|
@ScaleAction = scaleaction
|
@@ -12901,6 +13002,7 @@ module TencentCloud
|
|
12901
13002
|
@ServiceNodeInfo = servicenodeinfo
|
12902
13003
|
@CompensateFlag = compensateflag
|
12903
13004
|
@GroupId = groupid
|
13005
|
+
@GraceDownLabel = gracedownlabel
|
12904
13006
|
end
|
12905
13007
|
|
12906
13008
|
def deserialize(params)
|
@@ -12934,6 +13036,34 @@ module TencentCloud
|
|
12934
13036
|
@ServiceNodeInfo = params['ServiceNodeInfo']
|
12935
13037
|
@CompensateFlag = params['CompensateFlag']
|
12936
13038
|
@GroupId = params['GroupId']
|
13039
|
+
unless params['GraceDownLabel'].nil?
|
13040
|
+
@GraceDownLabel = []
|
13041
|
+
params['GraceDownLabel'].each do |i|
|
13042
|
+
tkelabel_tmp = TkeLabel.new
|
13043
|
+
tkelabel_tmp.deserialize(i)
|
13044
|
+
@GraceDownLabel << tkelabel_tmp
|
13045
|
+
end
|
13046
|
+
end
|
13047
|
+
end
|
13048
|
+
end
|
13049
|
+
|
13050
|
+
# Kubernetes Label
|
13051
|
+
class TkeLabel < TencentCloud::Common::AbstractModel
|
13052
|
+
# @param Name: Label Name
|
13053
|
+
# @type Name: String
|
13054
|
+
# @param Value: Label Value
|
13055
|
+
# @type Value: String
|
13056
|
+
|
13057
|
+
attr_accessor :Name, :Value
|
13058
|
+
|
13059
|
+
def initialize(name=nil, value=nil)
|
13060
|
+
@Name = name
|
13061
|
+
@Value = value
|
13062
|
+
end
|
13063
|
+
|
13064
|
+
def deserialize(params)
|
13065
|
+
@Name = params['Name']
|
13066
|
+
@Value = params['Value']
|
12937
13067
|
end
|
12938
13068
|
end
|
12939
13069
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-emr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1076
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|