public class ExistedInstancesPara extends AbstractModel
Constructor and Description |
---|
ExistedInstancesPara() |
ExistedInstancesPara(ExistedInstancesPara 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 |
---|---|
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.
|
InstanceAdvancedSettings |
getInstanceAdvancedSettings()
Get Additional parameter to be set for the instance
|
String[] |
getInstanceIds()
Get Cluster ID
|
LoginSettings |
getLoginSettings()
Get Node login information (currently only supports using Password or single KeyIds)
|
String[] |
getSecurityGroupIds()
Get Security group to which the instance belongs.
|
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 |
setInstanceAdvancedSettings(InstanceAdvancedSettings InstanceAdvancedSettings)
Set Additional parameter to be set for the instance
|
void |
setInstanceIds(String[] InstanceIds)
Set Cluster ID
|
void |
setLoginSettings(LoginSettings LoginSettings)
Set Node login information (currently only supports using Password or single KeyIds)
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set Security group to which the instance belongs.
|
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 ExistedInstancesPara()
public ExistedInstancesPara(ExistedInstancesPara source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Cluster IDpublic InstanceAdvancedSettings getInstanceAdvancedSettings()
public void setInstanceAdvancedSettings(InstanceAdvancedSettings InstanceAdvancedSettings)
InstanceAdvancedSettings
- Additional parameter to be set for the instancepublic EnhancedService getEnhancedService()
public void setEnhancedService(EnhancedService EnhancedService)
EnhancedService
- Enhanced services. This parameter is used to specify whether to enable Cloud Security, Cloud Monitor 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[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- Security group to which the instance belongs. This parameter can be obtained from the sgId field in the returned values of DescribeSecurityGroups. If this parameter is not specified, the default security group is bound. (Currently, you can only set a single sgId)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.Copyright © 2023. All rights reserved.