public class ScaleOutInstanceRequest extends AbstractModel
Constructor and Description |
---|
ScaleOutInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
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 |
getPayMode()
Get Instance billing mode.
|
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.
|
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 |
setPayMode(Long PayMode)
Set Instance billing mode.
|
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 |
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 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 resourcesCopyright © 2020. All rights reserved.