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.
1037 1038 1039 1040 1041 |
# File 'lib/v20180525/models.rb', line 1037 def initialize(autoscalinggroupid=nil, autoscalinggroupenabled=nil, autoscalinggrouprange=nil) @AutoScalingGroupId = autoscalinggroupid @AutoScalingGroupEnabled = autoscalinggroupenabled @AutoScalingGroupRange = autoscalinggrouprange end |
Instance Attribute Details
#AutoScalingGroupEnabled ⇒ Object
1035 1036 1037 |
# File 'lib/v20180525/models.rb', line 1035 def AutoScalingGroupEnabled @AutoScalingGroupEnabled end |
#AutoScalingGroupId ⇒ Object
1035 1036 1037 |
# File 'lib/v20180525/models.rb', line 1035 def AutoScalingGroupId @AutoScalingGroupId end |
#AutoScalingGroupRange ⇒ Object
1035 1036 1037 |
# File 'lib/v20180525/models.rb', line 1035 def AutoScalingGroupRange @AutoScalingGroupRange end |
Instance Method Details
#deserialize(params) ⇒ Object
1043 1044 1045 1046 1047 1048 1049 1050 |
# File 'lib/v20180525/models.rb', line 1043 def deserialize(params) @AutoScalingGroupId = params['AutoScalingGroupId'] @AutoScalingGroupEnabled = params['AutoScalingGroupEnabled'] unless params['AutoScalingGroupRange'].nil? @AutoScalingGroupRange = AutoScalingGroupRange.new @AutoScalingGroupRange.deserialize(params['AutoScalingGroupRange']) end end |