Class: TencentCloud::Tke::V20180525::ModifyClusterNodePoolRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyClusterNodePoolRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyClusterNodePool请求参数结构体
Instance Attribute Summary collapse
- #Annotations ⇒ Object
- #ClusterId ⇒ Object
- #DeletionProtection ⇒ Object
- #DockerGraphPath ⇒ Object
- #EnableAutoscale ⇒ Object
- #ExtraArgs ⇒ Object
- #GPUArgs ⇒ Object
- #IgnoreExistedNode ⇒ Object
- #Labels ⇒ Object
- #MaxNodesNum ⇒ Object
- #MinNodesNum ⇒ Object
- #Name ⇒ Object
- #NodePoolId ⇒ Object
- #OsCustomizeType ⇒ Object
- #OsName ⇒ Object
- #PreStartUserScript ⇒ Object
- #Tags ⇒ Object
- #Taints ⇒ Object
- #Unschedulable ⇒ Object
- #UserScript ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, nodepoolid = nil, name = nil, maxnodesnum = nil, minnodesnum = nil, labels = nil, taints = nil, annotations = nil, enableautoscale = nil, osname = nil, oscustomizetype = nil, gpuargs = nil, userscript = nil, ignoreexistednode = nil, extraargs = nil, tags = nil, unschedulable = nil, deletionprotection = nil, dockergraphpath = nil, prestartuserscript = nil) ⇒ ModifyClusterNodePoolRequest
constructor
A new instance of ModifyClusterNodePoolRequest.
Constructor Details
#initialize(clusterid = nil, nodepoolid = nil, name = nil, maxnodesnum = nil, minnodesnum = nil, labels = nil, taints = nil, annotations = nil, enableautoscale = nil, osname = nil, oscustomizetype = nil, gpuargs = nil, userscript = nil, ignoreexistednode = nil, extraargs = nil, tags = nil, unschedulable = nil, deletionprotection = nil, dockergraphpath = nil, prestartuserscript = nil) ⇒ ModifyClusterNodePoolRequest
Returns a new instance of ModifyClusterNodePoolRequest.
14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 |
# File 'lib/v20180525/models.rb', line 14063 def initialize(clusterid=nil, nodepoolid=nil, name=nil, maxnodesnum=nil, minnodesnum=nil, labels=nil, taints=nil, annotations=nil, enableautoscale=nil, osname=nil, oscustomizetype=nil, gpuargs=nil, userscript=nil, ignoreexistednode=nil, extraargs=nil, =nil, unschedulable=nil, deletionprotection=nil, dockergraphpath=nil, prestartuserscript=nil) @ClusterId = clusterid @NodePoolId = nodepoolid @Name = name @MaxNodesNum = maxnodesnum @MinNodesNum = minnodesnum @Labels = labels @Taints = taints @Annotations = annotations @EnableAutoscale = enableautoscale @OsName = osname @OsCustomizeType = oscustomizetype @GPUArgs = gpuargs @UserScript = userscript @IgnoreExistedNode = ignoreexistednode @ExtraArgs = extraargs @Tags = @Unschedulable = unschedulable @DeletionProtection = deletionprotection @DockerGraphPath = dockergraphpath @PreStartUserScript = prestartuserscript end |
Instance Attribute Details
#Annotations ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def Annotations @Annotations end |
#ClusterId ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def ClusterId @ClusterId end |
#DeletionProtection ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def DeletionProtection @DeletionProtection end |
#DockerGraphPath ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def DockerGraphPath @DockerGraphPath end |
#EnableAutoscale ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def EnableAutoscale @EnableAutoscale end |
#ExtraArgs ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def ExtraArgs @ExtraArgs end |
#GPUArgs ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def GPUArgs @GPUArgs end |
#IgnoreExistedNode ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def IgnoreExistedNode @IgnoreExistedNode end |
#Labels ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def Labels @Labels end |
#MaxNodesNum ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def MaxNodesNum @MaxNodesNum end |
#MinNodesNum ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def MinNodesNum @MinNodesNum end |
#Name ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def Name @Name end |
#NodePoolId ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def NodePoolId @NodePoolId end |
#OsCustomizeType ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def OsCustomizeType @OsCustomizeType end |
#OsName ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def OsName @OsName end |
#PreStartUserScript ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def PreStartUserScript @PreStartUserScript end |
#Tags ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def Tags @Tags end |
#Taints ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def Taints @Taints end |
#Unschedulable ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def Unschedulable @Unschedulable end |
#UserScript ⇒ Object
14061 14062 14063 |
# File 'lib/v20180525/models.rb', line 14061 def UserScript @UserScript end |
Instance Method Details
#deserialize(params) ⇒ Object
14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 |
# File 'lib/v20180525/models.rb', line 14086 def deserialize(params) @ClusterId = params['ClusterId'] @NodePoolId = params['NodePoolId'] @Name = params['Name'] @MaxNodesNum = params['MaxNodesNum'] @MinNodesNum = params['MinNodesNum'] unless params['Labels'].nil? @Labels = [] params['Labels'].each do |i| label_tmp = Label.new label_tmp.deserialize(i) @Labels << label_tmp end end unless params['Taints'].nil? @Taints = [] params['Taints'].each do |i| taint_tmp = Taint.new taint_tmp.deserialize(i) @Taints << taint_tmp end end unless params['Annotations'].nil? @Annotations = [] params['Annotations'].each do |i| annotationvalue_tmp = AnnotationValue.new annotationvalue_tmp.deserialize(i) @Annotations << annotationvalue_tmp end end @EnableAutoscale = params['EnableAutoscale'] @OsName = params['OsName'] @OsCustomizeType = params['OsCustomizeType'] unless params['GPUArgs'].nil? @GPUArgs = GPUArgs.new @GPUArgs.deserialize(params['GPUArgs']) end @UserScript = params['UserScript'] @IgnoreExistedNode = params['IgnoreExistedNode'] unless params['ExtraArgs'].nil? @ExtraArgs = InstanceExtraArgs.new @ExtraArgs.deserialize(params['ExtraArgs']) end unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @Unschedulable = params['Unschedulable'] @DeletionProtection = params['DeletionProtection'] @DockerGraphPath = params['DockerGraphPath'] @PreStartUserScript = params['PreStartUserScript'] end |