Class: TencentCloud::Tke::V20220501::CreateNativeNodePoolParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::CreateNativeNodePoolParam
- Defined in:
- lib/v20220501/models.rb
Overview
原生节点池创建参数
Instance Attribute Summary collapse
- #AutoRepair ⇒ Object
- #DataDisks ⇒ Object
- #EnableAutoscaling ⇒ Object
- #HealthCheckPolicyName ⇒ Object
- #HostNamePattern ⇒ Object
- #InstanceChargePrepaid ⇒ Object
- #InstanceChargeType ⇒ Object
- #InstanceTypes ⇒ Object
- #InternetAccessible ⇒ Object
- #KeyIds ⇒ Object
- #KubeletArgs ⇒ Object
- #Lifecycle ⇒ Object
- #MachineType ⇒ Object
- #Management ⇒ Object
- #Replicas ⇒ Object
- #RuntimeRootDir ⇒ Object
- #Scaling ⇒ Object
- #SecurityGroupIds ⇒ Object
- #SubnetIds ⇒ Object
- #SystemDisk ⇒ Object
- #UpgradeSettings ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(scaling = nil, subnetids = nil, instancechargetype = nil, systemdisk = nil, instancetypes = nil, securitygroupids = nil, upgradesettings = nil, autorepair = nil, instancechargeprepaid = nil, management = nil, healthcheckpolicyname = nil, hostnamepattern = nil, kubeletargs = nil, lifecycle = nil, runtimerootdir = nil, enableautoscaling = nil, replicas = nil, internetaccessible = nil, datadisks = nil, keyids = nil, machinetype = nil) ⇒ CreateNativeNodePoolParam
constructor
A new instance of CreateNativeNodePoolParam.
Constructor Details
#initialize(scaling = nil, subnetids = nil, instancechargetype = nil, systemdisk = nil, instancetypes = nil, securitygroupids = nil, upgradesettings = nil, autorepair = nil, instancechargeprepaid = nil, management = nil, healthcheckpolicyname = nil, hostnamepattern = nil, kubeletargs = nil, lifecycle = nil, runtimerootdir = nil, enableautoscaling = nil, replicas = nil, internetaccessible = nil, datadisks = nil, keyids = nil, machinetype = nil) ⇒ CreateNativeNodePoolParam
Returns a new instance of CreateNativeNodePoolParam.
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
# File 'lib/v20220501/models.rb', line 185 def initialize(scaling=nil, subnetids=nil, instancechargetype=nil, systemdisk=nil, instancetypes=nil, securitygroupids=nil, upgradesettings=nil, autorepair=nil, instancechargeprepaid=nil, management=nil, healthcheckpolicyname=nil, hostnamepattern=nil, kubeletargs=nil, lifecycle=nil, runtimerootdir=nil, enableautoscaling=nil, replicas=nil, internetaccessible=nil, datadisks=nil, keyids=nil, machinetype=nil) @Scaling = scaling @SubnetIds = subnetids @InstanceChargeType = instancechargetype @SystemDisk = systemdisk @InstanceTypes = instancetypes @SecurityGroupIds = securitygroupids @UpgradeSettings = upgradesettings @AutoRepair = autorepair @InstanceChargePrepaid = instancechargeprepaid @Management = management @HealthCheckPolicyName = healthcheckpolicyname @HostNamePattern = hostnamepattern @KubeletArgs = kubeletargs @Lifecycle = lifecycle @RuntimeRootDir = runtimerootdir @EnableAutoscaling = enableautoscaling @Replicas = replicas @InternetAccessible = internetaccessible @DataDisks = datadisks @KeyIds = keyids @MachineType = machinetype end |
Instance Attribute Details
#AutoRepair ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def AutoRepair @AutoRepair end |
#DataDisks ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def DataDisks @DataDisks end |
#EnableAutoscaling ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def EnableAutoscaling @EnableAutoscaling end |
#HealthCheckPolicyName ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def HealthCheckPolicyName @HealthCheckPolicyName end |
#HostNamePattern ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def HostNamePattern @HostNamePattern end |
#InstanceChargePrepaid ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def InstanceChargePrepaid @InstanceChargePrepaid end |
#InstanceChargeType ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def InstanceChargeType @InstanceChargeType end |
#InstanceTypes ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def InstanceTypes @InstanceTypes end |
#InternetAccessible ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def InternetAccessible @InternetAccessible end |
#KeyIds ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def KeyIds @KeyIds end |
#KubeletArgs ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def KubeletArgs @KubeletArgs end |
#Lifecycle ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def Lifecycle @Lifecycle end |
#MachineType ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def MachineType @MachineType end |
#Management ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def Management @Management end |
#Replicas ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def Replicas @Replicas end |
#RuntimeRootDir ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def RuntimeRootDir @RuntimeRootDir end |
#Scaling ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def Scaling @Scaling end |
#SecurityGroupIds ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def SecurityGroupIds @SecurityGroupIds end |
#SubnetIds ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def SubnetIds @SubnetIds end |
#SystemDisk ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def SystemDisk @SystemDisk end |
#UpgradeSettings ⇒ Object
183 184 185 |
# File 'lib/v20220501/models.rb', line 183 def UpgradeSettings @UpgradeSettings end |
Instance Method Details
#deserialize(params) ⇒ Object
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'lib/v20220501/models.rb', line 209 def deserialize(params) unless params['Scaling'].nil? @Scaling = MachineSetScaling.new @Scaling.deserialize(params['Scaling']) end @SubnetIds = params['SubnetIds'] @InstanceChargeType = params['InstanceChargeType'] unless params['SystemDisk'].nil? @SystemDisk = Disk.new @SystemDisk.deserialize(params['SystemDisk']) end @InstanceTypes = params['InstanceTypes'] @SecurityGroupIds = params['SecurityGroupIds'] unless params['UpgradeSettings'].nil? @UpgradeSettings = MachineUpgradeSettings.new @UpgradeSettings.deserialize(params['UpgradeSettings']) end @AutoRepair = params['AutoRepair'] unless params['InstanceChargePrepaid'].nil? @InstanceChargePrepaid = InstanceChargePrepaid.new @InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid']) end unless params['Management'].nil? @Management = ManagementConfig.new @Management.deserialize(params['Management']) end @HealthCheckPolicyName = params['HealthCheckPolicyName'] @HostNamePattern = params['HostNamePattern'] @KubeletArgs = params['KubeletArgs'] unless params['Lifecycle'].nil? @Lifecycle = LifecycleConfig.new @Lifecycle.deserialize(params['Lifecycle']) end @RuntimeRootDir = params['RuntimeRootDir'] @EnableAutoscaling = params['EnableAutoscaling'] @Replicas = params['Replicas'] unless params['InternetAccessible'].nil? @InternetAccessible = InternetAccessible.new @InternetAccessible.deserialize(params['InternetAccessible']) end unless params['DataDisks'].nil? @DataDisks = [] params['DataDisks'].each do |i| datadisk_tmp = DataDisk.new datadisk_tmp.deserialize(i) @DataDisks << datadisk_tmp end end @KeyIds = params['KeyIds'] @MachineType = params['MachineType'] end |