public class CreateClusterRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateClusterRequest() |
CreateClusterRequest(CreateClusterRequest 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 |
---|---|
ClusterAdvancedSettings |
getClusterAdvancedSettings()
Get Advanced configuration information of the cluster
|
ClusterBasicSettings |
getClusterBasicSettings()
Get Basic configuration information of the cluster
|
ClusterCIDRSettings |
getClusterCIDRSettings()
Get Container networking configuration information for the cluster
|
String |
getClusterType()
Get Cluster type.
|
ExistedInstancesForNode[] |
getExistedInstancesForNode()
Get The configuration information for existing instances.
|
ExtensionAddon[] |
getExtensionAddons()
Get Information of the add-on to be installed
|
InstanceAdvancedSettings |
getInstanceAdvancedSettings()
Get Advanced configuration information of the node
|
InstanceDataDiskMountSetting[] |
getInstanceDataDiskMountSettings()
Get CVM type and the corresponding data disk mounting configuration information.
|
RunInstancesForNode[] |
getRunInstancesForNode()
Get Pass-through parameter for CVM creation in the format of a JSON string.
|
void |
setClusterAdvancedSettings(ClusterAdvancedSettings ClusterAdvancedSettings)
Set Advanced configuration information of the cluster
|
void |
setClusterBasicSettings(ClusterBasicSettings ClusterBasicSettings)
Set Basic configuration information of the cluster
|
void |
setClusterCIDRSettings(ClusterCIDRSettings ClusterCIDRSettings)
Set Container networking configuration information for the cluster
|
void |
setClusterType(String ClusterType)
Set Cluster type.
|
void |
setExistedInstancesForNode(ExistedInstancesForNode[] ExistedInstancesForNode)
Set The configuration information for existing instances.
|
void |
setExtensionAddons(ExtensionAddon[] ExtensionAddons)
Set Information of the add-on to be installed
|
void |
setInstanceAdvancedSettings(InstanceAdvancedSettings InstanceAdvancedSettings)
Set Advanced configuration information of the node
|
void |
setInstanceDataDiskMountSettings(InstanceDataDiskMountSetting[] InstanceDataDiskMountSettings)
Set CVM type and the corresponding data disk mounting configuration information.
|
void |
setRunInstancesForNode(RunInstancesForNode[] RunInstancesForNode)
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateClusterRequest()
public CreateClusterRequest(CreateClusterRequest source)
public ClusterCIDRSettings getClusterCIDRSettings()
public void setClusterCIDRSettings(ClusterCIDRSettings ClusterCIDRSettings)
ClusterCIDRSettings
- Container networking configuration information for the clusterpublic String getClusterType()
public void setClusterType(String ClusterType)
ClusterType
- Cluster type. Managed cluster: MANAGED_CLUSTER; self-deployed cluster: INDEPENDENT_CLUSTER.public RunInstancesForNode[] getRunInstancesForNode()
public void setRunInstancesForNode(RunInstancesForNode[] RunInstancesForNode)
RunInstancesForNode
- 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).public ClusterBasicSettings getClusterBasicSettings()
public void setClusterBasicSettings(ClusterBasicSettings ClusterBasicSettings)
ClusterBasicSettings
- Basic configuration information of the clusterpublic ClusterAdvancedSettings getClusterAdvancedSettings()
public void setClusterAdvancedSettings(ClusterAdvancedSettings ClusterAdvancedSettings)
ClusterAdvancedSettings
- Advanced configuration information of the clusterpublic InstanceAdvancedSettings getInstanceAdvancedSettings()
public void setInstanceAdvancedSettings(InstanceAdvancedSettings InstanceAdvancedSettings)
InstanceAdvancedSettings
- Advanced configuration information of the nodepublic ExistedInstancesForNode[] getExistedInstancesForNode()
public void setExistedInstancesForNode(ExistedInstancesForNode[] ExistedInstancesForNode)
ExistedInstancesForNode
- The configuration information for existing instances. All instances must be in the same VPC. Up to 100 instances are allowed in one VPC. Spot instances are not supported.public InstanceDataDiskMountSetting[] getInstanceDataDiskMountSettings()
public void setInstanceDataDiskMountSettings(InstanceDataDiskMountSetting[] InstanceDataDiskMountSettings)
InstanceDataDiskMountSettings
- CVM type and the corresponding data disk mounting configuration information.public ExtensionAddon[] getExtensionAddons()
public void setExtensionAddons(ExtensionAddon[] ExtensionAddons)
ExtensionAddons
- Information of the add-on to be installedCopyright © 2024. All rights reserved.