Class: TencentCloud::Tke::V20180525::ClusterAsGroupAttribute
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ClusterAsGroupAttribute
- Defined in:
- lib/v20180525/models.rb
Overview
集群伸缩组属性
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(autoscalinggroupid = nil, autoscalinggroupenabled = nil, autoscalinggrouprange = nil) ⇒ ClusterAsGroupAttribute
constructor
A new instance of ClusterAsGroupAttribute.
Constructor Details
#initialize(autoscalinggroupid = nil, autoscalinggroupenabled = nil, autoscalinggrouprange = nil) ⇒ ClusterAsGroupAttribute
Returns a new instance of ClusterAsGroupAttribute.
1136 1137 1138 1139 1140 |
# File 'lib/v20180525/models.rb', line 1136 def initialize(autoscalinggroupid=nil, autoscalinggroupenabled=nil, autoscalinggrouprange=nil) @AutoScalingGroupId = autoscalinggroupid @AutoScalingGroupEnabled = autoscalinggroupenabled @AutoScalingGroupRange = autoscalinggrouprange end |
Instance Attribute Details
#AutoScalingGroupEnabled ⇒ Object
1134 1135 1136 |
# File 'lib/v20180525/models.rb', line 1134 def AutoScalingGroupEnabled @AutoScalingGroupEnabled end |
#AutoScalingGroupId ⇒ Object
1134 1135 1136 |
# File 'lib/v20180525/models.rb', line 1134 def AutoScalingGroupId @AutoScalingGroupId end |
#AutoScalingGroupRange ⇒ Object
1134 1135 1136 |
# File 'lib/v20180525/models.rb', line 1134 def AutoScalingGroupRange @AutoScalingGroupRange end |
Instance Method Details
#deserialize(params) ⇒ Object
1142 1143 1144 1145 1146 1147 1148 1149 |
# File 'lib/v20180525/models.rb', line 1142 def deserialize(params) @AutoScalingGroupId = params['AutoScalingGroupId'] @AutoScalingGroupEnabled = params['AutoScalingGroupEnabled'] unless params['AutoScalingGroupRange'].nil? @AutoScalingGroupRange = AutoScalingGroupRange.new @AutoScalingGroupRange.deserialize(params['AutoScalingGroupRange']) end end |