Class: TencentCloud::Tke::V20220501::UpdateNativeNodePoolParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::UpdateNativeNodePoolParam
- Defined in:
- lib/v20220501/models.rb
Overview
修改原生节点池参数
Instance Attribute Summary collapse
-
#AutomationService ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#AutoRepair ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#DataDisks ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#DeletePolicy ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#EnableAutoscaling ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#GPUConfigs ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#HealthCheckPolicyName ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#HostNamePattern ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#InstanceChargePrepaid ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#InstanceChargeType ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#InstanceTypes ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#KeyIds ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#KubeletArgs ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#Lifecycle ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#Management ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#Password ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#Replicas ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#RuntimeRootDir ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#Scaling ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#SecurityGroupIds ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#SubnetIds ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#SystemDisk ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#UpdateExistedNode ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#UpgradeSettings ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(scaling = nil, subnetids = nil, securitygroupids = nil, upgradesettings = nil, autorepair = nil, instancechargetype = nil, instancechargeprepaid = nil, systemdisk = nil, management = nil, healthcheckpolicyname = nil, hostnamepattern = nil, kubeletargs = nil, lifecycle = nil, runtimerootdir = nil, enableautoscaling = nil, instancetypes = nil, replicas = nil, updateexistednode = nil, datadisks = nil, keyids = nil, deletepolicy = nil, gpuconfigs = nil, automationservice = nil, password = nil) ⇒ UpdateNativeNodePoolParam
constructor
A new instance of UpdateNativeNodePoolParam.
Constructor Details
#initialize(scaling = nil, subnetids = nil, securitygroupids = nil, upgradesettings = nil, autorepair = nil, instancechargetype = nil, instancechargeprepaid = nil, systemdisk = nil, management = nil, healthcheckpolicyname = nil, hostnamepattern = nil, kubeletargs = nil, lifecycle = nil, runtimerootdir = nil, enableautoscaling = nil, instancetypes = nil, replicas = nil, updateexistednode = nil, datadisks = nil, keyids = nil, deletepolicy = nil, gpuconfigs = nil, automationservice = nil, password = nil) ⇒ UpdateNativeNodePoolParam
Returns a new instance of UpdateNativeNodePoolParam.
3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 |
# File 'lib/v20220501/models.rb', line 3121 def initialize(scaling=nil, subnetids=nil, securitygroupids=nil, upgradesettings=nil, autorepair=nil, instancechargetype=nil, instancechargeprepaid=nil, systemdisk=nil, management=nil, healthcheckpolicyname=nil, hostnamepattern=nil, kubeletargs=nil, lifecycle=nil, runtimerootdir=nil, enableautoscaling=nil, instancetypes=nil, replicas=nil, updateexistednode=nil, datadisks=nil, keyids=nil, deletepolicy=nil, gpuconfigs=nil, automationservice=nil, password=nil) @Scaling = scaling @SubnetIds = subnetids @SecurityGroupIds = securitygroupids @UpgradeSettings = upgradesettings @AutoRepair = autorepair @InstanceChargeType = instancechargetype @InstanceChargePrepaid = instancechargeprepaid @SystemDisk = systemdisk @Management = management @HealthCheckPolicyName = healthcheckpolicyname @HostNamePattern = hostnamepattern @KubeletArgs = kubeletargs @Lifecycle = lifecycle @RuntimeRootDir = runtimerootdir @EnableAutoscaling = enableautoscaling @InstanceTypes = instancetypes @Replicas = replicas @UpdateExistedNode = updateexistednode @DataDisks = datadisks @KeyIds = keyids @DeletePolicy = deletepolicy @GPUConfigs = gpuconfigs @AutomationService = automationservice @Password = password end |
Instance Attribute Details
#AutomationService ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def AutomationService @AutomationService end |
#AutoRepair ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def AutoRepair @AutoRepair end |
#DataDisks ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def DataDisks @DataDisks end |
#DeletePolicy ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def DeletePolicy @DeletePolicy end |
#EnableAutoscaling ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def EnableAutoscaling @EnableAutoscaling end |
#GPUConfigs ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def GPUConfigs @GPUConfigs end |
#HealthCheckPolicyName ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def HealthCheckPolicyName @HealthCheckPolicyName end |
#HostNamePattern ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def HostNamePattern @HostNamePattern end |
#InstanceChargePrepaid ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def InstanceChargePrepaid @InstanceChargePrepaid end |
#InstanceChargeType ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def InstanceChargeType @InstanceChargeType end |
#InstanceTypes ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def InstanceTypes @InstanceTypes end |
#KeyIds ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def KeyIds @KeyIds end |
#KubeletArgs ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def KubeletArgs @KubeletArgs end |
#Lifecycle ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def Lifecycle @Lifecycle end |
#Management ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def Management @Management end |
#Password ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def Password @Password end |
#Replicas ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def Replicas @Replicas end |
#RuntimeRootDir ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def RuntimeRootDir @RuntimeRootDir end |
#Scaling ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def Scaling @Scaling end |
#SecurityGroupIds ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def SecurityGroupIds @SecurityGroupIds end |
#SubnetIds ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def SubnetIds @SubnetIds end |
#SystemDisk ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def SystemDisk @SystemDisk end |
#UpdateExistedNode ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def UpdateExistedNode @UpdateExistedNode end |
#UpgradeSettings ⇒ Object
当前仅支持按量计费转包年包月:
- PREPAID
3119 3120 3121 |
# File 'lib/v20220501/models.rb', line 3119 def UpgradeSettings @UpgradeSettings end |
Instance Method Details
#deserialize(params) ⇒ Object
3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 |
# File 'lib/v20220501/models.rb', line 3148 def deserialize(params) unless params['Scaling'].nil? @Scaling = MachineSetScaling.new @Scaling.deserialize(params['Scaling']) end @SubnetIds = params['SubnetIds'] @SecurityGroupIds = params['SecurityGroupIds'] unless params['UpgradeSettings'].nil? @UpgradeSettings = MachineUpgradeSettings.new @UpgradeSettings.deserialize(params['UpgradeSettings']) end @AutoRepair = params['AutoRepair'] @InstanceChargeType = params['InstanceChargeType'] unless params['InstanceChargePrepaid'].nil? @InstanceChargePrepaid = InstanceChargePrepaid.new @InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid']) end unless params['SystemDisk'].nil? @SystemDisk = Disk.new @SystemDisk.deserialize(params['SystemDisk']) 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'] @InstanceTypes = params['InstanceTypes'] @Replicas = params['Replicas'] @UpdateExistedNode = params['UpdateExistedNode'] 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'] @DeletePolicy = params['DeletePolicy'] unless params['GPUConfigs'].nil? @GPUConfigs = [] params['GPUConfigs'].each do |i| gpuconfig_tmp = GPUConfig.new gpuconfig_tmp.deserialize(i) @GPUConfigs << gpuconfig_tmp end end @AutomationService = params['AutomationService'] @Password = params['Password'] end |