public class ScaleOutInstanceRequest extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAutoRenew()
Get 0表示关闭自动续费,1表示开启自动续费
|
String |
getClickHouseClusterName()
Get 使用clickhouse集群扩容时,选择的机器分组名称
|
String |
getClickHouseClusterType()
Get 使用clickhouse集群扩容时,选择的机器分组类型。new为新增,old为选择旧分组
|
String |
getClientToken()
Get 唯一随机标识,时效5分钟,需要调用者指定 防止客户端重新创建资源,例如 a9a90aa6-****-****-****-fae36063280
|
String |
getComputeResourceId()
Get 计算资源id
|
Long |
getCoreCount()
Get 扩容的Core节点数量。
|
String[] |
getDisasterRecoverGroupIds()
Get 分散置放群组ID列表,当前仅支持指定一个。
|
String |
getHardwareResourceType()
Get 扩容所选资源类型,可选范围为"host","pod",host为普通的CVM资源,Pod为TKE集群或EKS集群提供的资源
|
String |
getInstanceId()
Get 实例ID。
|
Long |
getMasterCount()
Get 扩容的Master节点的数量。
使用clickhouse集群扩容时,该参数不生效。
使用kafka集群扩容时,该参数不生效。
当HardwareResourceType=POD时,该参数不生效。
|
Long |
getPayMode()
Get 实例计费模式。取值范围:
0:表示按量计费。
1:表示包年包月。
|
PodParameter |
getPodParameter()
Get POD自定义权限和自定义参数
|
PodSpec |
getPodSpec()
Get 使用Pod资源扩容时,指定的Pod规格以及来源等信息
|
PreExecuteFileSettings[] |
getPreExecutedFileSettings()
Get 引导操作脚本设置。
|
String |
getResourceBaseType()
Get 类型为ComputeResource和EMR以及默认,默认为EMR,类型为EMR时,InstanceId生效,类型为ComputeResource时,使用ComputeResourceId标识
|
Long |
getRouterCount()
Get 扩容的Router节点数量。
|
String |
getScaleOutServiceConfAssign()
Get 预设配置组
|
Long[] |
getServiceNodeInfo()
Get 启动的进程。
|
Long[] |
getSoftDeployInfo()
Get 部署的服务。
SoftDeployInfo和ServiceNodeInfo是同组参数,和UnNecessaryNodeList参数互斥。
建议使用SoftDeployInfo和ServiceNodeInfo组合。
|
String |
getStartServiceAfterScaleOut()
Get 扩容后是否启动服务,true:启动,false:不启动
|
String |
getSubnetId()
Get 子网,默认是集群创建时的子网
|
Tag[] |
getTags()
Get 扩容节点绑定标签列表。
|
Long |
getTaskCount()
Get 扩容的Task节点数量。
|
Long |
getTimeSpan()
Get 扩容的时长。结合TimeUnit一起使用。
TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
|
String |
getTimeUnit()
Get 扩容的时间单位。取值范围:
s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
|
Long[] |
getUnNecessaryNodeList()
Get 扩容时不需要安装的进程。
|
String |
getYarnNodeLabel()
Get 规则扩容指定 yarn node label
|
Long |
getZoneId()
Get 可用区,默认是集群的主可用区
|
void |
setAutoRenew(Long AutoRenew)
Set 0表示关闭自动续费,1表示开启自动续费
|
void |
setClickHouseClusterName(String ClickHouseClusterName)
Set 使用clickhouse集群扩容时,选择的机器分组名称
|
void |
setClickHouseClusterType(String ClickHouseClusterType)
Set 使用clickhouse集群扩容时,选择的机器分组类型。new为新增,old为选择旧分组
|
void |
setClientToken(String ClientToken)
Set 唯一随机标识,时效5分钟,需要调用者指定 防止客户端重新创建资源,例如 a9a90aa6-****-****-****-fae36063280
|
void |
setComputeResourceId(String ComputeResourceId)
Set 计算资源id
|
void |
setCoreCount(Long CoreCount)
Set 扩容的Core节点数量。
|
void |
setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
Set 分散置放群组ID列表,当前仅支持指定一个。
|
void |
setHardwareResourceType(String HardwareResourceType)
Set 扩容所选资源类型,可选范围为"host","pod",host为普通的CVM资源,Pod为TKE集群或EKS集群提供的资源
|
void |
setInstanceId(String InstanceId)
Set 实例ID。
|
void |
setMasterCount(Long MasterCount)
Set 扩容的Master节点的数量。
使用clickhouse集群扩容时,该参数不生效。
使用kafka集群扩容时,该参数不生效。
当HardwareResourceType=POD时,该参数不生效。
|
void |
setPayMode(Long PayMode)
Set 实例计费模式。取值范围:
0:表示按量计费。
1:表示包年包月。
|
void |
setPodParameter(PodParameter PodParameter)
Set POD自定义权限和自定义参数
|
void |
setPodSpec(PodSpec PodSpec)
Set 使用Pod资源扩容时,指定的Pod规格以及来源等信息
|
void |
setPreExecutedFileSettings(PreExecuteFileSettings[] PreExecutedFileSettings)
Set 引导操作脚本设置。
|
void |
setResourceBaseType(String ResourceBaseType)
Set 类型为ComputeResource和EMR以及默认,默认为EMR,类型为EMR时,InstanceId生效,类型为ComputeResource时,使用ComputeResourceId标识
|
void |
setRouterCount(Long RouterCount)
Set 扩容的Router节点数量。
|
void |
setScaleOutServiceConfAssign(String ScaleOutServiceConfAssign)
Set 预设配置组
|
void |
setServiceNodeInfo(Long[] ServiceNodeInfo)
Set 启动的进程。
|
void |
setSoftDeployInfo(Long[] SoftDeployInfo)
Set 部署的服务。
SoftDeployInfo和ServiceNodeInfo是同组参数,和UnNecessaryNodeList参数互斥。
建议使用SoftDeployInfo和ServiceNodeInfo组合。
|
void |
setStartServiceAfterScaleOut(String StartServiceAfterScaleOut)
Set 扩容后是否启动服务,true:启动,false:不启动
|
void |
setSubnetId(String SubnetId)
Set 子网,默认是集群创建时的子网
|
void |
setTags(Tag[] Tags)
Set 扩容节点绑定标签列表。
|
void |
setTaskCount(Long TaskCount)
Set 扩容的Task节点数量。
|
void |
setTimeSpan(Long TimeSpan)
Set 扩容的时长。结合TimeUnit一起使用。
TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
|
void |
setTimeUnit(String TimeUnit)
Set 扩容的时间单位。取值范围:
s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
|
void |
setUnNecessaryNodeList(Long[] UnNecessaryNodeList)
Set 扩容时不需要安装的进程。
|
void |
setYarnNodeLabel(String YarnNodeLabel)
Set 规则扩容指定 yarn node label
|
void |
setZoneId(Long ZoneId)
Set 可用区,默认是集群的主可用区
|
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 ScaleOutInstanceRequest()
public ScaleOutInstanceRequest(ScaleOutInstanceRequest source)
public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- 扩容的时间单位。取值范围:
public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan
- 扩容的时长。结合TimeUnit一起使用。
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 实例ID。public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- 实例计费模式。取值范围:
public String getClientToken()
public void setClientToken(String ClientToken)
ClientToken
- 唯一随机标识,时效5分钟,需要调用者指定 防止客户端重新创建资源,例如 a9a90aa6-****-****-****-fae36063280public PreExecuteFileSettings[] getPreExecutedFileSettings()
public void setPreExecutedFileSettings(PreExecuteFileSettings[] PreExecutedFileSettings)
PreExecutedFileSettings
- 引导操作脚本设置。public Long getTaskCount()
public void setTaskCount(Long TaskCount)
TaskCount
- 扩容的Task节点数量。public Long getCoreCount()
public void setCoreCount(Long CoreCount)
CoreCount
- 扩容的Core节点数量。public Long[] getUnNecessaryNodeList()
public void setUnNecessaryNodeList(Long[] UnNecessaryNodeList)
UnNecessaryNodeList
- 扩容时不需要安装的进程。public Long getRouterCount()
public void setRouterCount(Long RouterCount)
RouterCount
- 扩容的Router节点数量。public Long[] getSoftDeployInfo()
public void setSoftDeployInfo(Long[] SoftDeployInfo)
SoftDeployInfo
- 部署的服务。
public Long[] getServiceNodeInfo()
public void setServiceNodeInfo(Long[] ServiceNodeInfo)
ServiceNodeInfo
- 启动的进程。public String[] getDisasterRecoverGroupIds()
public void setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
DisasterRecoverGroupIds
- 分散置放群组ID列表,当前仅支持指定一个。public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- 扩容节点绑定标签列表。public String getHardwareResourceType()
public void setHardwareResourceType(String HardwareResourceType)
HardwareResourceType
- 扩容所选资源类型,可选范围为"host","pod",host为普通的CVM资源,Pod为TKE集群或EKS集群提供的资源public PodSpec getPodSpec()
public void setPodSpec(PodSpec PodSpec)
PodSpec
- 使用Pod资源扩容时,指定的Pod规格以及来源等信息public String getClickHouseClusterName()
public void setClickHouseClusterName(String ClickHouseClusterName)
ClickHouseClusterName
- 使用clickhouse集群扩容时,选择的机器分组名称public String getClickHouseClusterType()
public void setClickHouseClusterType(String ClickHouseClusterType)
ClickHouseClusterType
- 使用clickhouse集群扩容时,选择的机器分组类型。new为新增,old为选择旧分组public String getYarnNodeLabel()
public void setYarnNodeLabel(String YarnNodeLabel)
YarnNodeLabel
- 规则扩容指定 yarn node labelpublic PodParameter getPodParameter()
public void setPodParameter(PodParameter PodParameter)
PodParameter
- POD自定义权限和自定义参数public Long getMasterCount()
public void setMasterCount(Long MasterCount)
MasterCount
- 扩容的Master节点的数量。
使用clickhouse集群扩容时,该参数不生效。
使用kafka集群扩容时,该参数不生效。
当HardwareResourceType=POD时,该参数不生效。public String getStartServiceAfterScaleOut()
public void setStartServiceAfterScaleOut(String StartServiceAfterScaleOut)
StartServiceAfterScaleOut
- 扩容后是否启动服务,true:启动,false:不启动public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- 可用区,默认是集群的主可用区public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- 子网,默认是集群创建时的子网public String getScaleOutServiceConfAssign()
public void setScaleOutServiceConfAssign(String ScaleOutServiceConfAssign)
ScaleOutServiceConfAssign
- 预设配置组public Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew
- 0表示关闭自动续费,1表示开启自动续费public String getResourceBaseType()
public void setResourceBaseType(String ResourceBaseType)
ResourceBaseType
- 类型为ComputeResource和EMR以及默认,默认为EMR,类型为EMR时,InstanceId生效,类型为ComputeResource时,使用ComputeResourceId标识public String getComputeResourceId()
public void setComputeResourceId(String ComputeResourceId)
ComputeResourceId
- 计算资源idCopyright © 2024. All rights reserved.