public class ModifyClusterNodePoolRequest extends AbstractModel
Constructor and Description |
---|
ModifyClusterNodePoolRequest() |
ModifyClusterNodePoolRequest(ModifyClusterNodePoolRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getClusterId()
Get 集群ID
|
Boolean |
getEnableAutoscale()
Get 是否开启伸缩
|
InstanceExtraArgs |
getExtraArgs()
Get 节点自定义参数
|
Label[] |
getLabels()
Get 标签
|
Long |
getMaxNodesNum()
Get 最大节点数
|
Long |
getMinNodesNum()
Get 最小节点数
|
String |
getName()
Get 名称
|
String |
getNodePoolId()
Get 节点池ID
|
String |
getOsCustomizeType()
Get 镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
|
String |
getOsName()
Get 操作系统名称
|
Tag[] |
getTags()
Get 资源标签
|
Taint[] |
getTaints()
Get 污点
|
Long |
getUnschedulable()
Get 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.
|
void |
setClusterId(String ClusterId)
Set 集群ID
|
void |
setEnableAutoscale(Boolean EnableAutoscale)
Set 是否开启伸缩
|
void |
setExtraArgs(InstanceExtraArgs ExtraArgs)
Set 节点自定义参数
|
void |
setLabels(Label[] Labels)
Set 标签
|
void |
setMaxNodesNum(Long MaxNodesNum)
Set 最大节点数
|
void |
setMinNodesNum(Long MinNodesNum)
Set 最小节点数
|
void |
setName(String Name)
Set 名称
|
void |
setNodePoolId(String NodePoolId)
Set 节点池ID
|
void |
setOsCustomizeType(String OsCustomizeType)
Set 镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
|
void |
setOsName(String OsName)
Set 操作系统名称
|
void |
setTags(Tag[] Tags)
Set 资源标签
|
void |
setTaints(Taint[] Taints)
Set 污点
|
void |
setUnschedulable(Long Unschedulable)
Set 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyClusterNodePoolRequest()
public ModifyClusterNodePoolRequest(ModifyClusterNodePoolRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- 集群IDpublic String getNodePoolId()
public void setNodePoolId(String NodePoolId)
NodePoolId
- 节点池IDpublic String getName()
public void setName(String Name)
Name
- 名称public Long getMaxNodesNum()
public void setMaxNodesNum(Long MaxNodesNum)
MaxNodesNum
- 最大节点数public Long getMinNodesNum()
public void setMinNodesNum(Long MinNodesNum)
MinNodesNum
- 最小节点数public Label[] getLabels()
public void setLabels(Label[] Labels)
Labels
- 标签public Taint[] getTaints()
public void setTaints(Taint[] Taints)
Taints
- 污点public Boolean getEnableAutoscale()
public void setEnableAutoscale(Boolean EnableAutoscale)
EnableAutoscale
- 是否开启伸缩public String getOsName()
public void setOsName(String OsName)
OsName
- 操作系统名称public String getOsCustomizeType()
public void setOsCustomizeType(String OsCustomizeType)
OsCustomizeType
- 镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)public InstanceExtraArgs getExtraArgs()
public void setExtraArgs(InstanceExtraArgs ExtraArgs)
ExtraArgs
- 节点自定义参数public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- 资源标签public Long getUnschedulable()
public void setUnschedulable(Long Unschedulable)
Unschedulable
- 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.Copyright © 2022. All rights reserved.