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.
19766 19767 19768 19769 19770 19771 |
# File 'lib/v20180525/models.rb', line 19766 def initialize(clusterid=nil, nodepoolid=nil, instanceids=nil, protectedfromscalein=nil) @ClusterId = clusterid @NodePoolId = nodepoolid @InstanceIds = instanceids @ProtectedFromScaleIn = protectedfromscalein end |
Instance Attribute Details
#ClusterId ⇒ Object
19764 19765 19766 |
# File 'lib/v20180525/models.rb', line 19764 def ClusterId @ClusterId end |
#InstanceIds ⇒ Object
19764 19765 19766 |
# File 'lib/v20180525/models.rb', line 19764 def InstanceIds @InstanceIds end |
#NodePoolId ⇒ Object
19764 19765 19766 |
# File 'lib/v20180525/models.rb', line 19764 def NodePoolId @NodePoolId end |
#ProtectedFromScaleIn ⇒ Object
19764 19765 19766 |
# File 'lib/v20180525/models.rb', line 19764 def ProtectedFromScaleIn @ProtectedFromScaleIn end |
Instance Method Details
#deserialize(params) ⇒ Object
19773 19774 19775 19776 19777 19778 |
# File 'lib/v20180525/models.rb', line 19773 def deserialize(params) @ClusterId = params['ClusterId'] @NodePoolId = params['NodePoolId'] @InstanceIds = params['InstanceIds'] @ProtectedFromScaleIn = params['ProtectedFromScaleIn'] end |