Class ClusterBasicSettings
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tke.v20180525.models.ClusterBasicSettings
-
public class ClusterBasicSettings extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ClusterBasicSettings()ClusterBasicSettings(ClusterBasicSettings 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 AutoUpgradeClusterLevelgetAutoUpgradeClusterLevel()Get 自动变配集群等级,针对托管集群生效StringgetClusterDescription()Get 集群描述StringgetClusterLevel()Get 集群等级,针对托管集群生效StringgetClusterName()Get 集群名称StringgetClusterOs()Get 集群操作系统,支持设置公共镜像(字段传相应镜像Name)和自定义镜像(字段传相应镜像ID),详情参考:https://cloud.tencent.com/document/product/457/68289StringgetClusterVersion()Get 集群版本,默认值为1.10.5BooleangetNeedWorkSecurityGroup()Get 是否开启节点的默认安全组(默认: 否,Alpha特性)StringgetOsCustomizeType()Get 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)LonggetProjectId()Get 集群内新增资源所属项目ID。StringgetSubnetId()Get 当选择Cilium Overlay网络插件时,TKE会从该子网获取2个IP用来创建内网负载均衡TagSpecification[]getTagSpecification()Get 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。StringgetVpcId()Get 私有网络ID,形如vpc-xxx。创建托管空集群时必传。voidsetAutoUpgradeClusterLevel(AutoUpgradeClusterLevel AutoUpgradeClusterLevel)Set 自动变配集群等级,针对托管集群生效voidsetClusterDescription(String ClusterDescription)Set 集群描述voidsetClusterLevel(String ClusterLevel)Set 集群等级,针对托管集群生效voidsetClusterName(String ClusterName)Set 集群名称voidsetClusterOs(String ClusterOs)Set 集群操作系统,支持设置公共镜像(字段传相应镜像Name)和自定义镜像(字段传相应镜像ID),详情参考:https://cloud.tencent.com/document/product/457/68289voidsetClusterVersion(String ClusterVersion)Set 集群版本,默认值为1.10.5voidsetNeedWorkSecurityGroup(Boolean NeedWorkSecurityGroup)Set 是否开启节点的默认安全组(默认: 否,Alpha特性)voidsetOsCustomizeType(String OsCustomizeType)Set 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)voidsetProjectId(Long ProjectId)Set 集群内新增资源所属项目ID。voidsetSubnetId(String SubnetId)Set 当选择Cilium Overlay网络插件时,TKE会从该子网获取2个IP用来创建内网负载均衡voidsetTagSpecification(TagSpecification[] TagSpecification)Set 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。voidsetVpcId(String VpcId)Set 私有网络ID,形如vpc-xxx。创建托管空集群时必传。voidtoMap(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
-
ClusterBasicSettings
public ClusterBasicSettings()
-
ClusterBasicSettings
public ClusterBasicSettings(ClusterBasicSettings 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
-
getClusterOs
public String getClusterOs()
Get 集群操作系统,支持设置公共镜像(字段传相应镜像Name)和自定义镜像(字段传相应镜像ID),详情参考:https://cloud.tencent.com/document/product/457/68289- Returns:
- ClusterOs 集群操作系统,支持设置公共镜像(字段传相应镜像Name)和自定义镜像(字段传相应镜像ID),详情参考:https://cloud.tencent.com/document/product/457/68289
-
setClusterOs
public void setClusterOs(String ClusterOs)
Set 集群操作系统,支持设置公共镜像(字段传相应镜像Name)和自定义镜像(字段传相应镜像ID),详情参考:https://cloud.tencent.com/document/product/457/68289- Parameters:
ClusterOs- 集群操作系统,支持设置公共镜像(字段传相应镜像Name)和自定义镜像(字段传相应镜像ID),详情参考:https://cloud.tencent.com/document/product/457/68289
-
getClusterVersion
public String getClusterVersion()
Get 集群版本,默认值为1.10.5- Returns:
- ClusterVersion 集群版本,默认值为1.10.5
-
setClusterVersion
public void setClusterVersion(String ClusterVersion)
Set 集群版本,默认值为1.10.5- Parameters:
ClusterVersion- 集群版本,默认值为1.10.5
-
getClusterName
public String getClusterName()
Get 集群名称- Returns:
- ClusterName 集群名称
-
setClusterName
public void setClusterName(String ClusterName)
Set 集群名称- Parameters:
ClusterName- 集群名称
-
getClusterDescription
public String getClusterDescription()
Get 集群描述- Returns:
- ClusterDescription 集群描述
-
setClusterDescription
public void setClusterDescription(String ClusterDescription)
Set 集群描述- Parameters:
ClusterDescription- 集群描述
-
getVpcId
public String getVpcId()
Get 私有网络ID,形如vpc-xxx。创建托管空集群时必传。- Returns:
- VpcId 私有网络ID,形如vpc-xxx。创建托管空集群时必传。
-
setVpcId
public void setVpcId(String VpcId)
Set 私有网络ID,形如vpc-xxx。创建托管空集群时必传。- Parameters:
VpcId- 私有网络ID,形如vpc-xxx。创建托管空集群时必传。
-
getProjectId
public Long getProjectId()
Get 集群内新增资源所属项目ID。- Returns:
- ProjectId 集群内新增资源所属项目ID。
-
setProjectId
public void setProjectId(Long ProjectId)
Set 集群内新增资源所属项目ID。- Parameters:
ProjectId- 集群内新增资源所属项目ID。
-
getTagSpecification
public TagSpecification[] getTagSpecification()
Get 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。- Returns:
- TagSpecification 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。
-
setTagSpecification
public void setTagSpecification(TagSpecification[] TagSpecification)
Set 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。- Parameters:
TagSpecification- 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。
-
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"(普通版本,默认值)
-
getNeedWorkSecurityGroup
public Boolean getNeedWorkSecurityGroup()
Get 是否开启节点的默认安全组(默认: 否,Alpha特性)- Returns:
- NeedWorkSecurityGroup 是否开启节点的默认安全组(默认: 否,Alpha特性)
-
setNeedWorkSecurityGroup
public void setNeedWorkSecurityGroup(Boolean NeedWorkSecurityGroup)
Set 是否开启节点的默认安全组(默认: 否,Alpha特性)- Parameters:
NeedWorkSecurityGroup- 是否开启节点的默认安全组(默认: 否,Alpha特性)
-
getSubnetId
public String getSubnetId()
Get 当选择Cilium Overlay网络插件时,TKE会从该子网获取2个IP用来创建内网负载均衡- Returns:
- SubnetId 当选择Cilium Overlay网络插件时,TKE会从该子网获取2个IP用来创建内网负载均衡
-
setSubnetId
public void setSubnetId(String SubnetId)
Set 当选择Cilium Overlay网络插件时,TKE会从该子网获取2个IP用来创建内网负载均衡- Parameters:
SubnetId- 当选择Cilium Overlay网络插件时,TKE会从该子网获取2个IP用来创建内网负载均衡
-
getClusterLevel
public String getClusterLevel()
Get 集群等级,针对托管集群生效- Returns:
- ClusterLevel 集群等级,针对托管集群生效
-
setClusterLevel
public void setClusterLevel(String ClusterLevel)
Set 集群等级,针对托管集群生效- Parameters:
ClusterLevel- 集群等级,针对托管集群生效
-
getAutoUpgradeClusterLevel
public AutoUpgradeClusterLevel getAutoUpgradeClusterLevel()
Get 自动变配集群等级,针对托管集群生效- Returns:
- AutoUpgradeClusterLevel 自动变配集群等级,针对托管集群生效
-
setAutoUpgradeClusterLevel
public void setAutoUpgradeClusterLevel(AutoUpgradeClusterLevel AutoUpgradeClusterLevel)
Set 自动变配集群等级,针对托管集群生效- Parameters:
AutoUpgradeClusterLevel- 自动变配集群等级,针对托管集群生效
-
-