public class ModifyClusterNodePoolRequest extends AbstractModel
header, skipSign| 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 |
|---|---|
AnnotationValue[] |
getAnnotations()
Get Node Annotation List
|
String |
getClusterId()
Get Cluster ID
|
Boolean |
getDeletionProtection()
Get Whether Deletion Protection is enabled
|
String |
getDockerGraphPath()
Get Specified value of dockerd --graph.
|
Boolean |
getEnableAutoscale()
Get Indicates whether auto scaling is enabled.
|
InstanceExtraArgs |
getExtraArgs()
Get Node custom parameter
|
GPUArgs |
getGPUArgs()
Get GPU driver version, CUDA version, cuDNN version and wether to enable MIG
|
Boolean |
getIgnoreExistedNode()
Get Ignore existing nodes when update `Label` and `Taint`
|
Label[] |
getLabels()
Get Labels
|
Long |
getMaxNodesNum()
Get Maximum number of nodes
|
Long |
getMinNodesNum()
Get Minimum number of nodes
|
String |
getName()
Get Name
|
String |
getNodePoolId()
Get Node pool ID
|
String |
getOsCustomizeType()
Get Image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value)
|
String |
getOsName()
Get Operating system name
|
String |
getPreStartUserScript()
Get Base64-encoded custom script
|
Tag[] |
getTags()
Get Resource tag
|
Taint[] |
getTaints()
Get Taints
|
Long |
getUnschedulable()
Get Sets whether the added node is schedulable.
|
String |
getUserScript()
Get Base64-encoded custom script
|
void |
setAnnotations(AnnotationValue[] Annotations)
Set Node Annotation List
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setDeletionProtection(Boolean DeletionProtection)
Set Whether Deletion Protection is enabled
|
void |
setDockerGraphPath(String DockerGraphPath)
Set Specified value of dockerd --graph.
|
void |
setEnableAutoscale(Boolean EnableAutoscale)
Set Indicates whether auto scaling is enabled.
|
void |
setExtraArgs(InstanceExtraArgs ExtraArgs)
Set Node custom parameter
|
void |
setGPUArgs(GPUArgs GPUArgs)
Set GPU driver version, CUDA version, cuDNN version and wether to enable MIG
|
void |
setIgnoreExistedNode(Boolean IgnoreExistedNode)
Set Ignore existing nodes when update `Label` and `Taint`
|
void |
setLabels(Label[] Labels)
Set Labels
|
void |
setMaxNodesNum(Long MaxNodesNum)
Set Maximum number of nodes
|
void |
setMinNodesNum(Long MinNodesNum)
Set Minimum number of nodes
|
void |
setName(String Name)
Set Name
|
void |
setNodePoolId(String NodePoolId)
Set Node pool ID
|
void |
setOsCustomizeType(String OsCustomizeType)
Set Image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value)
|
void |
setOsName(String OsName)
Set Operating system name
|
void |
setPreStartUserScript(String PreStartUserScript)
Set Base64-encoded custom script
|
void |
setTags(Tag[] Tags)
Set Resource tag
|
void |
setTaints(Taint[] Taints)
Set Taints
|
void |
setUnschedulable(Long Unschedulable)
Set Sets whether the added node is schedulable.
|
void |
setUserScript(String UserScript)
Set Base64-encoded custom script
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ModifyClusterNodePoolRequest()
public ModifyClusterNodePoolRequest(ModifyClusterNodePoolRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - Cluster IDpublic String getNodePoolId()
public void setNodePoolId(String NodePoolId)
NodePoolId - Node pool IDpublic String getName()
public void setName(String Name)
Name - Namepublic Long getMaxNodesNum()
public void setMaxNodesNum(Long MaxNodesNum)
MaxNodesNum - Maximum number of nodespublic Long getMinNodesNum()
public void setMinNodesNum(Long MinNodesNum)
MinNodesNum - Minimum number of nodespublic Label[] getLabels()
public void setLabels(Label[] Labels)
Labels - Labelspublic Taint[] getTaints()
public void setTaints(Taint[] Taints)
Taints - Taintspublic AnnotationValue[] getAnnotations()
public void setAnnotations(AnnotationValue[] Annotations)
Annotations - Node Annotation Listpublic Boolean getEnableAutoscale()
public void setEnableAutoscale(Boolean EnableAutoscale)
EnableAutoscale - Indicates whether auto scaling is enabled.public String getOsName()
public void setOsName(String OsName)
OsName - Operating system namepublic String getOsCustomizeType()
public void setOsCustomizeType(String OsCustomizeType)
OsCustomizeType - Image tag, `DOCKER_CUSTOMIZE` (container customized tag), `GENERAL` (general tag, default value)public GPUArgs getGPUArgs()
public void setGPUArgs(GPUArgs GPUArgs)
GPUArgs - GPU driver version, CUDA version, cuDNN version and wether to enable MIGpublic String getUserScript()
public void setUserScript(String UserScript)
UserScript - Base64-encoded custom scriptpublic Boolean getIgnoreExistedNode()
public void setIgnoreExistedNode(Boolean IgnoreExistedNode)
IgnoreExistedNode - Ignore existing nodes when update `Label` and `Taint`public InstanceExtraArgs getExtraArgs()
public void setExtraArgs(InstanceExtraArgs ExtraArgs)
ExtraArgs - Node custom parameterpublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Resource tagpublic Long getUnschedulable()
public void setUnschedulable(Long Unschedulable)
Unschedulable - Sets whether the added node is schedulable. 0 (default): schedulable; other values: unschedulable. After node initialization is completed, you can run `kubectl uncordon nodename` to enable this node for scheduling.public Boolean getDeletionProtection()
public void setDeletionProtection(Boolean DeletionProtection)
DeletionProtection - Whether Deletion Protection is enabledpublic String getDockerGraphPath()
public void setDockerGraphPath(String DockerGraphPath)
DockerGraphPath - Specified value of dockerd --graph. Default value: /var/lib/dockerpublic String getPreStartUserScript()
public void setPreStartUserScript(String PreStartUserScript)
PreStartUserScript - Base64-encoded custom scriptCopyright © 2025. All rights reserved.