Class: TencentCloud::As::V20180419::SetInstancesProtectionRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::SetInstancesProtectionRequest
- Defined in:
- lib/v20180419/models.rb
Overview
SetInstancesProtection请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(autoscalinggroupid = nil, instanceids = nil, protectedfromscalein = nil) ⇒ SetInstancesProtectionRequest
constructor
A new instance of SetInstancesProtectionRequest.
Constructor Details
#initialize(autoscalinggroupid = nil, instanceids = nil, protectedfromscalein = nil) ⇒ SetInstancesProtectionRequest
Returns a new instance of SetInstancesProtectionRequest.
5481 5482 5483 5484 5485 |
# File 'lib/v20180419/models.rb', line 5481 def initialize(autoscalinggroupid=nil, instanceids=nil, protectedfromscalein=nil) @AutoScalingGroupId = autoscalinggroupid @InstanceIds = instanceids @ProtectedFromScaleIn = protectedfromscalein end |
Instance Attribute Details
#AutoScalingGroupId ⇒ Object
5479 5480 5481 |
# File 'lib/v20180419/models.rb', line 5479 def AutoScalingGroupId @AutoScalingGroupId end |
#InstanceIds ⇒ Object
5479 5480 5481 |
# File 'lib/v20180419/models.rb', line 5479 def InstanceIds @InstanceIds end |
#ProtectedFromScaleIn ⇒ Object
5479 5480 5481 |
# File 'lib/v20180419/models.rb', line 5479 def ProtectedFromScaleIn @ProtectedFromScaleIn end |
Instance Method Details
#deserialize(params) ⇒ Object
5487 5488 5489 5490 5491 |
# File 'lib/v20180419/models.rb', line 5487 def deserialize(params) @AutoScalingGroupId = params['AutoScalingGroupId'] @InstanceIds = params['InstanceIds'] @ProtectedFromScaleIn = params['ProtectedFromScaleIn'] end |