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.
20016 20017 20018 20019 20020 20021 |
# File 'lib/v20180525/models.rb', line 20016 def initialize(clusterid=nil, nodepoolid=nil, instanceids=nil, protectedfromscalein=nil) @ClusterId = clusterid @NodePoolId = nodepoolid @InstanceIds = instanceids @ProtectedFromScaleIn = protectedfromscalein end |
Instance Attribute Details
#ClusterId ⇒ Object
20014 20015 20016 |
# File 'lib/v20180525/models.rb', line 20014 def ClusterId @ClusterId end |
#InstanceIds ⇒ Object
20014 20015 20016 |
# File 'lib/v20180525/models.rb', line 20014 def InstanceIds @InstanceIds end |
#NodePoolId ⇒ Object
20014 20015 20016 |
# File 'lib/v20180525/models.rb', line 20014 def NodePoolId @NodePoolId end |
#ProtectedFromScaleIn ⇒ Object
20014 20015 20016 |
# File 'lib/v20180525/models.rb', line 20014 def ProtectedFromScaleIn @ProtectedFromScaleIn end |
Instance Method Details
#deserialize(params) ⇒ Object
20023 20024 20025 20026 20027 20028 |
# File 'lib/v20180525/models.rb', line 20023 def deserialize(params) @ClusterId = params['ClusterId'] @NodePoolId = params['NodePoolId'] @InstanceIds = params['InstanceIds'] @ProtectedFromScaleIn = params['ProtectedFromScaleIn'] end |