Class: TencentCloud::Tke::V20180525::SetNodePoolNodeProtectionRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::SetNodePoolNodeProtectionRequest
- Defined in:
- lib/v20180525/models.rb
Overview
SetNodePoolNodeProtection请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, nodepoolid = nil, instanceids = nil, protectedfromscalein = nil) ⇒ SetNodePoolNodeProtectionRequest
constructor
A new instance of SetNodePoolNodeProtectionRequest.
Constructor Details
#initialize(clusterid = nil, nodepoolid = nil, instanceids = nil, protectedfromscalein = nil) ⇒ SetNodePoolNodeProtectionRequest
Returns a new instance of SetNodePoolNodeProtectionRequest.
18181 18182 18183 18184 18185 18186 |
# File 'lib/v20180525/models.rb', line 18181 def initialize(clusterid=nil, nodepoolid=nil, instanceids=nil, protectedfromscalein=nil) @ClusterId = clusterid @NodePoolId = nodepoolid @InstanceIds = instanceids @ProtectedFromScaleIn = protectedfromscalein end |
Instance Attribute Details
#ClusterId ⇒ Object
18179 18180 18181 |
# File 'lib/v20180525/models.rb', line 18179 def ClusterId @ClusterId end |
#InstanceIds ⇒ Object
18179 18180 18181 |
# File 'lib/v20180525/models.rb', line 18179 def InstanceIds @InstanceIds end |
#NodePoolId ⇒ Object
18179 18180 18181 |
# File 'lib/v20180525/models.rb', line 18179 def NodePoolId @NodePoolId end |
#ProtectedFromScaleIn ⇒ Object
18179 18180 18181 |
# File 'lib/v20180525/models.rb', line 18179 def ProtectedFromScaleIn @ProtectedFromScaleIn end |
Instance Method Details
#deserialize(params) ⇒ Object
18188 18189 18190 18191 18192 18193 |
# File 'lib/v20180525/models.rb', line 18188 def deserialize(params) @ClusterId = params['ClusterId'] @NodePoolId = params['NodePoolId'] @InstanceIds = params['InstanceIds'] @ProtectedFromScaleIn = params['ProtectedFromScaleIn'] end |