Class: TencentCloud::Emr::V20190103::AutoScaleResourceConf
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::AutoScaleResourceConf
- Defined in:
- lib/v20190103/models.rb
Overview
弹性扩缩容规格配置
Instance Attribute Summary collapse
-
#ChangeToPod ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EnableMNode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ExtraAdvanceAttrs ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#GraceDownFlag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#GroupName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#GroupStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#HardwareType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Id ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#NextTimeCanScale ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Parallel ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PayMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PostPayPercentMin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ScaleLowerBound ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ScaleUpperBound ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#StrategyType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#WarehouseName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#YarnNodeLabel ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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, warehousename = nil, groupstatus = nil, parallel = nil, enablemnode = nil, extraadvanceattrs = nil) ⇒ AutoScaleResourceConf
constructor
A new instance of AutoScaleResourceConf.
Constructor Details
#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, warehousename = nil, groupstatus = nil, parallel = nil, enablemnode = nil, extraadvanceattrs = nil) ⇒ AutoScaleResourceConf
Returns a new instance of AutoScaleResourceConf.
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'lib/v20190103/models.rb', line 541 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, warehousename=nil, groupstatus=nil, parallel=nil, enablemnode=nil, extraadvanceattrs=nil) @Id = id @ClusterId = clusterid @ScaleLowerBound = scalelowerbound @ScaleUpperBound = scaleupperbound @StrategyType = strategytype @NextTimeCanScale = nexttimecanscale @GraceDownFlag = gracedownflag @HardwareType = hardwaretype @PayMode = paymode @PostPayPercentMin = postpaypercentmin @ChangeToPod = changetopod @GroupName = groupname @YarnNodeLabel = yarnnodelabel @WarehouseName = warehousename @GroupStatus = groupstatus @Parallel = parallel @EnableMNode = enablemnode @ExtraAdvanceAttrs = extraadvanceattrs end |
Instance Attribute Details
#ChangeToPod ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def ChangeToPod @ChangeToPod end |
#ClusterId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def ClusterId @ClusterId end |
#EnableMNode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def EnableMNode @EnableMNode end |
#ExtraAdvanceAttrs ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def ExtraAdvanceAttrs @ExtraAdvanceAttrs end |
#GraceDownFlag ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def GraceDownFlag @GraceDownFlag end |
#GroupName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def GroupName @GroupName end |
#GroupStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def GroupStatus @GroupStatus end |
#HardwareType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def HardwareType @HardwareType end |
#Id ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def Id @Id end |
#NextTimeCanScale ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def NextTimeCanScale @NextTimeCanScale end |
#Parallel ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def Parallel @Parallel end |
#PayMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def PayMode @PayMode end |
#PostPayPercentMin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def PostPayPercentMin @PostPayPercentMin end |
#ScaleLowerBound ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def ScaleLowerBound @ScaleLowerBound end |
#ScaleUpperBound ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def ScaleUpperBound @ScaleUpperBound end |
#StrategyType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def StrategyType @StrategyType end |
#WarehouseName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def WarehouseName @WarehouseName end |
#YarnNodeLabel ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
539 540 541 |
# File 'lib/v20190103/models.rb', line 539 def YarnNodeLabel @YarnNodeLabel end |
Instance Method Details
#deserialize(params) ⇒ Object
562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 |
# File 'lib/v20190103/models.rb', line 562 def deserialize(params) @Id = params['Id'] @ClusterId = params['ClusterId'] @ScaleLowerBound = params['ScaleLowerBound'] @ScaleUpperBound = params['ScaleUpperBound'] @StrategyType = params['StrategyType'] @NextTimeCanScale = params['NextTimeCanScale'] @GraceDownFlag = params['GraceDownFlag'] @HardwareType = params['HardwareType'] @PayMode = params['PayMode'] @PostPayPercentMin = params['PostPayPercentMin'] @ChangeToPod = params['ChangeToPod'] @GroupName = params['GroupName'] @YarnNodeLabel = params['YarnNodeLabel'] @WarehouseName = params['WarehouseName'] @GroupStatus = params['GroupStatus'] @Parallel = params['Parallel'] @EnableMNode = params['EnableMNode'] unless params['ExtraAdvanceAttrs'].nil? @ExtraAdvanceAttrs = AutoScaleGroupAdvanceAttrs.new @ExtraAdvanceAttrs.deserialize(params['ExtraAdvanceAttrs']) end end |