Class: TencentCloud::Tke::V20180525::AddExistedInstancesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::AddExistedInstancesRequest
- Defined in:
- lib/v20180525/models.rb
Overview
AddExistedInstances请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #EnhancedService ⇒ Object
- #HostName ⇒ Object
- #ImageId ⇒ Object
- #InstanceAdvancedSettings ⇒ Object
- #InstanceAdvancedSettingsOverrides ⇒ Object
- #InstanceIds ⇒ Object
- #LoginSettings ⇒ Object
- #NodePool ⇒ Object
- #SecurityGroupIds ⇒ Object
- #SkipValidateOptions ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, instanceids = nil, instanceadvancedsettings = nil, enhancedservice = nil, loginsettings = nil, hostname = nil, securitygroupids = nil, nodepool = nil, skipvalidateoptions = nil, instanceadvancedsettingsoverrides = nil, imageid = nil) ⇒ AddExistedInstancesRequest
constructor
A new instance of AddExistedInstancesRequest.
Constructor Details
#initialize(clusterid = nil, instanceids = nil, instanceadvancedsettings = nil, enhancedservice = nil, loginsettings = nil, hostname = nil, securitygroupids = nil, nodepool = nil, skipvalidateoptions = nil, instanceadvancedsettingsoverrides = nil, imageid = nil) ⇒ AddExistedInstancesRequest
Returns a new instance of AddExistedInstancesRequest.
119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/v20180525/models.rb', line 119 def initialize(clusterid=nil, instanceids=nil, instanceadvancedsettings=nil, enhancedservice=nil, loginsettings=nil, hostname=nil, securitygroupids=nil, nodepool=nil, =nil, instanceadvancedsettingsoverrides=nil, imageid=nil) @ClusterId = clusterid @InstanceIds = instanceids @InstanceAdvancedSettings = instanceadvancedsettings @EnhancedService = enhancedservice @LoginSettings = loginsettings @HostName = hostname @SecurityGroupIds = securitygroupids @NodePool = nodepool @SkipValidateOptions = @InstanceAdvancedSettingsOverrides = instanceadvancedsettingsoverrides @ImageId = imageid end |
Instance Attribute Details
#ClusterId ⇒ Object
117 118 119 |
# File 'lib/v20180525/models.rb', line 117 def ClusterId @ClusterId end |
#EnhancedService ⇒ Object
117 118 119 |
# File 'lib/v20180525/models.rb', line 117 def EnhancedService @EnhancedService end |
#HostName ⇒ Object
117 118 119 |
# File 'lib/v20180525/models.rb', line 117 def HostName @HostName end |
#ImageId ⇒ Object
117 118 119 |
# File 'lib/v20180525/models.rb', line 117 def ImageId @ImageId end |
#InstanceAdvancedSettings ⇒ Object
117 118 119 |
# File 'lib/v20180525/models.rb', line 117 def InstanceAdvancedSettings @InstanceAdvancedSettings end |
#InstanceAdvancedSettingsOverrides ⇒ Object
117 118 119 |
# File 'lib/v20180525/models.rb', line 117 def InstanceAdvancedSettingsOverrides @InstanceAdvancedSettingsOverrides end |
#InstanceIds ⇒ Object
117 118 119 |
# File 'lib/v20180525/models.rb', line 117 def InstanceIds @InstanceIds end |
#LoginSettings ⇒ Object
117 118 119 |
# File 'lib/v20180525/models.rb', line 117 def LoginSettings @LoginSettings end |
#NodePool ⇒ Object
117 118 119 |
# File 'lib/v20180525/models.rb', line 117 def NodePool @NodePool end |
#SecurityGroupIds ⇒ Object
117 118 119 |
# File 'lib/v20180525/models.rb', line 117 def SecurityGroupIds @SecurityGroupIds end |
#SkipValidateOptions ⇒ Object
117 118 119 |
# File 'lib/v20180525/models.rb', line 117 def SkipValidateOptions @SkipValidateOptions end |
Instance Method Details
#deserialize(params) ⇒ Object
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
# File 'lib/v20180525/models.rb', line 133 def deserialize(params) @ClusterId = params['ClusterId'] @InstanceIds = params['InstanceIds'] unless params['InstanceAdvancedSettings'].nil? @InstanceAdvancedSettings = InstanceAdvancedSettings.new @InstanceAdvancedSettings.deserialize(params['InstanceAdvancedSettings']) end unless params['EnhancedService'].nil? @EnhancedService = EnhancedService.new @EnhancedService.deserialize(params['EnhancedService']) end unless params['LoginSettings'].nil? @LoginSettings = LoginSettings.new @LoginSettings.deserialize(params['LoginSettings']) end @HostName = params['HostName'] @SecurityGroupIds = params['SecurityGroupIds'] unless params['NodePool'].nil? @NodePool = NodePoolOption.new @NodePool.deserialize(params['NodePool']) end @SkipValidateOptions = params['SkipValidateOptions'] unless params['InstanceAdvancedSettingsOverrides'].nil? @InstanceAdvancedSettingsOverrides = [] params['InstanceAdvancedSettingsOverrides'].each do |i| instanceadvancedsettings_tmp = InstanceAdvancedSettings.new instanceadvancedsettings_tmp.deserialize(i) @InstanceAdvancedSettingsOverrides << instanceadvancedsettings_tmp end end @ImageId = params['ImageId'] end |