Class: TencentCloud::Tem::V20210701::CronHorizontalAutoscalerSchedule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::CronHorizontalAutoscalerSchedule
- Defined in:
- lib/v20210701/models.rb
Overview
定时伸缩策略明细
Instance Attribute Summary collapse
-
#StartAt ⇒ Object
例如 00:00(零点零分触发) 注意:此字段可能返回 null,表示取不到有效值。.
-
#TargetReplicas ⇒ Object
例如 00:00(零点零分触发) 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(startat = nil, targetreplicas = nil) ⇒ CronHorizontalAutoscalerSchedule
constructor
A new instance of CronHorizontalAutoscalerSchedule.
Constructor Details
#initialize(startat = nil, targetreplicas = nil) ⇒ CronHorizontalAutoscalerSchedule
Returns a new instance of CronHorizontalAutoscalerSchedule.
795 796 797 798 |
# File 'lib/v20210701/models.rb', line 795 def initialize(startat=nil, targetreplicas=nil) @StartAt = startat @TargetReplicas = targetreplicas end |
Instance Attribute Details
#StartAt ⇒ Object
例如00:00(零点零分触发)注意:此字段可能返回 null,表示取不到有效值。
793 794 795 |
# File 'lib/v20210701/models.rb', line 793 def StartAt @StartAt end |
#TargetReplicas ⇒ Object
例如00:00(零点零分触发)注意:此字段可能返回 null,表示取不到有效值。
793 794 795 |
# File 'lib/v20210701/models.rb', line 793 def TargetReplicas @TargetReplicas end |
Instance Method Details
#deserialize(params) ⇒ Object
800 801 802 803 |
# File 'lib/v20210701/models.rb', line 800 def deserialize(params) @StartAt = params['StartAt'] @TargetReplicas = params['TargetReplicas'] end |