Class: TencentCloud::Emr::V20190103::AutoScaleRecord
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::AutoScaleRecord
- Defined in:
- lib/v20190103/models.rb
Overview
弹性扩缩容记录
Instance Attribute Summary collapse
- #ActionStatus ⇒ Object
- #ActionTime ⇒ Object
- #CompensateCount ⇒ Object
- #CompensateFlag ⇒ Object
- #EndTime ⇒ Object
- #ExpectScaleNum ⇒ Object
- #RetryCount ⇒ Object
- #RetryEnReason ⇒ Object
- #RetryInfo ⇒ Object
- #RetryReason ⇒ Object
- #ScaleAction ⇒ Object
- #ScaleInfo ⇒ Object
- #SpecInfo ⇒ Object
- #StrategyName ⇒ Object
- #StrategyType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(strategyname = nil, scaleaction = nil, actionstatus = nil, actiontime = nil, scaleinfo = nil, expectscalenum = nil, endtime = nil, strategytype = nil, specinfo = nil, compensateflag = nil, compensatecount = nil, retrycount = nil, retryinfo = nil, retryenreason = nil, retryreason = nil) ⇒ AutoScaleRecord
constructor
A new instance of AutoScaleRecord.
Constructor Details
#initialize(strategyname = nil, scaleaction = nil, actionstatus = nil, actiontime = nil, scaleinfo = nil, expectscalenum = nil, endtime = nil, strategytype = nil, specinfo = nil, compensateflag = nil, compensatecount = nil, retrycount = nil, retryinfo = nil, retryenreason = nil, retryreason = nil) ⇒ AutoScaleRecord
Returns a new instance of AutoScaleRecord.
462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 |
# File 'lib/v20190103/models.rb', line 462 def initialize(strategyname=nil, scaleaction=nil, actionstatus=nil, actiontime=nil, scaleinfo=nil, expectscalenum=nil, endtime=nil, strategytype=nil, specinfo=nil, compensateflag=nil, compensatecount=nil, retrycount=nil, =nil, retryenreason=nil, retryreason=nil) @StrategyName = strategyname @ScaleAction = scaleaction @ActionStatus = actionstatus @ActionTime = actiontime @ScaleInfo = scaleinfo @ExpectScaleNum = expectscalenum @EndTime = endtime @StrategyType = strategytype @SpecInfo = specinfo @CompensateFlag = compensateflag @CompensateCount = compensatecount @RetryCount = retrycount @RetryInfo = @RetryEnReason = retryenreason @RetryReason = retryreason end |
Instance Attribute Details
#ActionStatus ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def ActionStatus @ActionStatus end |
#ActionTime ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def ActionTime @ActionTime end |
#CompensateCount ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def CompensateCount @CompensateCount end |
#CompensateFlag ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def CompensateFlag @CompensateFlag end |
#EndTime ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def EndTime @EndTime end |
#ExpectScaleNum ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def ExpectScaleNum @ExpectScaleNum end |
#RetryCount ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def RetryCount @RetryCount end |
#RetryEnReason ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def RetryEnReason @RetryEnReason end |
#RetryInfo ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def RetryInfo @RetryInfo end |
#RetryReason ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def RetryReason @RetryReason end |
#ScaleAction ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def ScaleAction @ScaleAction end |
#ScaleInfo ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def ScaleInfo @ScaleInfo end |
#SpecInfo ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def SpecInfo @SpecInfo end |
#StrategyName ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def StrategyName @StrategyName end |
#StrategyType ⇒ Object
460 461 462 |
# File 'lib/v20190103/models.rb', line 460 def StrategyType @StrategyType end |
Instance Method Details
#deserialize(params) ⇒ Object
480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 |
# File 'lib/v20190103/models.rb', line 480 def deserialize(params) @StrategyName = params['StrategyName'] @ScaleAction = params['ScaleAction'] @ActionStatus = params['ActionStatus'] @ActionTime = params['ActionTime'] @ScaleInfo = params['ScaleInfo'] @ExpectScaleNum = params['ExpectScaleNum'] @EndTime = params['EndTime'] @StrategyType = params['StrategyType'] @SpecInfo = params['SpecInfo'] @CompensateFlag = params['CompensateFlag'] @CompensateCount = params['CompensateCount'] @RetryCount = params['RetryCount'] @RetryInfo = params['RetryInfo'] @RetryEnReason = params['RetryEnReason'] @RetryReason = params['RetryReason'] end |