public class UpgradeLaunchConfigurationRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpgradeLaunchConfigurationRequest() |
UpgradeLaunchConfigurationRequest(UpgradeLaunchConfigurationRequest 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 |
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.
|
String |
getDiskTypePolicy()
Get Selection policy of cloud disks.
|
EnhancedService |
getEnhancedService()
Get Enhanced services.
|
HostNameSettings |
getHostNameSettings()
Get CVM hostname settings.
|
String |
getImageId()
Get [Image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-xxx`.
|
InstanceChargePrepaid |
getInstanceChargePrepaid()
Get Details of the monthly subscription, including the purchase period, auto-renewal.
|
String |
getInstanceChargeType()
Get Instance billing type.
|
InstanceMarketOptionsRequest |
getInstanceMarketOptions()
Get Market options of the instance, such as parameters related to spot 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 of public network bandwidth.
|
IPv6InternetAccessible |
getIPv6InternetAccessible()
Get IPv6 public network bandwidth configuration.
|
String |
getLaunchConfigurationId()
Get Launch configuration ID.
|
String |
getLaunchConfigurationName()
Get Display name of the launch configuration, which can contain letters, digits, underscores and hyphens (-), and dots.
|
LoginSettings |
getLoginSettings()
Get This parameter is now invalid and should not be used.
|
Long |
getProjectId()
Get Project ID of the instance.
|
String[] |
getSecurityGroupIds()
Get The security group to which the instance belongs.
|
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 |
setDiskTypePolicy(String DiskTypePolicy)
Set Selection policy of cloud disks.
|
void |
setEnhancedService(EnhancedService EnhancedService)
Set Enhanced services.
|
void |
setHostNameSettings(HostNameSettings HostNameSettings)
Set CVM hostname settings.
|
void |
setImageId(String ImageId)
Set [Image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-xxx`.
|
void |
setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
Set Details of the monthly subscription, including the purchase period, auto-renewal.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Instance billing type.
|
void |
setInstanceMarketOptions(InstanceMarketOptionsRequest InstanceMarketOptions)
Set Market options of the instance, such as parameters related to spot 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 of public network bandwidth.
|
void |
setIPv6InternetAccessible(IPv6InternetAccessible IPv6InternetAccessible)
Set IPv6 public network bandwidth configuration.
|
void |
setLaunchConfigurationId(String LaunchConfigurationId)
Set Launch configuration ID.
|
void |
setLaunchConfigurationName(String LaunchConfigurationName)
Set Display name of the launch configuration, which can contain letters, digits, underscores and hyphens (-), and dots.
|
void |
setLoginSettings(LoginSettings LoginSettings)
Set This parameter is now invalid and should not be used.
|
void |
setProjectId(Long ProjectId)
Set Project ID of the instance.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set The security group to which the instance belongs.
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public UpgradeLaunchConfigurationRequest()
public UpgradeLaunchConfigurationRequest(UpgradeLaunchConfigurationRequest source)
public String getLaunchConfigurationId()
public void setLaunchConfigurationId(String LaunchConfigurationId)
LaunchConfigurationId
- Launch configuration ID.public String getImageId()
public void setImageId(String ImageId)
ImageId
- [Image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-xxx`. There are three 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 letters, digits, underscores and hyphens (-), and dots. Up to of 60 bytes allowed..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 services. You can use this parameter to specify whether to enable services such as Cloud Security and Cloud Monitor. If this parameter is not specified, Cloud Monitor 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 options of the instance, such as parameters related to spot instances. This parameter is required for spot instances.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 of public network bandwidth. If this parameter is not specified, 0 Mbps will be used by default.public LoginSettings getLoginSettings()
public void setLoginSettings(LoginSettings LoginSettings)
LoginSettings
- This parameter is now invalid and should not be used. Upgrading the launch configuration API does not allow modification or overwriting of the LoginSettings parameter. LoginSettings will not change after upgrade.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID of the instance. Leave it blank as the default.public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- The security group to which the instance belongs. 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 used.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 namespublic InstanceChargePrepaid getInstanceChargePrepaid()
public void setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
InstanceChargePrepaid
- Details of the monthly subscription, including the purchase period, auto-renewal. It is required if the `InstanceChargeType` is `PREPAID`.public String getDiskTypePolicy()
public void setDiskTypePolicy(String DiskTypePolicy)
DiskTypePolicy
- Selection policy of cloud disks. Default value: ORIGINAL. Valid values:
public IPv6InternetAccessible getIPv6InternetAccessible()
public void setIPv6InternetAccessible(IPv6InternetAccessible IPv6InternetAccessible)
IPv6InternetAccessible
- IPv6 public network bandwidth configuration. If the IPv6 address is available in the new instance, public network bandwidth can be allocated to the IPv6 address. This parameter is invalid if `Ipv6AddressCount` of the scaling group associated with the launch configuration is 0.Copyright © 2024. All rights reserved.