public class LaunchTemplateVersionData extends AbstractModel
header, skipSign
Constructor and Description |
---|
LaunchTemplateVersionData() |
LaunchTemplateVersionData(LaunchTemplateVersionData 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 |
---|---|
ActionTimer |
getActionTimer()
Get Scheduled tasks.
|
String |
getCamRoleName()
Get CAM role name.
|
String |
getClientToken()
Get A string used to ensure the idempotency of the request.
|
DataDisk[] |
getDataDisks()
Get Instance data disk information.
|
Boolean |
getDisableApiTermination()
Get Whether to enable termination protection.
|
String[] |
getDisasterRecoverGroupIds()
Get Placement group ID.
|
EnhancedService |
getEnhancedService()
Get Enhanced service.
|
String |
getHostName()
Get Hostname of a CVM.
|
String |
getHpcClusterId()
Get HPC cluster `ID`.
|
String |
getImageId()
Get `ID` of the image used to create the instance.
|
InstanceChargePrepaid |
getInstanceChargePrepaid()
Get Prepaid mode.
|
String |
getInstanceChargeType()
Get Instance billing mode.
|
Long |
getInstanceCount()
Get Number of instances purchased.
|
InstanceMarketOptionsRequest |
getInstanceMarketOptions()
Get Market options of the instance, such as parameters related to spot instances.
|
String |
getInstanceName()
Get Instance name.
|
String |
getInstanceType()
Get Instance model.
|
InternetAccessible |
getInternetAccessible()
Get Instance bandwidth information.
|
LoginSettings |
getLoginSettings()
Get Login settings of the instance.
|
Placement |
getPlacement()
Get Location of the instance.
|
String[] |
getSecurityGroupIds()
Get Security groups to which the instance belongs.
|
SystemDisk |
getSystemDisk()
Get Instance system disk information.
|
TagSpecification[] |
getTagSpecification()
Get List of tag description.
|
String |
getUserData()
Get User data provided to the instance.
|
VirtualPrivateCloud |
getVirtualPrivateCloud()
Get Information of the VPC where the instance resides.
|
void |
setActionTimer(ActionTimer ActionTimer)
Set Scheduled tasks.
|
void |
setCamRoleName(String CamRoleName)
Set CAM role name.
|
void |
setClientToken(String ClientToken)
Set A string used to ensure the idempotency of the request.
|
void |
setDataDisks(DataDisk[] DataDisks)
Set Instance data disk information.
|
void |
setDisableApiTermination(Boolean DisableApiTermination)
Set Whether to enable termination protection.
|
void |
setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
Set Placement group ID.
|
void |
setEnhancedService(EnhancedService EnhancedService)
Set Enhanced service.
|
void |
setHostName(String HostName)
Set Hostname of a CVM.
|
void |
setHpcClusterId(String HpcClusterId)
Set HPC cluster `ID`.
|
void |
setImageId(String ImageId)
Set `ID` of the image used to create the instance.
|
void |
setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
Set Prepaid mode.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Instance billing mode.
|
void |
setInstanceCount(Long InstanceCount)
Set Number of instances purchased.
|
void |
setInstanceMarketOptions(InstanceMarketOptionsRequest InstanceMarketOptions)
Set Market options of the instance, such as parameters related to spot instances.
|
void |
setInstanceName(String InstanceName)
Set Instance name.
|
void |
setInstanceType(String InstanceType)
Set Instance model.
|
void |
setInternetAccessible(InternetAccessible InternetAccessible)
Set Instance bandwidth information.
|
void |
setLoginSettings(LoginSettings LoginSettings)
Set Login settings of the instance.
|
void |
setPlacement(Placement Placement)
Set Location of the instance.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set Security groups to which the instance belongs.
|
void |
setSystemDisk(SystemDisk SystemDisk)
Set Instance system disk information.
|
void |
setTagSpecification(TagSpecification[] TagSpecification)
Set List of tag description.
|
void |
setUserData(String UserData)
Set User data provided to the instance.
|
void |
setVirtualPrivateCloud(VirtualPrivateCloud VirtualPrivateCloud)
Set Information of the VPC where the instance resides.
|
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 LaunchTemplateVersionData()
public LaunchTemplateVersionData(LaunchTemplateVersionData source)
public Placement getPlacement()
public void setPlacement(Placement Placement)
Placement
- Location of the instance.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- Instance model.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- Instance billing mode. Valid values: public SystemDisk getSystemDisk()
public void setSystemDisk(SystemDisk SystemDisk)
SystemDisk
- Instance system disk information.
Note: This field may return `null`, indicating that no valid values can be obtained.public DataDisk[] getDataDisks()
public void setDataDisks(DataDisk[] DataDisks)
DataDisks
- Instance data disk information. This parameter only covers the data disks purchased together with the instance.
Note: This field may return `null`, indicating that no valid values can be obtained.public InternetAccessible getInternetAccessible()
public void setInternetAccessible(InternetAccessible InternetAccessible)
InternetAccessible
- Instance bandwidth information.
Note: This field may return `null`, indicating that no valid values can be obtained.public VirtualPrivateCloud getVirtualPrivateCloud()
public void setVirtualPrivateCloud(VirtualPrivateCloud VirtualPrivateCloud)
VirtualPrivateCloud
- Information of the VPC where the instance resides.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getImageId()
public void setImageId(String ImageId)
ImageId
- `ID` of the image used to create the instance.
Note: This field may return `null`, indicating that no valid values can be obtained.public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- Security groups to which the instance belongs. To obtain the security group IDs, you can call [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808) and look for the `sgld` fields in the response.
Note: This field may return `null`, indicating that no valid values can be obtained.public LoginSettings getLoginSettings()
public void setLoginSettings(LoginSettings LoginSettings)
LoginSettings
- Login settings of the instance. Currently, only the key associated with the instance is returned.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getCamRoleName()
public void setCamRoleName(String CamRoleName)
CamRoleName
- CAM role name.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getHpcClusterId()
public void setHpcClusterId(String HpcClusterId)
HpcClusterId
- HPC cluster `ID`.
Note: This field may return `null`, indicating that no valid values can be obtained.public Long getInstanceCount()
public void setInstanceCount(Long InstanceCount)
InstanceCount
- Number of instances purchased.
Note: This field may return `null`, indicating that no valid values can be obtained.public EnhancedService getEnhancedService()
public void setEnhancedService(EnhancedService EnhancedService)
EnhancedService
- Enhanced service.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getUserData()
public void setUserData(String UserData)
UserData
- User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16KB.
Note: This field may return `null`, indicating that no valid values can be obtained.public String[] getDisasterRecoverGroupIds()
public void setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
DisasterRecoverGroupIds
- Placement group ID. You can only specify one.
Note: This field may return `null`, indicating that no valid values can be obtained.public ActionTimer getActionTimer()
public void setActionTimer(ActionTimer ActionTimer)
ActionTimer
- Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
Note: This field may return `null`, indicating that no valid values can be obtained.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.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getHostName()
public void setHostName(String HostName)
HostName
- Hostname of a CVM.
Note: This field may return `null`, indicating that no valid values can be obtained.public String getClientToken()
public void setClientToken(String ClientToken)
ClientToken
- A string used to ensure the idempotency of the request.
Note: This field may return `null`, indicating that no valid values can be obtained.public InstanceChargePrepaid getInstanceChargePrepaid()
public void setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
InstanceChargePrepaid
- Prepaid mode. This parameter indicates relevant parameter settings for monthly-subscribed instances.
Note: This field may return `null`, indicating that no valid values can be obtained.public TagSpecification[] getTagSpecification()
public void setTagSpecification(TagSpecification[] TagSpecification)
TagSpecification
- List of tag description. By specifying this parameter, the tag can be bound to the corresponding CVM and CBS instances at the same time.
Note: This field may return `null`, indicating that no valid values can be obtained.public Boolean getDisableApiTermination()
public void setDisableApiTermination(Boolean DisableApiTermination)
DisableApiTermination
- Whether to enable termination protection. Valid values:
TRUE: Termination protection is enabled.
FALSE: Termination protection is disabled.
Default value: `FALSE`.
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.