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
-
#AutoRepair ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#DataDisks ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#EnableAutoscaling ⇒ 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.
-
#Replicas ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#RuntimeRootDir ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#Scaling ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#SecurityGroupIds ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#SubnetIds ⇒ Object
当前仅支持按量计费转包年包月: - PREPAID.
-
#SystemDisk ⇒ 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, datadisks = nil, keyids = 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, datadisks = nil, keyids = nil) ⇒ UpdateNativeNodePoolParam
Returns a new instance of UpdateNativeNodePoolParam.
2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 |
# File 'lib/v20220501/models.rb', line 2503 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, datadisks=nil, keyids=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 @DataDisks = datadisks @KeyIds = keyids end |
Instance Attribute Details
#AutoRepair ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def AutoRepair @AutoRepair end |
#DataDisks ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def DataDisks @DataDisks end |
#EnableAutoscaling ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def EnableAutoscaling @EnableAutoscaling end |
#HealthCheckPolicyName ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def HealthCheckPolicyName @HealthCheckPolicyName end |
#HostNamePattern ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def HostNamePattern @HostNamePattern end |
#InstanceChargePrepaid ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def InstanceChargePrepaid @InstanceChargePrepaid end |
#InstanceChargeType ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def InstanceChargeType @InstanceChargeType end |
#InstanceTypes ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def InstanceTypes @InstanceTypes end |
#KeyIds ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def KeyIds @KeyIds end |
#KubeletArgs ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def KubeletArgs @KubeletArgs end |
#Lifecycle ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def Lifecycle @Lifecycle end |
#Management ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def Management @Management end |
#Replicas ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def Replicas @Replicas end |
#RuntimeRootDir ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def RuntimeRootDir @RuntimeRootDir end |
#Scaling ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def Scaling @Scaling end |
#SecurityGroupIds ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def SecurityGroupIds @SecurityGroupIds end |
#SubnetIds ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def SubnetIds @SubnetIds end |
#SystemDisk ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def SystemDisk @SystemDisk end |
#UpgradeSettings ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2501 2502 2503 |
# File 'lib/v20220501/models.rb', line 2501 def UpgradeSettings @UpgradeSettings end |
Instance Method Details
#deserialize(params) ⇒ Object
2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 |
# File 'lib/v20220501/models.rb', line 2525 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'] 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'] end |