public class UpgradeLaunchConfigurationRequest extends AbstractModel
Constructor and Description |
---|
UpgradeLaunchConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getCamRoleName()
Get CAM role name, which can be obtained from the roleName field in the return value of the DescribeRoleList API.
|
DataDisk[] |
getDataDisks()
Get Information of the instance's data disk configuration.
|
EnhancedService |
getEnhancedService()
Get Enhanced service.
|
HostNameSettings |
getHostNameSettings()
Get CVM HostName settings.
|
String |
getImageId()
Get Valid [image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-8toqc6s3`.
|
InstanceChargePrepaid |
getInstanceChargePrepaid()
Get Advance payment mode, also known as monthly subscription.
|
String |
getInstanceChargeType()
Get Instance billing type.
|
InstanceMarketOptionsRequest |
getInstanceMarketOptions()
Get Market-related options of the instance, such as the parameters related to stop instances.
|
InstanceNameSettings |
getInstanceNameSettings()
Get Settings of CVM instance names.
|
InstanceTag[] |
getInstanceTags()
Get List of tags.
|
String[] |
getInstanceTypes()
Get List of instance models.
|
String |
getInstanceTypesCheckPolicy()
Get Instance type verification policy.
|
InternetAccessible |
getInternetAccessible()
Get Configuration information of public network bandwidth.
|
String |
getLaunchConfigurationId()
Get Launch configuration ID.
|
String |
getLaunchConfigurationName()
Get Display name of the launch configuration, which can contain Chinese characters, letters, numbers, underscores, separators ("-"), and decimal points with a maximum length of 60 bytes.
|
LoginSettings |
getLoginSettings()
Get Login settings of the instance.
|
Long |
getProjectId()
Get Project ID of the instance.
|
String[] |
getSecurityGroupIds()
Get The security group of instance.
|
SystemDisk |
getSystemDisk()
Get System disk configuration of the instance.
|
String |
getUserData()
Get Base64-encoded custom data of up to 16 KB.
|
void |
setCamRoleName(String CamRoleName)
Set CAM role name, which can be obtained from the roleName field in the return value of the DescribeRoleList API.
|
void |
setDataDisks(DataDisk[] DataDisks)
Set Information of the instance's data disk configuration.
|
void |
setEnhancedService(EnhancedService EnhancedService)
Set Enhanced service.
|
void |
setHostNameSettings(HostNameSettings HostNameSettings)
Set CVM HostName settings.
|
void |
setImageId(String ImageId)
Set Valid [image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-8toqc6s3`.
|
void |
setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
Set Advance payment mode, also known as monthly subscription.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Instance billing type.
|
void |
setInstanceMarketOptions(InstanceMarketOptionsRequest InstanceMarketOptions)
Set Market-related options of the instance, such as the parameters related to stop instances.
|
void |
setInstanceNameSettings(InstanceNameSettings InstanceNameSettings)
Set Settings of CVM instance names.
|
void |
setInstanceTags(InstanceTag[] InstanceTags)
Set List of tags.
|
void |
setInstanceTypes(String[] InstanceTypes)
Set List of instance models.
|
void |
setInstanceTypesCheckPolicy(String InstanceTypesCheckPolicy)
Set Instance type verification policy.
|
void |
setInternetAccessible(InternetAccessible InternetAccessible)
Set Configuration information of public network bandwidth.
|
void |
setLaunchConfigurationId(String LaunchConfigurationId)
Set Launch configuration ID.
|
void |
setLaunchConfigurationName(String LaunchConfigurationName)
Set Display name of the launch configuration, which can contain Chinese characters, letters, numbers, underscores, separators ("-"), and decimal points with a maximum length of 60 bytes.
|
void |
setLoginSettings(LoginSettings LoginSettings)
Set Login settings of the instance.
|
void |
setProjectId(Long ProjectId)
Set Project ID of the instance.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set The security group of instance.
|
void |
setSystemDisk(SystemDisk SystemDisk)
Set System disk configuration of the instance.
|
void |
setUserData(String UserData)
Set Base64-encoded custom data of up to 16 KB.
|
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 String getLaunchConfigurationId()
public void setLaunchConfigurationId(String LaunchConfigurationId)
LaunchConfigurationId
- Launch configuration ID.public String getImageId()
public void setImageId(String ImageId)
ImageId
- Valid [image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-8toqc6s3`. There are four types of images: public String[] getInstanceTypes()
public void setInstanceTypes(String[] InstanceTypes)
InstanceTypes
- List of instance models. Different instance models specify different resource specifications. Up to 5 instance models can be supported.public String getLaunchConfigurationName()
public void setLaunchConfigurationName(String LaunchConfigurationName)
LaunchConfigurationName
- Display name of the launch configuration, which can contain Chinese characters, letters, numbers, underscores, separators ("-"), and decimal points with a maximum length of 60 bytes.public DataDisk[] getDataDisks()
public void setDataDisks(DataDisk[] DataDisks)
DataDisks
- Information of the instance's data disk configuration. If this parameter is not specified, no data disk is purchased by default. Up to 11 data disks can be supported.public EnhancedService getEnhancedService()
public void setEnhancedService(EnhancedService EnhancedService)
EnhancedService
- Enhanced service. This parameter is used to specify whether to enable Cloud Security, Cloud Monitoring and other services. If this parameter is not specified, Cloud Monitoring and Cloud Security will be enabled by default.public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- Instance billing type. CVM instances are POSTPAID_BY_HOUR by default.
public InstanceMarketOptionsRequest getInstanceMarketOptions()
public void setInstanceMarketOptions(InstanceMarketOptionsRequest InstanceMarketOptions)
InstanceMarketOptions
- Market-related options of the instance, such as the parameters related to stop instances. If the billing method of instance is specified as bidding, this parameter must be passed in.public String getInstanceTypesCheckPolicy()
public void setInstanceTypesCheckPolicy(String InstanceTypesCheckPolicy)
InstanceTypesCheckPolicy
- Instance type verification policy. Value range: ALL, ANY. Default value: ANY.
public InternetAccessible getInternetAccessible()
public void setInternetAccessible(InternetAccessible InternetAccessible)
InternetAccessible
- Configuration information of public network bandwidth. If this parameter is not specified, the default public network bandwidth is 0 Mbps.public LoginSettings getLoginSettings()
public void setLoginSettings(LoginSettings LoginSettings)
LoginSettings
- Login settings of the instance. This parameter is used to set the login password and key for the instance, or to keep the original login settings for the image. By default, a random password is generated and sent to the user via the internal message.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID of the instance. This parameter can be obtained from the `projectId` field in the returned values of [DescribeProject](https://intl.cloud.tencent.com/document/api/378/4400?from_cn_redirect=1). If this is left empty, default project is used.public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- The security group of instance. This parameter can be obtained by calling the `SecurityGroupId` field in the returned value of [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808?from_cn_redirect=1). If this parameter is not specified, no security group will be bound by default.public SystemDisk getSystemDisk()
public void setSystemDisk(SystemDisk SystemDisk)
SystemDisk
- System disk configuration of the instance. If this parameter is not specified, the default value will be assigned to it.public String getUserData()
public void setUserData(String UserData)
UserData
- Base64-encoded custom data of up to 16 KB.public InstanceTag[] getInstanceTags()
public void setInstanceTags(InstanceTag[] InstanceTags)
InstanceTags
- List of tags. This parameter is used to bind up to 10 tags to newly added instances.public String getCamRoleName()
public void setCamRoleName(String CamRoleName)
CamRoleName
- CAM role name, which can be obtained from the roleName field in the return value of the DescribeRoleList API.public HostNameSettings getHostNameSettings()
public void setHostNameSettings(HostNameSettings HostNameSettings)
HostNameSettings
- CVM HostName settings.public InstanceNameSettings getInstanceNameSettings()
public void setInstanceNameSettings(InstanceNameSettings InstanceNameSettings)
InstanceNameSettings
- Settings of CVM instance names.public InstanceChargePrepaid getInstanceChargePrepaid()
public void setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
InstanceChargePrepaid
- Advance payment mode, also known as monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. This parameter is mandatory for prepaid instances.Copyright © 2020. All rights reserved.