public class RunInstancesForNode extends AbstractModel
Constructor and Description |
---|
RunInstancesForNode() |
RunInstancesForNode(RunInstancesForNode 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 |
---|---|
InstanceAdvancedSettings[] |
getInstanceAdvancedSettingsOverrides()
Get An advanced node setting.
|
String |
getNodeRole()
Get Node role.
|
String[] |
getRunInstancesPara()
Get Pass-through parameter for CVM creation in the format of a JSON string.
|
void |
setInstanceAdvancedSettingsOverrides(InstanceAdvancedSettings[] InstanceAdvancedSettingsOverrides)
Set An advanced node setting.
|
void |
setNodeRole(String NodeRole)
Set Node role.
|
void |
setRunInstancesPara(String[] RunInstancesPara)
Set Pass-through parameter for CVM creation in the format of a JSON string.
|
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 RunInstancesForNode()
public RunInstancesForNode(RunInstancesForNode source)
public String getNodeRole()
public void setNodeRole(String NodeRole)
NodeRole
- Node role. Values: MASTER_ETCD, WORKER. You only need to specify MASTER_ETCD when creating a self-deployed cluster (INDEPENDENT_CLUSTER).public String[] getRunInstancesPara()
public void setRunInstancesPara(String[] RunInstancesPara)
RunInstancesPara
- Pass-through parameter for CVM creation in the format of a JSON string. For more information, see the API for [creating a CVM instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1). Pass any parameter other than common parameters. ImageId will be replaced with the image corresponding to the TKE cluster operating system.public InstanceAdvancedSettings[] getInstanceAdvancedSettingsOverrides()
public void setInstanceAdvancedSettingsOverrides(InstanceAdvancedSettings[] InstanceAdvancedSettingsOverrides)
InstanceAdvancedSettingsOverrides
- An advanced node setting. This parameter overrides the InstanceAdvancedSettings item set at the cluster level and corresponds to RunInstancesPara in a one-to-one sequential manner (currently valid for the ExtraArgs node custom parameter only).Copyright © 2023. All rights reserved.