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 Whether to enable auto-renewal.
|
String |
getClickHouseClusterName()
Get Server group name selected for ClickHouse cluster scale-out.
|
String |
getClickHouseClusterType()
Get Server group type selected for ClickHouse cluster scale-out.
|
String |
getClientToken()
Get Client token.
|
Long |
getCoreCount()
Get Number of core nodes to be added.
|
String[] |
getDisasterRecoverGroupIds()
Get List of spread placement group IDs.
|
String |
getHardwareResourceType()
Get Resource type selected for scaling.
|
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 scale-out with pod resources.
|
PreExecuteFileSettings[] |
getPreExecutedFileSettings()
Get Bootstrap script settings.
|
Long |
getRouterCount()
Get Number of router nodes to be added.
|
String |
getScaleOutServiceConfAssign()
Get Pre-defined configuration set
|
Long[] |
getServiceNodeInfo()
Get Started process.
|
Long[] |
getSoftDeployInfo()
Get Deployed service.
|
String |
getStartServiceAfterScaleOut()
Get Whether to start the service after scale-out.
|
String |
getSubnetId()
Get Subnet, which defaults to the subnet used when the cluster is created.
|
Tag[] |
getTags()
Get List of tags bound to added nodes.
|
Long |
getTaskCount()
Get Number of task nodes to be added.
|
Long |
getTimeSpan()
Get Time span of scale-out, which needs to be used together with `TimeUnit`.
|
String |
getTimeUnit()
Get Time unit of scale-out.
|
Long[] |
getUnNecessaryNodeList()
Get Processes unnecessary for scale-out.
|
String |
getYarnNodeLabel()
Get Yarn node label specified for rule-based scale-out.
|
Long |
getZoneId()
Get AZ, which defaults to the primary AZ of the cluster.
|
void |
setAutoRenew(Long AutoRenew)
Set Whether to enable auto-renewal.
|
void |
setClickHouseClusterName(String ClickHouseClusterName)
Set Server group name selected for ClickHouse cluster scale-out.
|
void |
setClickHouseClusterType(String ClickHouseClusterType)
Set Server group type selected for ClickHouse cluster scale-out.
|
void |
setClientToken(String ClientToken)
Set Client token.
|
void |
setCoreCount(Long CoreCount)
Set Number of core nodes to be added.
|
void |
setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
Set List of spread placement group IDs.
|
void |
setHardwareResourceType(String HardwareResourceType)
Set Resource type selected for scaling.
|
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 scale-out with pod resources.
|
void |
setPreExecutedFileSettings(PreExecuteFileSettings[] PreExecutedFileSettings)
Set Bootstrap script settings.
|
void |
setRouterCount(Long RouterCount)
Set Number of router nodes to be added.
|
void |
setScaleOutServiceConfAssign(String ScaleOutServiceConfAssign)
Set Pre-defined configuration set
|
void |
setServiceNodeInfo(Long[] ServiceNodeInfo)
Set Started process.
|
void |
setSoftDeployInfo(Long[] SoftDeployInfo)
Set Deployed service.
|
void |
setStartServiceAfterScaleOut(String StartServiceAfterScaleOut)
Set Whether to start the service after scale-out.
|
void |
setSubnetId(String SubnetId)
Set Subnet, which defaults to the subnet used when the cluster is created.
|
void |
setTags(Tag[] Tags)
Set List of tags bound to added nodes.
|
void |
setTaskCount(Long TaskCount)
Set Number of task nodes to be added.
|
void |
setTimeSpan(Long TimeSpan)
Set Time span 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 Processes unnecessary for scale-out.
|
void |
setYarnNodeLabel(String YarnNodeLabel)
Set Yarn node label specified for rule-based scale-out.
|
void |
setZoneId(Long ZoneId)
Set AZ, which defaults to the primary AZ of the cluster.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, 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
- Time span 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 value:
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 to be added.public Long getCoreCount()
public void setCoreCount(Long CoreCount)
CoreCount
- Number of core nodes to be added.public Long[] getUnNecessaryNodeList()
public void setUnNecessaryNodeList(Long[] UnNecessaryNodeList)
UnNecessaryNodeList
- Processes unnecessary for scale-out.public Long getRouterCount()
public void setRouterCount(Long RouterCount)
RouterCount
- Number of router nodes to be 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 scaling. Valid values: `host` (general CVM resource) and `pod` (resource provided by TKE or EKS cluster).public PodSpec getPodSpec()
public void setPodSpec(PodSpec PodSpec)
PodSpec
- Specified information such as pod specification and source for scale-out with pod resources.public String getClickHouseClusterName()
public void setClickHouseClusterName(String ClickHouseClusterName)
ClickHouseClusterName
- Server group name selected for ClickHouse cluster scale-out.public String getClickHouseClusterType()
public void setClickHouseClusterType(String ClickHouseClusterType)
ClickHouseClusterType
- Server group type selected for ClickHouse cluster scale-out. Valid values: `new` (create a group) and `old` (select an existing group).public String getYarnNodeLabel()
public void setYarnNodeLabel(String YarnNodeLabel)
YarnNodeLabel
- Yarn node label specified for rule-based scale-out.public 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 added.
When a ClickHouse cluster is scaled, this parameter does not take effect.
When a Kafka cluster is scaled, this parameter does not take effect.
When `HardwareResourceType` is `pod`, this parameter does not take effect.public String getStartServiceAfterScaleOut()
public void setStartServiceAfterScaleOut(String StartServiceAfterScaleOut)
StartServiceAfterScaleOut
- Whether to start the service after scale-out. `true`: Yes; `false`: No.public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- AZ, which defaults to the primary AZ of the cluster.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet, which defaults to the subnet used when the cluster is created.public String getScaleOutServiceConfAssign()
public void setScaleOutServiceConfAssign(String ScaleOutServiceConfAssign)
ScaleOutServiceConfAssign
- Pre-defined configuration setpublic Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew
- Whether to enable auto-renewal. Valid values: `0` (no), `1` (yes).Copyright © 2024. All rights reserved.