public class AddExistedInstancesRequest extends AbstractModel
Constructor and Description |
---|
AddExistedInstancesRequest() |
AddExistedInstancesRequest(AddExistedInstancesRequest 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 |
getClusterId()
Get Cluster ID
|
EnhancedService |
getEnhancedService()
Get Enhanced services.
|
String |
getHostName()
Get When reinstalling the system, you can specify the HostName of the modified instance (when the cluster is in HostName mode, this parameter is required, and the rule name is the same as the [Create CVM Instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API HostName except for uppercase letters not being supported.
|
String |
getImageId()
Get Node image
|
InstanceAdvancedSettings |
getInstanceAdvancedSettings()
Get Detailed information of the instance
|
InstanceAdvancedSettings[] |
getInstanceAdvancedSettingsOverrides()
Get This parameter is used to customize the configuration of an instance, which corresponds to the `InstanceIds` one-to-one in sequence.
|
String[] |
getInstanceIds()
Get Instance list.
|
LoginSettings |
getLoginSettings()
Get Node login information (currently only supports using Password or single KeyIds)
|
NodePoolOption |
getNodePool()
Get Node pool options
|
String[] |
getSecurityGroupIds()
Get Security group to which the instance belongs.
|
String[] |
getSkipValidateOptions()
Get Skips the specified verification.
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setEnhancedService(EnhancedService EnhancedService)
Set Enhanced services.
|
void |
setHostName(String HostName)
Set When reinstalling the system, you can specify the HostName of the modified instance (when the cluster is in HostName mode, this parameter is required, and the rule name is the same as the [Create CVM Instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API HostName except for uppercase letters not being supported.
|
void |
setImageId(String ImageId)
Set Node image
|
void |
setInstanceAdvancedSettings(InstanceAdvancedSettings InstanceAdvancedSettings)
Set Detailed information of the instance
|
void |
setInstanceAdvancedSettingsOverrides(InstanceAdvancedSettings[] InstanceAdvancedSettingsOverrides)
Set This parameter is used to customize the configuration of an instance, which corresponds to the `InstanceIds` one-to-one in sequence.
|
void |
setInstanceIds(String[] InstanceIds)
Set Instance list.
|
void |
setLoginSettings(LoginSettings LoginSettings)
Set Node login information (currently only supports using Password or single KeyIds)
|
void |
setNodePool(NodePoolOption NodePool)
Set Node pool options
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set Security group to which the instance belongs.
|
void |
setSkipValidateOptions(String[] SkipValidateOptions)
Set Skips the specified verification.
|
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 AddExistedInstancesRequest()
public AddExistedInstancesRequest(AddExistedInstancesRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster IDpublic String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Instance list. Spot instance is not supported.public InstanceAdvancedSettings getInstanceAdvancedSettings()
public void setInstanceAdvancedSettings(InstanceAdvancedSettings InstanceAdvancedSettings)
InstanceAdvancedSettings
- Detailed information of the instancepublic EnhancedService getEnhancedService()
public void setEnhancedService(EnhancedService EnhancedService)
EnhancedService
- Enhanced services. This parameter is used to specify whether to enable Cloud Security, Cloud Monitoring and other services. If this parameter is not specified, Cloud Monitor and Cloud Security are enabled by default.public LoginSettings getLoginSettings()
public void setLoginSettings(LoginSettings LoginSettings)
LoginSettings
- Node login information (currently only supports using Password or single KeyIds)public String getHostName()
public void setHostName(String HostName)
HostName
- When reinstalling the system, you can specify the HostName of the modified instance (when the cluster is in HostName mode, this parameter is required, and the rule name is the same as the [Create CVM Instance](https://intl.cloud.tencent.com/document/product/213/15730?from_cn_redirect=1) API HostName except for uppercase letters not being supported.public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- Security group to which the instance belongs. This parameter can be obtained from the `sgId` field returned by DescribeSecurityGroups. If this parameter is not specified, the default security group is bound. (Currently, you can only set a single sgId)public NodePoolOption getNodePool()
public void setNodePool(NodePoolOption NodePool)
NodePool
- Node pool optionspublic String[] getSkipValidateOptions()
public void setSkipValidateOptions(String[] SkipValidateOptions)
SkipValidateOptions
- Skips the specified verification. Valid values: GlobalRouteCIDRCheck, VpcCniCIDRCheckpublic InstanceAdvancedSettings[] getInstanceAdvancedSettingsOverrides()
public void setInstanceAdvancedSettingsOverrides(InstanceAdvancedSettings[] InstanceAdvancedSettingsOverrides)
InstanceAdvancedSettingsOverrides
- This parameter is used to customize the configuration of an instance, which corresponds to the `InstanceIds` one-to-one in sequence. If this parameter is passed in, the default parameter `InstanceAdvancedSettings` will be overwritten and will not take effect. If this parameter is not passed in, the `InstanceAdvancedSettings` will take effect for each instance.
The array length of `InstanceAdvancedSettingsOverride` should be the same as the array length of `InstanceIds`. If its array length is greater than the `InstanceIds` array length, an error will be reported. If its array length is less than the `InstanceIds` array length, the instance without corresponding configuration will use the default configuration.public String getImageId()
public void setImageId(String ImageId)
ImageId
- Node imageCopyright © 2023. All rights reserved.