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.
13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 |
# File 'lib/v20180525/models.rb', line 13967 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
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def Annotations @Annotations end |
#ClusterId ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def ClusterId @ClusterId end |
#DeletionProtection ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def DeletionProtection @DeletionProtection end |
#DockerGraphPath ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def DockerGraphPath @DockerGraphPath end |
#EnableAutoscale ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def EnableAutoscale @EnableAutoscale end |
#ExtraArgs ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def ExtraArgs @ExtraArgs end |
#GPUArgs ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def GPUArgs @GPUArgs end |
#IgnoreExistedNode ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def IgnoreExistedNode @IgnoreExistedNode end |
#Labels ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def Labels @Labels end |
#MaxNodesNum ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def MaxNodesNum @MaxNodesNum end |
#MinNodesNum ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def MinNodesNum @MinNodesNum end |
#Name ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def Name @Name end |
#NodePoolId ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def NodePoolId @NodePoolId end |
#OsCustomizeType ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def OsCustomizeType @OsCustomizeType end |
#OsName ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def OsName @OsName end |
#PreStartUserScript ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def PreStartUserScript @PreStartUserScript end |
#Tags ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def Tags @Tags end |
#Taints ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def Taints @Taints end |
#Unschedulable ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def Unschedulable @Unschedulable end |
#UserScript ⇒ Object
13965 13966 13967 |
# File 'lib/v20180525/models.rb', line 13965 def UserScript @UserScript end |
Instance Method Details
#deserialize(params) ⇒ Object
13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 |
# File 'lib/v20180525/models.rb', line 13990 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 |