public class ExistedInstancesForNode extends AbstractModel
Constructor and Description |
---|
ExistedInstancesForNode() |
ExistedInstancesForNode(ExistedInstancesForNode 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[] |
getDesiredPodNumbers()
Get When the custom PodCIDR mode is enabled for the cluster, you can specify the maximum number of pods per node.
|
ExistedInstancesPara |
getExistedInstancesPara()
Get Reinstallation parameter of existing instances
|
InstanceAdvancedSettings |
getInstanceAdvancedSettingsOverride()
Get Advanced node setting, which overrides the InstanceAdvancedSettings item set at the cluster level (currently valid for the ExtraArgs node custom parameter only)
|
String |
getNodeRole()
Get Node role.
|
void |
setDesiredPodNumbers(Long[] DesiredPodNumbers)
Set When the custom PodCIDR mode is enabled for the cluster, you can specify the maximum number of pods per node.
|
void |
setExistedInstancesPara(ExistedInstancesPara ExistedInstancesPara)
Set Reinstallation parameter of existing instances
|
void |
setInstanceAdvancedSettingsOverride(InstanceAdvancedSettings InstanceAdvancedSettingsOverride)
Set Advanced node setting, which overrides the InstanceAdvancedSettings item set at the cluster level (currently valid for the ExtraArgs node custom parameter only)
|
void |
setNodeRole(String NodeRole)
Set Node role.
|
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 ExistedInstancesForNode()
public ExistedInstancesForNode(ExistedInstancesForNode 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 ExistedInstancesPara getExistedInstancesPara()
public void setExistedInstancesPara(ExistedInstancesPara ExistedInstancesPara)
ExistedInstancesPara
- Reinstallation parameter of existing instancespublic InstanceAdvancedSettings getInstanceAdvancedSettingsOverride()
public void setInstanceAdvancedSettingsOverride(InstanceAdvancedSettings InstanceAdvancedSettingsOverride)
InstanceAdvancedSettingsOverride
- Advanced node setting, which overrides the InstanceAdvancedSettings item set at the cluster level (currently valid for the ExtraArgs node custom parameter only)public Long[] getDesiredPodNumbers()
public void setDesiredPodNumbers(Long[] DesiredPodNumbers)
DesiredPodNumbers
- When the custom PodCIDR mode is enabled for the cluster, you can specify the maximum number of pods per node.Copyright © 2023. All rights reserved.