Class ScaleOutInstanceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.emr.v20190103.models.ScaleOutInstanceRequest
-
public class ScaleOutInstanceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ScaleOutInstanceRequest()ScaleOutInstanceRequest(ScaleOutInstanceRequest 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 LonggetAutoRenew()Get 0表示关闭自动续费,1表示开启自动续费StringgetClickHouseClusterName()Get 使用clickhouse集群扩容时,选择的机器分组名称StringgetClickHouseClusterType()Get 使用clickhouse集群扩容时,选择的机器分组类型。new为新增,old为选择旧分组StringgetClientToken()Get 客户端Token。LonggetCoreCount()Get 扩容的Core节点数量。String[]getDisasterRecoverGroupIds()Get 分散置放群组ID列表,当前仅支持指定一个。StringgetHardwareResourceType()Get 扩容所选资源类型,可选范围为"host","pod",host为普通的CVM资源,Pod为TKE集群或EKS集群提供的资源StringgetInstanceId()Get 实例ID。LonggetMasterCount()Get 扩容的Master节点的数量。 使用clickhouse集群扩容时,该参数不生效。 使用kafka集群扩容时,该参数不生效。 当HardwareResourceType=POD时,该参数不生效。LonggetPayMode()Get 实例计费模式。取值范围: 0:表示按量计费。 1:表示包年包月。PodParametergetPodParameter()Get POD自定义权限和自定义参数PodSpecgetPodSpec()Get 使用Pod资源扩容时,指定的Pod规格以及来源等信息PreExecuteFileSettings[]getPreExecutedFileSettings()Get 引导操作脚本设置。LonggetRouterCount()Get 扩容的Router节点数量。StringgetScaleOutServiceConfAssign()Get 预设配置组Long[]getServiceNodeInfo()Get 启动的进程。Long[]getSoftDeployInfo()Get 部署的服务。 SoftDeployInfo和ServiceNodeInfo是同组参数,和UnNecessaryNodeList参数互斥。 建议使用SoftDeployInfo和ServiceNodeInfo组合。StringgetStartServiceAfterScaleOut()Get 扩容后是否启动服务,true:启动,false:不启动StringgetSubnetId()Get 子网,默认是集群创建时的子网Tag[]getTags()Get 扩容节点绑定标签列表。LonggetTaskCount()Get 扩容的Task节点数量。LonggetTimeSpan()Get 扩容的时长。结合TimeUnit一起使用。 TimeUnit为s时,该参数只能填写3600,表示按量计费实例。 TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月StringgetTimeUnit()Get 扩容的时间单位。取值范围: s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。 m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。Long[]getUnNecessaryNodeList()Get 扩容时不需要安装的进程。StringgetYarnNodeLabel()Get 规则扩容指定 yarn node labelLonggetZoneId()Get 可用区,默认是集群的主可用区voidsetAutoRenew(Long AutoRenew)Set 0表示关闭自动续费,1表示开启自动续费voidsetClickHouseClusterName(String ClickHouseClusterName)Set 使用clickhouse集群扩容时,选择的机器分组名称voidsetClickHouseClusterType(String ClickHouseClusterType)Set 使用clickhouse集群扩容时,选择的机器分组类型。new为新增,old为选择旧分组voidsetClientToken(String ClientToken)Set 客户端Token。voidsetCoreCount(Long CoreCount)Set 扩容的Core节点数量。voidsetDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)Set 分散置放群组ID列表,当前仅支持指定一个。voidsetHardwareResourceType(String HardwareResourceType)Set 扩容所选资源类型,可选范围为"host","pod",host为普通的CVM资源,Pod为TKE集群或EKS集群提供的资源voidsetInstanceId(String InstanceId)Set 实例ID。voidsetMasterCount(Long MasterCount)Set 扩容的Master节点的数量。 使用clickhouse集群扩容时,该参数不生效。 使用kafka集群扩容时,该参数不生效。 当HardwareResourceType=POD时,该参数不生效。voidsetPayMode(Long PayMode)Set 实例计费模式。取值范围: 0:表示按量计费。 1:表示包年包月。voidsetPodParameter(PodParameter PodParameter)Set POD自定义权限和自定义参数voidsetPodSpec(PodSpec PodSpec)Set 使用Pod资源扩容时,指定的Pod规格以及来源等信息voidsetPreExecutedFileSettings(PreExecuteFileSettings[] PreExecutedFileSettings)Set 引导操作脚本设置。voidsetRouterCount(Long RouterCount)Set 扩容的Router节点数量。voidsetScaleOutServiceConfAssign(String ScaleOutServiceConfAssign)Set 预设配置组voidsetServiceNodeInfo(Long[] ServiceNodeInfo)Set 启动的进程。voidsetSoftDeployInfo(Long[] SoftDeployInfo)Set 部署的服务。 SoftDeployInfo和ServiceNodeInfo是同组参数,和UnNecessaryNodeList参数互斥。 建议使用SoftDeployInfo和ServiceNodeInfo组合。voidsetStartServiceAfterScaleOut(String StartServiceAfterScaleOut)Set 扩容后是否启动服务,true:启动,false:不启动voidsetSubnetId(String SubnetId)Set 子网,默认是集群创建时的子网voidsetTags(Tag[] Tags)Set 扩容节点绑定标签列表。voidsetTaskCount(Long TaskCount)Set 扩容的Task节点数量。voidsetTimeSpan(Long TimeSpan)Set 扩容的时长。结合TimeUnit一起使用。 TimeUnit为s时,该参数只能填写3600,表示按量计费实例。 TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月voidsetTimeUnit(String TimeUnit)Set 扩容的时间单位。取值范围: s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。 m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。voidsetUnNecessaryNodeList(Long[] UnNecessaryNodeList)Set 扩容时不需要安装的进程。voidsetYarnNodeLabel(String YarnNodeLabel)Set 规则扩容指定 yarn node labelvoidsetZoneId(Long ZoneId)Set 可用区,默认是集群的主可用区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
-
ScaleOutInstanceRequest
public ScaleOutInstanceRequest()
-
ScaleOutInstanceRequest
public ScaleOutInstanceRequest(ScaleOutInstanceRequest 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
-
getTimeUnit
public String getTimeUnit()
Get 扩容的时间单位。取值范围:- s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
- m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
- Returns:
- TimeUnit 扩容的时间单位。取值范围:
- s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
- m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
-
setTimeUnit
public void setTimeUnit(String TimeUnit)
Set 扩容的时间单位。取值范围:- s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
- m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
- Parameters:
TimeUnit- 扩容的时间单位。取值范围:- s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
- m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
-
getTimeSpan
public Long getTimeSpan()
Get 扩容的时长。结合TimeUnit一起使用。- TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
- TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
- Returns:
- TimeSpan 扩容的时长。结合TimeUnit一起使用。
- TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
- TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
-
setTimeSpan
public void setTimeSpan(Long TimeSpan)
Set 扩容的时长。结合TimeUnit一起使用。- TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
- TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
- Parameters:
TimeSpan- 扩容的时长。结合TimeUnit一起使用。- TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
- TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
-
getInstanceId
public String getInstanceId()
Get 实例ID。- Returns:
- InstanceId 实例ID。
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例ID。- Parameters:
InstanceId- 实例ID。
-
getPayMode
public Long getPayMode()
Get 实例计费模式。取值范围:- 0:表示按量计费。
- 1:表示包年包月。
- Returns:
- PayMode 实例计费模式。取值范围:
- 0:表示按量计费。
- 1:表示包年包月。
-
setPayMode
public void setPayMode(Long PayMode)
Set 实例计费模式。取值范围:- 0:表示按量计费。
- 1:表示包年包月。
- Parameters:
PayMode- 实例计费模式。取值范围:- 0:表示按量计费。
- 1:表示包年包月。
-
getClientToken
public String getClientToken()
Get 客户端Token。- Returns:
- ClientToken 客户端Token。
-
setClientToken
public void setClientToken(String ClientToken)
Set 客户端Token。- Parameters:
ClientToken- 客户端Token。
-
getPreExecutedFileSettings
public PreExecuteFileSettings[] getPreExecutedFileSettings()
Get 引导操作脚本设置。- Returns:
- PreExecutedFileSettings 引导操作脚本设置。
-
setPreExecutedFileSettings
public void setPreExecutedFileSettings(PreExecuteFileSettings[] PreExecutedFileSettings)
Set 引导操作脚本设置。- Parameters:
PreExecutedFileSettings- 引导操作脚本设置。
-
getTaskCount
public Long getTaskCount()
Get 扩容的Task节点数量。- Returns:
- TaskCount 扩容的Task节点数量。
-
setTaskCount
public void setTaskCount(Long TaskCount)
Set 扩容的Task节点数量。- Parameters:
TaskCount- 扩容的Task节点数量。
-
getCoreCount
public Long getCoreCount()
Get 扩容的Core节点数量。- Returns:
- CoreCount 扩容的Core节点数量。
-
setCoreCount
public void setCoreCount(Long CoreCount)
Set 扩容的Core节点数量。- Parameters:
CoreCount- 扩容的Core节点数量。
-
getUnNecessaryNodeList
public Long[] getUnNecessaryNodeList()
Get 扩容时不需要安装的进程。- Returns:
- UnNecessaryNodeList 扩容时不需要安装的进程。
-
setUnNecessaryNodeList
public void setUnNecessaryNodeList(Long[] UnNecessaryNodeList)
Set 扩容时不需要安装的进程。- Parameters:
UnNecessaryNodeList- 扩容时不需要安装的进程。
-
getRouterCount
public Long getRouterCount()
Get 扩容的Router节点数量。- Returns:
- RouterCount 扩容的Router节点数量。
-
setRouterCount
public void setRouterCount(Long RouterCount)
Set 扩容的Router节点数量。- Parameters:
RouterCount- 扩容的Router节点数量。
-
getSoftDeployInfo
public Long[] getSoftDeployInfo()
Get 部署的服务。- SoftDeployInfo和ServiceNodeInfo是同组参数,和UnNecessaryNodeList参数互斥。
- 建议使用SoftDeployInfo和ServiceNodeInfo组合。
- Returns:
- SoftDeployInfo 部署的服务。
- SoftDeployInfo和ServiceNodeInfo是同组参数,和UnNecessaryNodeList参数互斥。
- 建议使用SoftDeployInfo和ServiceNodeInfo组合。
-
setSoftDeployInfo
public void setSoftDeployInfo(Long[] SoftDeployInfo)
Set 部署的服务。- SoftDeployInfo和ServiceNodeInfo是同组参数,和UnNecessaryNodeList参数互斥。
- 建议使用SoftDeployInfo和ServiceNodeInfo组合。
- Parameters:
SoftDeployInfo- 部署的服务。- SoftDeployInfo和ServiceNodeInfo是同组参数,和UnNecessaryNodeList参数互斥。
- 建议使用SoftDeployInfo和ServiceNodeInfo组合。
-
getServiceNodeInfo
public Long[] getServiceNodeInfo()
Get 启动的进程。- Returns:
- ServiceNodeInfo 启动的进程。
-
setServiceNodeInfo
public void setServiceNodeInfo(Long[] ServiceNodeInfo)
Set 启动的进程。- Parameters:
ServiceNodeInfo- 启动的进程。
-
getDisasterRecoverGroupIds
public String[] getDisasterRecoverGroupIds()
Get 分散置放群组ID列表,当前仅支持指定一个。- Returns:
- DisasterRecoverGroupIds 分散置放群组ID列表,当前仅支持指定一个。
-
setDisasterRecoverGroupIds
public void setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
Set 分散置放群组ID列表,当前仅支持指定一个。- Parameters:
DisasterRecoverGroupIds- 分散置放群组ID列表,当前仅支持指定一个。
-
getTags
public Tag[] getTags()
Get 扩容节点绑定标签列表。- Returns:
- Tags 扩容节点绑定标签列表。
-
setTags
public void setTags(Tag[] Tags)
Set 扩容节点绑定标签列表。- Parameters:
Tags- 扩容节点绑定标签列表。
-
getHardwareResourceType
public String getHardwareResourceType()
Get 扩容所选资源类型,可选范围为"host","pod",host为普通的CVM资源,Pod为TKE集群或EKS集群提供的资源- Returns:
- HardwareResourceType 扩容所选资源类型,可选范围为"host","pod",host为普通的CVM资源,Pod为TKE集群或EKS集群提供的资源
-
setHardwareResourceType
public void setHardwareResourceType(String HardwareResourceType)
Set 扩容所选资源类型,可选范围为"host","pod",host为普通的CVM资源,Pod为TKE集群或EKS集群提供的资源- Parameters:
HardwareResourceType- 扩容所选资源类型,可选范围为"host","pod",host为普通的CVM资源,Pod为TKE集群或EKS集群提供的资源
-
getPodSpec
public PodSpec getPodSpec()
Get 使用Pod资源扩容时,指定的Pod规格以及来源等信息- Returns:
- PodSpec 使用Pod资源扩容时,指定的Pod规格以及来源等信息
-
setPodSpec
public void setPodSpec(PodSpec PodSpec)
Set 使用Pod资源扩容时,指定的Pod规格以及来源等信息- Parameters:
PodSpec- 使用Pod资源扩容时,指定的Pod规格以及来源等信息
-
getClickHouseClusterName
public String getClickHouseClusterName()
Get 使用clickhouse集群扩容时,选择的机器分组名称- Returns:
- ClickHouseClusterName 使用clickhouse集群扩容时,选择的机器分组名称
-
setClickHouseClusterName
public void setClickHouseClusterName(String ClickHouseClusterName)
Set 使用clickhouse集群扩容时,选择的机器分组名称- Parameters:
ClickHouseClusterName- 使用clickhouse集群扩容时,选择的机器分组名称
-
getClickHouseClusterType
public String getClickHouseClusterType()
Get 使用clickhouse集群扩容时,选择的机器分组类型。new为新增,old为选择旧分组- Returns:
- ClickHouseClusterType 使用clickhouse集群扩容时,选择的机器分组类型。new为新增,old为选择旧分组
-
setClickHouseClusterType
public void setClickHouseClusterType(String ClickHouseClusterType)
Set 使用clickhouse集群扩容时,选择的机器分组类型。new为新增,old为选择旧分组- Parameters:
ClickHouseClusterType- 使用clickhouse集群扩容时,选择的机器分组类型。new为新增,old为选择旧分组
-
getYarnNodeLabel
public String getYarnNodeLabel()
Get 规则扩容指定 yarn node label- Returns:
- YarnNodeLabel 规则扩容指定 yarn node label
-
setYarnNodeLabel
public void setYarnNodeLabel(String YarnNodeLabel)
Set 规则扩容指定 yarn node label- Parameters:
YarnNodeLabel- 规则扩容指定 yarn node label
-
getPodParameter
public PodParameter getPodParameter()
Get POD自定义权限和自定义参数- Returns:
- PodParameter POD自定义权限和自定义参数
-
setPodParameter
public void setPodParameter(PodParameter PodParameter)
Set POD自定义权限和自定义参数- Parameters:
PodParameter- POD自定义权限和自定义参数
-
getMasterCount
public Long getMasterCount()
Get 扩容的Master节点的数量。 使用clickhouse集群扩容时,该参数不生效。 使用kafka集群扩容时,该参数不生效。 当HardwareResourceType=POD时,该参数不生效。- Returns:
- MasterCount 扩容的Master节点的数量。 使用clickhouse集群扩容时,该参数不生效。 使用kafka集群扩容时,该参数不生效。 当HardwareResourceType=POD时,该参数不生效。
-
setMasterCount
public void setMasterCount(Long MasterCount)
Set 扩容的Master节点的数量。 使用clickhouse集群扩容时,该参数不生效。 使用kafka集群扩容时,该参数不生效。 当HardwareResourceType=POD时,该参数不生效。- Parameters:
MasterCount- 扩容的Master节点的数量。 使用clickhouse集群扩容时,该参数不生效。 使用kafka集群扩容时,该参数不生效。 当HardwareResourceType=POD时,该参数不生效。
-
getStartServiceAfterScaleOut
public String getStartServiceAfterScaleOut()
Get 扩容后是否启动服务,true:启动,false:不启动- Returns:
- StartServiceAfterScaleOut 扩容后是否启动服务,true:启动,false:不启动
-
setStartServiceAfterScaleOut
public void setStartServiceAfterScaleOut(String StartServiceAfterScaleOut)
Set 扩容后是否启动服务,true:启动,false:不启动- Parameters:
StartServiceAfterScaleOut- 扩容后是否启动服务,true:启动,false:不启动
-
getZoneId
public Long getZoneId()
Get 可用区,默认是集群的主可用区- Returns:
- ZoneId 可用区,默认是集群的主可用区
-
setZoneId
public void setZoneId(Long ZoneId)
Set 可用区,默认是集群的主可用区- Parameters:
ZoneId- 可用区,默认是集群的主可用区
-
getSubnetId
public String getSubnetId()
Get 子网,默认是集群创建时的子网- Returns:
- SubnetId 子网,默认是集群创建时的子网
-
setSubnetId
public void setSubnetId(String SubnetId)
Set 子网,默认是集群创建时的子网- Parameters:
SubnetId- 子网,默认是集群创建时的子网
-
getScaleOutServiceConfAssign
public String getScaleOutServiceConfAssign()
Get 预设配置组- Returns:
- ScaleOutServiceConfAssign 预设配置组
-
setScaleOutServiceConfAssign
public void setScaleOutServiceConfAssign(String ScaleOutServiceConfAssign)
Set 预设配置组- Parameters:
ScaleOutServiceConfAssign- 预设配置组
-
getAutoRenew
public Long getAutoRenew()
Get 0表示关闭自动续费,1表示开启自动续费- Returns:
- AutoRenew 0表示关闭自动续费,1表示开启自动续费
-
setAutoRenew
public void setAutoRenew(Long AutoRenew)
Set 0表示关闭自动续费,1表示开启自动续费- Parameters:
AutoRenew- 0表示关闭自动续费,1表示开启自动续费
-
-