Class: TencentCloud::Emr::V20190103::AutoScaleRecord

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190103/models.rb

Overview

弹性扩缩容记录

Instance Attribute Summary collapse

Instance Method Summary collapse

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, retryinfo=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 = retryinfo
  @RetryEnReason = retryenreason
  @RetryReason = retryreason
end

Instance Attribute Details

#ActionStatusObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def ActionStatus
  @ActionStatus
end

#ActionTimeObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def ActionTime
  @ActionTime
end

#CompensateCountObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def CompensateCount
  @CompensateCount
end

#CompensateFlagObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def CompensateFlag
  @CompensateFlag
end

#EndTimeObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def EndTime
  @EndTime
end

#ExpectScaleNumObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def ExpectScaleNum
  @ExpectScaleNum
end

#RetryCountObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def RetryCount
  @RetryCount
end

#RetryEnReasonObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def RetryEnReason
  @RetryEnReason
end

#RetryInfoObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def RetryInfo
  @RetryInfo
end

#RetryReasonObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def RetryReason
  @RetryReason
end

#ScaleActionObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def ScaleAction
  @ScaleAction
end

#ScaleInfoObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def ScaleInfo
  @ScaleInfo
end

#SpecInfoObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def SpecInfo
  @SpecInfo
end

#StrategyNameObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



460
461
462
# File 'lib/v20190103/models.rb', line 460

def StrategyName
  @StrategyName
end

#StrategyTypeObject

Parameters:

  • StrategyName:

    扩缩容规则名。

  • ScaleAction:和,分别表示扩容和缩容。 ("SCALE_OUT""SCALE_IN")

    caleAction: "SCALE_OUT"和"SCALE_IN",分别表示扩容和缩容。

  • ActionStatus:

    取值为"SUCCESS","FAILED","PART_SUCCESS","IN_PROCESS",分别表示成功、失败、部分成功和流程中。

  • ActionTime:

    流程触发时间。

  • ScaleInfo:

    扩缩容相关描述信息。

  • ExpectScaleNum:

    只在ScaleAction为SCALE_OUT时有效。

  • EndTime:

    流程结束时间。

  • StrategyType:

    策略类型,按负载或者按时间,1表示负载伸缩,2表示时间伸缩

  • SpecInfo:

    扩容时所使用规格信息。

  • CompensateFlag:

    补偿扩容,0表示不开启,1表示开启

  • CompensateCount:

    补偿次数

  • RetryCount:

    重试次数

  • RetryInfo:

    重试信息

  • RetryEnReason:

    重试英文描述

  • RetryReason:

    重试描述



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