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.
-
#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.
-
#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, gpuconfigs = 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, gpuconfigs = nil) ⇒ UpdateNativeNodePoolParam
Returns a new instance of UpdateNativeNodePoolParam.
2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 |
# File 'lib/v20220501/models.rb', line 2872 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, gpuconfigs=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 @GPUConfigs = gpuconfigs end |
Instance Attribute Details
#AutoRepair ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def AutoRepair @AutoRepair end |
#DataDisks ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def DataDisks @DataDisks end |
#EnableAutoscaling ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def EnableAutoscaling @EnableAutoscaling end |
#GPUConfigs ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def GPUConfigs @GPUConfigs end |
#HealthCheckPolicyName ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def HealthCheckPolicyName @HealthCheckPolicyName end |
#HostNamePattern ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def HostNamePattern @HostNamePattern end |
#InstanceChargePrepaid ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def InstanceChargePrepaid @InstanceChargePrepaid end |
#InstanceChargeType ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def InstanceChargeType @InstanceChargeType end |
#InstanceTypes ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def InstanceTypes @InstanceTypes end |
#KeyIds ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def KeyIds @KeyIds end |
#KubeletArgs ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def KubeletArgs @KubeletArgs end |
#Lifecycle ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def Lifecycle @Lifecycle end |
#Management ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def Management @Management end |
#Replicas ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def Replicas @Replicas end |
#RuntimeRootDir ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def RuntimeRootDir @RuntimeRootDir end |
#Scaling ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def Scaling @Scaling end |
#SecurityGroupIds ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def SecurityGroupIds @SecurityGroupIds end |
#SubnetIds ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def SubnetIds @SubnetIds end |
#SystemDisk ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def SystemDisk @SystemDisk end |
#UpdateExistedNode ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def UpdateExistedNode @UpdateExistedNode end |
#UpgradeSettings ⇒ Object
当前仅支持按量计费转包年包月:
-
PREPAID
2870 2871 2872 |
# File 'lib/v20220501/models.rb', line 2870 def UpgradeSettings @UpgradeSettings end |
Instance Method Details
#deserialize(params) ⇒ Object
2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 |
# File 'lib/v20220501/models.rb', line 2896 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'] unless params['GPUConfigs'].nil? @GPUConfigs = [] params['GPUConfigs'].each do |i| gpuconfig_tmp = GPUConfig.new gpuconfig_tmp.deserialize(i) @GPUConfigs << gpuconfig_tmp end end end |