Class CreateClusterNodePoolRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tke.v20180525.models.CreateClusterNodePoolRequest
-
public class CreateClusterNodePoolRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAutoScalingGroupPara()
Get AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440String
getClusterId()
Get cluster idString
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/20447String
getName()
Get 节点池名称String
getNodePoolOs()
Get 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osNameString
getOsCustomizeType()
Get 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)String
getRuntimeVersion()
Get 运行时版本Tag[]
getTags()
Get 资源标签Taint[]
getTaints()
Get Taints互斥void
setAutoScalingGroupPara(String AutoScalingGroupPara)
Set AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440void
setClusterId(String ClusterId)
Set cluster idvoid
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/20447void
setName(String Name)
Set 节点池名称void
setNodePoolOs(String NodePoolOs)
Set 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osNamevoid
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.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateClusterNodePoolRequest
public CreateClusterNodePoolRequest()
-
CreateClusterNodePoolRequest
public 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.
-
-
Method Detail
-
getClusterId
public String getClusterId()
Get cluster id- Returns:
- ClusterId cluster id
-
setClusterId
public void setClusterId(String ClusterId)
Set cluster id- Parameters:
ClusterId
- cluster id
-
getAutoScalingGroupPara
public String getAutoScalingGroupPara()
Get AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440- Returns:
- AutoScalingGroupPara AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440
-
setAutoScalingGroupPara
public void setAutoScalingGroupPara(String AutoScalingGroupPara)
Set AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440- Parameters:
AutoScalingGroupPara
- AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440
-
getLaunchConfigurePara
public String getLaunchConfigurePara()
Get LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447- Returns:
- LaunchConfigurePara LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447
-
setLaunchConfigurePara
public void setLaunchConfigurePara(String LaunchConfigurePara)
Set LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447- Parameters:
LaunchConfigurePara
- LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447
-
getInstanceAdvancedSettings
public InstanceAdvancedSettings getInstanceAdvancedSettings()
Get InstanceAdvancedSettings 示例参数- Returns:
- InstanceAdvancedSettings InstanceAdvancedSettings 示例参数
-
setInstanceAdvancedSettings
public void setInstanceAdvancedSettings(InstanceAdvancedSettings InstanceAdvancedSettings)
Set InstanceAdvancedSettings 示例参数- Parameters:
InstanceAdvancedSettings
- InstanceAdvancedSettings 示例参数
-
getEnableAutoscale
public Boolean getEnableAutoscale()
Get 是否启用自动伸缩- Returns:
- EnableAutoscale 是否启用自动伸缩
-
setEnableAutoscale
public void setEnableAutoscale(Boolean EnableAutoscale)
Set 是否启用自动伸缩- Parameters:
EnableAutoscale
- 是否启用自动伸缩
-
getName
public String getName()
Get 节点池名称- Returns:
- Name 节点池名称
-
setName
public void setName(String Name)
Set 节点池名称- Parameters:
Name
- 节点池名称
-
getLabels
public Label[] getLabels()
Get Labels标签- Returns:
- Labels Labels标签
-
setLabels
public void setLabels(Label[] Labels)
Set Labels标签- Parameters:
Labels
- Labels标签
-
getTaints
public Taint[] getTaints()
Get Taints互斥- Returns:
- Taints Taints互斥
-
setTaints
public void setTaints(Taint[] Taints)
Set Taints互斥- Parameters:
Taints
- Taints互斥
-
getContainerRuntime
public String getContainerRuntime()
Get 节点池纬度运行时类型及版本- Returns:
- ContainerRuntime 节点池纬度运行时类型及版本
-
setContainerRuntime
public void setContainerRuntime(String ContainerRuntime)
Set 节点池纬度运行时类型及版本- Parameters:
ContainerRuntime
- 节点池纬度运行时类型及版本
-
getRuntimeVersion
public String getRuntimeVersion()
Get 运行时版本- Returns:
- RuntimeVersion 运行时版本
-
setRuntimeVersion
public void setRuntimeVersion(String RuntimeVersion)
Set 运行时版本- Parameters:
RuntimeVersion
- 运行时版本
-
getNodePoolOs
public String getNodePoolOs()
Get 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName- Returns:
- NodePoolOs 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName
-
setNodePoolOs
public void setNodePoolOs(String NodePoolOs)
Set 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName- Parameters:
NodePoolOs
- 节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName
-
getOsCustomizeType
public String getOsCustomizeType()
Get 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)- Returns:
- OsCustomizeType 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
-
setOsCustomizeType
public void setOsCustomizeType(String OsCustomizeType)
Set 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)- Parameters:
OsCustomizeType
- 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
-
getTags
public Tag[] getTags()
Get 资源标签- Returns:
- Tags 资源标签
-
setTags
public void setTags(Tag[] Tags)
Set 资源标签- Parameters:
Tags
- 资源标签
-
getDeletionProtection
public Boolean getDeletionProtection()
Get 删除保护开关- Returns:
- DeletionProtection 删除保护开关
-
setDeletionProtection
public void setDeletionProtection(Boolean DeletionProtection)
Set 删除保护开关- Parameters:
DeletionProtection
- 删除保护开关
-
-