public class CreateClusterNodePoolRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateClusterNodePoolRequest() |
CreateClusterNodePoolRequest(CreateClusterNodePoolRequest 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 节点Annotation 列表
|
String |
getAutoScalingGroupPara()
Get AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440
|
String |
getClusterId()
Get cluster id
|
String |
getContainerRuntime()
Get 节点池纬度运行时类型及版本
|
Boolean |
getDeletionProtection()
Get 删除保护开关
|
Boolean |
getEnableAutoscale()
Get 是否启用自动伸缩
|
InstanceAdvancedSettings |
getInstanceAdvancedSettings()
Get InstanceAdvancedSettings
|
Label[] |
getLabels()
Get Labels标签
|
String |
getLaunchConfigurePara()
Get LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447
|
String |
getName()
Get 节点池名称
|
String |
getNodePoolOs()
Get 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName
|
String |
getOsCustomizeType()
Get 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
|
String |
getRuntimeVersion()
Get 运行时版本
|
Tag[] |
getTags()
Get 资源标签
|
Taint[] |
getTaints()
Get Taints互斥
|
void |
setAnnotations(AnnotationValue[] Annotations)
Set 节点Annotation 列表
|
void |
setAutoScalingGroupPara(String AutoScalingGroupPara)
Set AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440
|
void |
setClusterId(String ClusterId)
Set cluster id
|
void |
setContainerRuntime(String ContainerRuntime)
Set 节点池纬度运行时类型及版本
|
void |
setDeletionProtection(Boolean DeletionProtection)
Set 删除保护开关
|
void |
setEnableAutoscale(Boolean EnableAutoscale)
Set 是否启用自动伸缩
|
void |
setInstanceAdvancedSettings(InstanceAdvancedSettings InstanceAdvancedSettings)
Set InstanceAdvancedSettings
|
void |
setLabels(Label[] Labels)
Set Labels标签
|
void |
setLaunchConfigurePara(String LaunchConfigurePara)
Set LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447
|
void |
setName(String Name)
Set 节点池名称
|
void |
setNodePoolOs(String NodePoolOs)
Set 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName
|
void |
setOsCustomizeType(String OsCustomizeType)
Set 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
|
void |
setRuntimeVersion(String RuntimeVersion)
Set 运行时版本
|
void |
setTags(Tag[] Tags)
Set 资源标签
|
void |
setTaints(Taint[] Taints)
Set Taints互斥
|
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, toJsonString
public CreateClusterNodePoolRequest()
public CreateClusterNodePoolRequest(CreateClusterNodePoolRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- cluster idpublic String getAutoScalingGroupPara()
public void setAutoScalingGroupPara(String AutoScalingGroupPara)
AutoScalingGroupPara
- AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440public String getLaunchConfigurePara()
public void setLaunchConfigurePara(String LaunchConfigurePara)
LaunchConfigurePara
- LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447public InstanceAdvancedSettings getInstanceAdvancedSettings()
public void setInstanceAdvancedSettings(InstanceAdvancedSettings InstanceAdvancedSettings)
InstanceAdvancedSettings
- InstanceAdvancedSettingspublic Boolean getEnableAutoscale()
public void setEnableAutoscale(Boolean EnableAutoscale)
EnableAutoscale
- 是否启用自动伸缩public String getName()
public void setName(String Name)
Name
- 节点池名称public Label[] getLabels()
public void setLabels(Label[] Labels)
Labels
- Labels标签public Taint[] getTaints()
public void setTaints(Taint[] Taints)
Taints
- Taints互斥public AnnotationValue[] getAnnotations()
public void setAnnotations(AnnotationValue[] Annotations)
Annotations
- 节点Annotation 列表public String getContainerRuntime()
public void setContainerRuntime(String ContainerRuntime)
ContainerRuntime
- 节点池纬度运行时类型及版本public String getRuntimeVersion()
public void setRuntimeVersion(String RuntimeVersion)
RuntimeVersion
- 运行时版本public String getNodePoolOs()
public void setNodePoolOs(String NodePoolOs)
NodePoolOs
- 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osNamepublic String getOsCustomizeType()
public void setOsCustomizeType(String OsCustomizeType)
OsCustomizeType
- 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- 资源标签public Boolean getDeletionProtection()
public void setDeletionProtection(Boolean DeletionProtection)
DeletionProtection
- 删除保护开关Copyright © 2024. All rights reserved.