Class: TencentCloud::Tke::V20180525::ScaleOutClusterMasterRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ScaleOutClusterMasterRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ScaleOutClusterMaster请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #ExistedInstancesForNode ⇒ Object
- #ExtraArgs ⇒ Object
- #InstanceAdvancedSettings ⇒ Object
- #RunInstancesForNode ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, runinstancesfornode = nil, existedinstancesfornode = nil, instanceadvancedsettings = nil, extraargs = nil) ⇒ ScaleOutClusterMasterRequest
constructor
A new instance of ScaleOutClusterMasterRequest.
Constructor Details
#initialize(clusterid = nil, runinstancesfornode = nil, existedinstancesfornode = nil, instanceadvancedsettings = nil, extraargs = nil) ⇒ ScaleOutClusterMasterRequest
Returns a new instance of ScaleOutClusterMasterRequest.
18063 18064 18065 18066 18067 18068 18069 |
# File 'lib/v20180525/models.rb', line 18063 def initialize(clusterid=nil, runinstancesfornode=nil, existedinstancesfornode=nil, instanceadvancedsettings=nil, extraargs=nil) @ClusterId = clusterid @RunInstancesForNode = runinstancesfornode @ExistedInstancesForNode = existedinstancesfornode @InstanceAdvancedSettings = instanceadvancedsettings @ExtraArgs = extraargs end |
Instance Attribute Details
#ClusterId ⇒ Object
18061 18062 18063 |
# File 'lib/v20180525/models.rb', line 18061 def ClusterId @ClusterId end |
#ExistedInstancesForNode ⇒ Object
18061 18062 18063 |
# File 'lib/v20180525/models.rb', line 18061 def ExistedInstancesForNode @ExistedInstancesForNode end |
#ExtraArgs ⇒ Object
18061 18062 18063 |
# File 'lib/v20180525/models.rb', line 18061 def ExtraArgs @ExtraArgs end |
#InstanceAdvancedSettings ⇒ Object
18061 18062 18063 |
# File 'lib/v20180525/models.rb', line 18061 def InstanceAdvancedSettings @InstanceAdvancedSettings end |
#RunInstancesForNode ⇒ Object
18061 18062 18063 |
# File 'lib/v20180525/models.rb', line 18061 def RunInstancesForNode @RunInstancesForNode end |
Instance Method Details
#deserialize(params) ⇒ Object
18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 |
# File 'lib/v20180525/models.rb', line 18071 def deserialize(params) @ClusterId = params['ClusterId'] unless params['RunInstancesForNode'].nil? @RunInstancesForNode = [] params['RunInstancesForNode'].each do |i| runinstancesfornode_tmp = RunInstancesForNode.new runinstancesfornode_tmp.deserialize(i) @RunInstancesForNode << runinstancesfornode_tmp end end unless params['ExistedInstancesForNode'].nil? @ExistedInstancesForNode = [] params['ExistedInstancesForNode'].each do |i| existedinstancesfornode_tmp = ExistedInstancesForNode.new existedinstancesfornode_tmp.deserialize(i) @ExistedInstancesForNode << existedinstancesfornode_tmp end end unless params['InstanceAdvancedSettings'].nil? @InstanceAdvancedSettings = InstanceAdvancedSettings.new @InstanceAdvancedSettings.deserialize(params['InstanceAdvancedSettings']) end unless params['ExtraArgs'].nil? @ExtraArgs = ClusterExtraArgs.new @ExtraArgs.deserialize(params['ExtraArgs']) end end |