public class ScaleOutInstanceRequest extends AbstractModel
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 |
---|---|
String |
getClickHouseClusterName()
Get Machine group name selected for ClickHouse cluster scaling-out
|
String |
getClickHouseClusterType()
Get Machine group type selected for ClickHouse cluster scaling-out.
|
String |
getClientToken()
Get Client token.
|
Long |
getCoreCount()
Get Number of core nodes added.
|
String[] |
getDisasterRecoverGroupIds()
Get List of spread placement group IDs.
|
String |
getHardwareResourceType()
Get Resource type selected for expansion.
|
String |
getInstanceId()
Get Instance ID.
|
Long |
getMasterCount()
Get Number of master nodes to be added
|
Long |
getPayMode()
Get Instance billing mode.
|
PodParameter |
getPodParameter()
Get Custom pod permission and parameter
|
PodSpec |
getPodSpec()
Get Specified information such as pod specification and source for expansion with pod resources
|
PreExecuteFileSettings[] |
getPreExecutedFileSettings()
Get Bootstrap script settings.
|
Long |
getRouterCount()
Get Number of router nodes added.
|
Long[] |
getServiceNodeInfo()
Get Started process.
|
Long[] |
getSoftDeployInfo()
Get Deployed service.
|
Tag[] |
getTags()
Get List of tags bound to added nodes.
|
Long |
getTaskCount()
Get Number of task nodes added.
|
Long |
getTimeSpan()
Get Duration of scale-out, which needs to be used together with `TimeUnit`.
|
String |
getTimeUnit()
Get Time unit of scale-out.
|
Long[] |
getUnNecessaryNodeList()
Get Process not required during scale-out.
|
String |
getYarnNodeLabel()
Get YARN node label specified for rule-based scaling-out
|
void |
setClickHouseClusterName(String ClickHouseClusterName)
Set Machine group name selected for ClickHouse cluster scaling-out
|
void |
setClickHouseClusterType(String ClickHouseClusterType)
Set Machine group type selected for ClickHouse cluster scaling-out.
|
void |
setClientToken(String ClientToken)
Set Client token.
|
void |
setCoreCount(Long CoreCount)
Set Number of core nodes added.
|
void |
setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
Set List of spread placement group IDs.
|
void |
setHardwareResourceType(String HardwareResourceType)
Set Resource type selected for expansion.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setMasterCount(Long MasterCount)
Set Number of master nodes to be added
|
void |
setPayMode(Long PayMode)
Set Instance billing mode.
|
void |
setPodParameter(PodParameter PodParameter)
Set Custom pod permission and parameter
|
void |
setPodSpec(PodSpec PodSpec)
Set Specified information such as pod specification and source for expansion with pod resources
|
void |
setPreExecutedFileSettings(PreExecuteFileSettings[] PreExecutedFileSettings)
Set Bootstrap script settings.
|
void |
setRouterCount(Long RouterCount)
Set Number of router nodes added.
|
void |
setServiceNodeInfo(Long[] ServiceNodeInfo)
Set Started process.
|
void |
setSoftDeployInfo(Long[] SoftDeployInfo)
Set Deployed service.
|
void |
setTags(Tag[] Tags)
Set List of tags bound to added nodes.
|
void |
setTaskCount(Long TaskCount)
Set Number of task nodes added.
|
void |
setTimeSpan(Long TimeSpan)
Set Duration of scale-out, which needs to be used together with `TimeUnit`.
|
void |
setTimeUnit(String TimeUnit)
Set Time unit of scale-out.
|
void |
setUnNecessaryNodeList(Long[] UnNecessaryNodeList)
Set Process not required during scale-out.
|
void |
setYarnNodeLabel(String YarnNodeLabel)
Set YARN node label specified for rule-based scaling-out
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ScaleOutInstanceRequest()
public ScaleOutInstanceRequest(ScaleOutInstanceRequest source)
public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- Time unit of scale-out. Valid values:
public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan
- Duration of scale-out, which needs to be used together with `TimeUnit`.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID.public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- Instance billing mode. Valid values:
public String getClientToken()
public void setClientToken(String ClientToken)
ClientToken
- Client token.public PreExecuteFileSettings[] getPreExecutedFileSettings()
public void setPreExecutedFileSettings(PreExecuteFileSettings[] PreExecutedFileSettings)
PreExecutedFileSettings
- Bootstrap script settings.public Long getTaskCount()
public void setTaskCount(Long TaskCount)
TaskCount
- Number of task nodes added.public Long getCoreCount()
public void setCoreCount(Long CoreCount)
CoreCount
- Number of core nodes added.public Long[] getUnNecessaryNodeList()
public void setUnNecessaryNodeList(Long[] UnNecessaryNodeList)
UnNecessaryNodeList
- Process not required during scale-out.public Long getRouterCount()
public void setRouterCount(Long RouterCount)
RouterCount
- Number of router nodes added.public Long[] getSoftDeployInfo()
public void setSoftDeployInfo(Long[] SoftDeployInfo)
SoftDeployInfo
- Deployed service.
public Long[] getServiceNodeInfo()
public void setServiceNodeInfo(Long[] ServiceNodeInfo)
ServiceNodeInfo
- Started process.public String[] getDisasterRecoverGroupIds()
public void setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
DisasterRecoverGroupIds
- List of spread placement group IDs. Only one can be specified currently.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- List of tags bound to added nodes.public String getHardwareResourceType()
public void setHardwareResourceType(String HardwareResourceType)
HardwareResourceType
- Resource type selected for expansion. Valid values: host (general CVM resource), pod (resource provided by TKE cluster)public PodSpec getPodSpec()
public void setPodSpec(PodSpec PodSpec)
PodSpec
- Specified information such as pod specification and source for expansion with pod resourcespublic String getClickHouseClusterName()
public void setClickHouseClusterName(String ClickHouseClusterName)
ClickHouseClusterName
- Machine group name selected for ClickHouse cluster scaling-outpublic String getClickHouseClusterType()
public void setClickHouseClusterType(String ClickHouseClusterType)
ClickHouseClusterType
- Machine group type selected for ClickHouse cluster scaling-out. new: creates a group; old: selects an existing grouppublic String getYarnNodeLabel()
public void setYarnNodeLabel(String YarnNodeLabel)
YarnNodeLabel
- YARN node label specified for rule-based scaling-outpublic PodParameter getPodParameter()
public void setPodParameter(PodParameter PodParameter)
PodParameter
- Custom pod permission and parameterpublic Long getMasterCount()
public void setMasterCount(Long MasterCount)
MasterCount
- Number of master nodes to be addedCopyright © 2021. All rights reserved.