public class ScaleOutClusterRequest extends AbstractModel
Constructor and Description |
---|
ScaleOutClusterRequest() |
ScaleOutClusterRequest(ScaleOutClusterRequest 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 The server group name selected for ClickHouse cluster scale-out.
|
String |
getClickHouseClusterType()
Get The server group type selected for ClickHouse cluster scale-out.
|
String |
getClientToken()
Get A unique random token, which is valid for 5 minutes and needs to be specified by the caller to prevent the client from repeatedly creating resources.
|
String[] |
getDisasterRecoverGroupIds()
Get The list of spread placement group IDs.
|
Boolean |
getEnableStartServiceFlag()
Get Whether to start services after scale-out.
|
String |
getHardwareSourceType()
Get The type of resources to add.
|
InstanceChargePrepaid |
getInstanceChargePrepaid()
Get The details of the monthly subscription, including the instance period and auto-renewal.
|
String |
getInstanceChargeType()
Get The node billing mode.
|
String |
getInstanceId()
Get The cluster instance ID.
|
PodSpecInfo |
getPodSpecInfo()
Get The pod resource information.
|
NodeResourceSpec |
getResourceSpec()
Get The spec settings.
|
ScaleOutNodeConfig |
getScaleOutNodeConfig()
Get The type and number of nodes to be added.
|
ScriptBootstrapActionConfig[] |
getScriptBootstrapActionConfig()
Get The [Bootstrap action](https://intl.cloud.tencent.com/document/product/589/35656?from_cn_redirect=1) script settings.
|
Long[] |
getServiceNodeInfo()
Get The processes to be deployed.
|
Long[] |
getSoftDeployInfo()
Get The services to be deployed for new nodes.
|
String |
getSubnetId()
Get The subnet, which defaults to the subnet used when the cluster is created.
|
Tag[] |
getTags()
Get The list of tags bound to added nodes.
|
String |
getYarnNodeLabel()
Get The YARN node label specified for scale-out.
|
String |
getZone()
Get The ID of the AZ where the instance resides, such as `ap-guangzhou-1`.
|
void |
setClickHouseClusterName(String ClickHouseClusterName)
Set The server group name selected for ClickHouse cluster scale-out.
|
void |
setClickHouseClusterType(String ClickHouseClusterType)
Set The server group type selected for ClickHouse cluster scale-out.
|
void |
setClientToken(String ClientToken)
Set A unique random token, which is valid for 5 minutes and needs to be specified by the caller to prevent the client from repeatedly creating resources.
|
void |
setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
Set The list of spread placement group IDs.
|
void |
setEnableStartServiceFlag(Boolean EnableStartServiceFlag)
Set Whether to start services after scale-out.
|
void |
setHardwareSourceType(String HardwareSourceType)
Set The type of resources to add.
|
void |
setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
Set The details of the monthly subscription, including the instance period and auto-renewal.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set The node billing mode.
|
void |
setInstanceId(String InstanceId)
Set The cluster instance ID.
|
void |
setPodSpecInfo(PodSpecInfo PodSpecInfo)
Set The pod resource information.
|
void |
setResourceSpec(NodeResourceSpec ResourceSpec)
Set The spec settings.
|
void |
setScaleOutNodeConfig(ScaleOutNodeConfig ScaleOutNodeConfig)
Set The type and number of nodes to be added.
|
void |
setScriptBootstrapActionConfig(ScriptBootstrapActionConfig[] ScriptBootstrapActionConfig)
Set The [Bootstrap action](https://intl.cloud.tencent.com/document/product/589/35656?from_cn_redirect=1) script settings.
|
void |
setServiceNodeInfo(Long[] ServiceNodeInfo)
Set The processes to be deployed.
|
void |
setSoftDeployInfo(Long[] SoftDeployInfo)
Set The services to be deployed for new nodes.
|
void |
setSubnetId(String SubnetId)
Set The subnet, which defaults to the subnet used when the cluster is created.
|
void |
setTags(Tag[] Tags)
Set The list of tags bound to added nodes.
|
void |
setYarnNodeLabel(String YarnNodeLabel)
Set The YARN node label specified for scale-out.
|
void |
setZone(String Zone)
Set The ID of the AZ where the instance resides, such as `ap-guangzhou-1`.
|
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 ScaleOutClusterRequest()
public ScaleOutClusterRequest(ScaleOutClusterRequest source)
public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- The node billing mode. Valid values:
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- The cluster instance ID.public ScaleOutNodeConfig getScaleOutNodeConfig()
public void setScaleOutNodeConfig(ScaleOutNodeConfig ScaleOutNodeConfig)
ScaleOutNodeConfig
- The type and number of nodes to be added.public String getClientToken()
public void setClientToken(String ClientToken)
ClientToken
- A unique random token, which is valid for 5 minutes and needs to be specified by the caller to prevent the client from repeatedly creating resources. An example value is `a9a90aa6-751a-41b6-aad6-fae36063280`.public InstanceChargePrepaid getInstanceChargePrepaid()
public void setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
InstanceChargePrepaid
- The details of the monthly subscription, including the instance period and auto-renewal. It is required if the `InstanceChargeType` is `PREPAID`.public ScriptBootstrapActionConfig[] getScriptBootstrapActionConfig()
public void setScriptBootstrapActionConfig(ScriptBootstrapActionConfig[] ScriptBootstrapActionConfig)
ScriptBootstrapActionConfig
- The [Bootstrap action](https://intl.cloud.tencent.com/document/product/589/35656?from_cn_redirect=1) script settings.public Long[] getSoftDeployInfo()
public void setSoftDeployInfo(Long[] SoftDeployInfo)
SoftDeployInfo
- The services to be deployed for new nodes. By default, new nodes will inherit all services deployed for the current node type. Deployed services include default optional services. This parameter only supports optional services. For example, if `HDFS`, `YARN`, and `Impala` have been deployed for existing task nodes, only `HDFS` and `YARN` are passed in with this parameter if `Impala` is not deployed during the task node scale-out with API.public Long[] getServiceNodeInfo()
public void setServiceNodeInfo(Long[] ServiceNodeInfo)
ServiceNodeInfo
- The processes to be deployed. All processes for services to be added are deployed by default. Deployed processes can be changed. For example, `HDFS`, `YARN`, and `Impala` have been deployed for current task nodes, and default services are `DataNode`, `NodeManager`, and `ImpalaServer`; if you want to change deployed processes, you can set this parameter to `DataNode,NodeManager,ImpalaServerCoordinator` or `DataNode,NodeManager,ImpalaServerExecutor`.public String[] getDisasterRecoverGroupIds()
public void setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
DisasterRecoverGroupIds
- The list of spread placement group IDs. Only one can be specified.
You can call the [DescribeDisasterRecoverGroups](https://intl.cloud.tencent.com/document/product/213/17810?from_cn_redirect=1) API and obtain this parameter from the `DisasterRecoverGroupId` field in the response.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- The list of tags bound to added nodes.public String getHardwareSourceType()
public void setHardwareSourceType(String HardwareSourceType)
HardwareSourceType
- The type of resources to add. Valid values: `host` (general CVM resources) and `pod` (resources provided by a TKE or EKS cluster).public PodSpecInfo getPodSpecInfo()
public void setPodSpecInfo(PodSpecInfo PodSpecInfo)
PodSpecInfo
- The pod resource information.public String getClickHouseClusterName()
public void setClickHouseClusterName(String ClickHouseClusterName)
ClickHouseClusterName
- The server group name selected for ClickHouse cluster scale-out.public String getClickHouseClusterType()
public void setClickHouseClusterType(String ClickHouseClusterType)
ClickHouseClusterType
- The 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
- The YARN node label specified for scale-out.public Boolean getEnableStartServiceFlag()
public void setEnableStartServiceFlag(Boolean EnableStartServiceFlag)
EnableStartServiceFlag
- Whether to start services after scale-out.
public NodeResourceSpec getResourceSpec()
public void setResourceSpec(NodeResourceSpec ResourceSpec)
ResourceSpec
- The spec settings.public String getZone()
public void setZone(String Zone)
Zone
- The ID of the AZ where the instance resides, such as `ap-guangzhou-1`. You can call the [DescribeZones](https://intl.cloud.tencent.com/document/product/213/15707?from_cn_redirect=1) API and obtain this ID from the `Zone` field in the response.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- The subnet, which defaults to the subnet used when the cluster is created.Copyright © 2023. All rights reserved.