Class: TencentCloud::Tke::V20180525::ScaleInMaster
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ScaleInMaster
- Defined in:
- lib/v20180525/models.rb
Overview
master节点缩容参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, noderole = nil, instancedeletemode = nil) ⇒ ScaleInMaster
constructor
A new instance of ScaleInMaster.
Constructor Details
#initialize(instanceid = nil, noderole = nil, instancedeletemode = nil) ⇒ ScaleInMaster
Returns a new instance of ScaleInMaster.
18035 18036 18037 18038 18039 |
# File 'lib/v20180525/models.rb', line 18035 def initialize(instanceid=nil, noderole=nil, instancedeletemode=nil) @InstanceId = instanceid @NodeRole = noderole @InstanceDeleteMode = instancedeletemode end |
Instance Attribute Details
#InstanceDeleteMode ⇒ Object
18033 18034 18035 |
# File 'lib/v20180525/models.rb', line 18033 def InstanceDeleteMode @InstanceDeleteMode end |
#InstanceId ⇒ Object
18033 18034 18035 |
# File 'lib/v20180525/models.rb', line 18033 def InstanceId @InstanceId end |
#NodeRole ⇒ Object
18033 18034 18035 |
# File 'lib/v20180525/models.rb', line 18033 def NodeRole @NodeRole end |
Instance Method Details
#deserialize(params) ⇒ Object
18041 18042 18043 18044 18045 |
# File 'lib/v20180525/models.rb', line 18041 def deserialize(params) @InstanceId = params['InstanceId'] @NodeRole = params['NodeRole'] @InstanceDeleteMode = params['InstanceDeleteMode'] end |