tencentcloud-sdk-emr 3.0.1074 → 3.0.1077
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 +142 -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: 01080c360a8e7082e6259190db47e8ceab8f750d
|
4
|
+
data.tar.gz: 07fe26605382d6b22f779cb6dd4d70734ca70509
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2e30c4894daa92c4bde2ff0004337a5ee137f0bee4852e786c89eaf67544f0183e86ae326467e1d8d7c7a5e89e7443729fa8845e6de53596f00fe46358d3b2e
|
7
|
+
data.tar.gz: d4446aceba913bcc5d8b25e20954ea9fa543f3960b22f3c0e3c593ecbfee711c507916d1c2a75a88657ed6511cdef361f62b6d6fc402715f7db7d11d2d99bc90
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1077
|
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: 操作类型,可选值:
|
@@ -5443,6 +5511,10 @@ module TencentCloud
|
|
5443
5511
|
# <li>CLOUD_HSSD:表示增强型SSD云硬盘。</li>
|
5444
5512
|
# <li>CLOUD_THROUGHPUT:表示吞吐型云硬盘。</li>
|
5445
5513
|
# <li>CLOUD_TSSD:表示极速型SSD云硬盘。</li>
|
5514
|
+
# <li>CLOUD_BIGDATA:表示大数据型云硬盘。</li>
|
5515
|
+
# <li>CLOUD_HIGHIO:表示高IO型云硬盘。</li>
|
5516
|
+
# <li>CLOUD_BSSD:表示通用型SSD云硬盘。</li>
|
5517
|
+
# <li>REMOTE_SSD:表示远端SSD盘。</li>
|
5446
5518
|
# @type DiskType: String
|
5447
5519
|
# @param DiskSize: 数据容量,单位为GB
|
5448
5520
|
# @type DiskSize: Integer
|
@@ -11479,10 +11551,12 @@ module TencentCloud
|
|
11479
11551
|
# @type ResourceBaseType: String
|
11480
11552
|
# @param ComputeResourceId: 计算资源id
|
11481
11553
|
# @type ComputeResourceId: String
|
11554
|
+
# @param ComputeResourceAdvanceParams: 计算资源高级设置
|
11555
|
+
# @type ComputeResourceAdvanceParams: :class:`Tencentcloud::Emr.v20190103.models.ComputeResourceAdvanceParams`
|
11482
11556
|
|
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
|
11557
|
+
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
11558
|
|
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)
|
11559
|
+
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
11560
|
@TimeUnit = timeunit
|
11487
11561
|
@TimeSpan = timespan
|
11488
11562
|
@InstanceId = instanceid
|
@@ -11511,6 +11585,7 @@ module TencentCloud
|
|
11511
11585
|
@AutoRenew = autorenew
|
11512
11586
|
@ResourceBaseType = resourcebasetype
|
11513
11587
|
@ComputeResourceId = computeresourceid
|
11588
|
+
@ComputeResourceAdvanceParams = computeresourceadvanceparams
|
11514
11589
|
end
|
11515
11590
|
|
11516
11591
|
def deserialize(params)
|
@@ -11562,6 +11637,10 @@ module TencentCloud
|
|
11562
11637
|
@AutoRenew = params['AutoRenew']
|
11563
11638
|
@ResourceBaseType = params['ResourceBaseType']
|
11564
11639
|
@ComputeResourceId = params['ComputeResourceId']
|
11640
|
+
unless params['ComputeResourceAdvanceParams'].nil?
|
11641
|
+
@ComputeResourceAdvanceParams = ComputeResourceAdvanceParams.new
|
11642
|
+
@ComputeResourceAdvanceParams.deserialize(params['ComputeResourceAdvanceParams'])
|
11643
|
+
end
|
11565
11644
|
end
|
11566
11645
|
end
|
11567
11646
|
|
@@ -12629,6 +12708,30 @@ module TencentCloud
|
|
12629
12708
|
end
|
12630
12709
|
end
|
12631
12710
|
|
12711
|
+
# Kubernetes Taint
|
12712
|
+
class Taint < TencentCloud::Common::AbstractModel
|
12713
|
+
# @param Key: Taint Key
|
12714
|
+
# @type Key: String
|
12715
|
+
# @param Value: Taint Value
|
12716
|
+
# @type Value: String
|
12717
|
+
# @param Effect: Taint Effect
|
12718
|
+
# @type Effect: String
|
12719
|
+
|
12720
|
+
attr_accessor :Key, :Value, :Effect
|
12721
|
+
|
12722
|
+
def initialize(key=nil, value=nil, effect=nil)
|
12723
|
+
@Key = key
|
12724
|
+
@Value = value
|
12725
|
+
@Effect = effect
|
12726
|
+
end
|
12727
|
+
|
12728
|
+
def deserialize(params)
|
12729
|
+
@Key = params['Key']
|
12730
|
+
@Value = params['Value']
|
12731
|
+
@Effect = params['Effect']
|
12732
|
+
end
|
12733
|
+
end
|
12734
|
+
|
12632
12735
|
# 巡检任务参数
|
12633
12736
|
class TaskSettings < TencentCloud::Common::AbstractModel
|
12634
12737
|
# @param Name: 参数名称
|
@@ -12877,10 +12980,12 @@ module TencentCloud
|
|
12877
12980
|
# @type CompensateFlag: Integer
|
12878
12981
|
# @param GroupId: 伸缩组id
|
12879
12982
|
# @type GroupId: Integer
|
12983
|
+
# @param GraceDownLabel: 优雅缩容业务pod标签,当node不存在上述pod或超过优雅缩容时间时,缩容节点
|
12984
|
+
# @type GraceDownLabel: Array
|
12880
12985
|
|
12881
|
-
attr_accessor :StrategyName, :IntervalTime, :ScaleAction, :ScaleNum, :StrategyStatus, :Priority, :RetryValidTime, :RepeatStrategy, :StrategyId, :GraceDownFlag, :GraceDownTime, :Tags, :ConfigGroupAssigned, :MeasureMethod, :TerminatePolicy, :MaxUse, :SoftDeployInfo, :ServiceNodeInfo, :CompensateFlag, :GroupId
|
12986
|
+
attr_accessor :StrategyName, :IntervalTime, :ScaleAction, :ScaleNum, :StrategyStatus, :Priority, :RetryValidTime, :RepeatStrategy, :StrategyId, :GraceDownFlag, :GraceDownTime, :Tags, :ConfigGroupAssigned, :MeasureMethod, :TerminatePolicy, :MaxUse, :SoftDeployInfo, :ServiceNodeInfo, :CompensateFlag, :GroupId, :GraceDownLabel
|
12882
12987
|
|
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)
|
12988
|
+
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
12989
|
@StrategyName = strategyname
|
12885
12990
|
@IntervalTime = intervaltime
|
12886
12991
|
@ScaleAction = scaleaction
|
@@ -12901,6 +13006,7 @@ module TencentCloud
|
|
12901
13006
|
@ServiceNodeInfo = servicenodeinfo
|
12902
13007
|
@CompensateFlag = compensateflag
|
12903
13008
|
@GroupId = groupid
|
13009
|
+
@GraceDownLabel = gracedownlabel
|
12904
13010
|
end
|
12905
13011
|
|
12906
13012
|
def deserialize(params)
|
@@ -12934,6 +13040,34 @@ module TencentCloud
|
|
12934
13040
|
@ServiceNodeInfo = params['ServiceNodeInfo']
|
12935
13041
|
@CompensateFlag = params['CompensateFlag']
|
12936
13042
|
@GroupId = params['GroupId']
|
13043
|
+
unless params['GraceDownLabel'].nil?
|
13044
|
+
@GraceDownLabel = []
|
13045
|
+
params['GraceDownLabel'].each do |i|
|
13046
|
+
tkelabel_tmp = TkeLabel.new
|
13047
|
+
tkelabel_tmp.deserialize(i)
|
13048
|
+
@GraceDownLabel << tkelabel_tmp
|
13049
|
+
end
|
13050
|
+
end
|
13051
|
+
end
|
13052
|
+
end
|
13053
|
+
|
13054
|
+
# Kubernetes Label
|
13055
|
+
class TkeLabel < TencentCloud::Common::AbstractModel
|
13056
|
+
# @param Name: Label Name
|
13057
|
+
# @type Name: String
|
13058
|
+
# @param Value: Label Value
|
13059
|
+
# @type Value: String
|
13060
|
+
|
13061
|
+
attr_accessor :Name, :Value
|
13062
|
+
|
13063
|
+
def initialize(name=nil, value=nil)
|
13064
|
+
@Name = name
|
13065
|
+
@Value = value
|
13066
|
+
end
|
13067
|
+
|
13068
|
+
def deserialize(params)
|
13069
|
+
@Name = params['Name']
|
13070
|
+
@Value = params['Value']
|
12937
13071
|
end
|
12938
13072
|
end
|
12939
13073
|
|
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.1077
|
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-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|