public class EnvData extends AbstractModel
Constructor and Description |
---|
EnvData() |
Modifier and Type | Method and Description |
---|---|
DataDisk[] |
getDataDisks()
Get Information of the instance's data disk configuration
|
EnhancedService |
getEnhancedService()
Get Enhanced service.
|
String |
getImageId()
Get CVM image ID
|
String |
getInstanceChargeType()
Get CVM instance billing method
POSTPAID_BY_HOUR: pay-as-you-go by the hour SPOTPAID: bidding Default value: POSTPAID_BY_HOUR. |
InstanceMarketOptionsRequest |
getInstanceMarketOptions()
Get Market-related options of the instance, such as parameters related to spot instance
|
String |
getInstanceName()
Get CVM instance display name
|
String |
getInstanceType()
Get CVM instance type, which cannot be present together with InstanceTypes or InstanceTypeOptions at the same time.
|
InstanceTypeOptions |
getInstanceTypeOptions()
Get CVM instance model configuration, which cannot be present together with InstanceType or InstanceTypes at the same time.
|
String[] |
getInstanceTypes()
Get List of CVM instance types, which cannot be present together with InstanceType or InstanceTypeOptions at the same time.
|
InternetAccessible |
getInternetAccessible()
Get Information of the public network bandwidth configuration
|
LoginSettings |
getLoginSettings()
Get Instance login settings
|
String[] |
getSecurityGroupIds()
Get Security group of the instance
|
SystemDisk |
getSystemDisk()
Get Information of the instance's system disk configuration
|
VirtualPrivateCloud |
getVirtualPrivateCloud()
Get Information of the VPC configuration, which cannot be specified together with Zones and VirtualPrivateClouds.
|
VirtualPrivateCloud[] |
getVirtualPrivateClouds()
Get List of VPCs (creation of CVM instances across VPCs is supported), which cannot be specified together with VirtualPrivateCloud or Zones at the same time.
|
String[] |
getZones()
Get List of availability zones (creation of CVM instances across availability zones is supported), which cannot be specified together with VirtualPrivateCloud or VirtualPrivateClouds at the same time.
|
void |
setDataDisks(DataDisk[] DataDisks)
Set Information of the instance's data disk configuration
|
void |
setEnhancedService(EnhancedService EnhancedService)
Set Enhanced service.
|
void |
setImageId(String ImageId)
Set CVM image ID
|
void |
setInstanceChargeType(String InstanceChargeType)
Set CVM instance billing method
POSTPAID_BY_HOUR: pay-as-you-go by the hour SPOTPAID: bidding Default value: POSTPAID_BY_HOUR. |
void |
setInstanceMarketOptions(InstanceMarketOptionsRequest InstanceMarketOptions)
Set Market-related options of the instance, such as parameters related to spot instance
|
void |
setInstanceName(String InstanceName)
Set CVM instance display name
|
void |
setInstanceType(String InstanceType)
Set CVM instance type, which cannot be present together with InstanceTypes or InstanceTypeOptions at the same time.
|
void |
setInstanceTypeOptions(InstanceTypeOptions InstanceTypeOptions)
Set CVM instance model configuration, which cannot be present together with InstanceType or InstanceTypes at the same time.
|
void |
setInstanceTypes(String[] InstanceTypes)
Set List of CVM instance types, which cannot be present together with InstanceType or InstanceTypeOptions at the same time.
|
void |
setInternetAccessible(InternetAccessible InternetAccessible)
Set Information of the public network bandwidth configuration
|
void |
setLoginSettings(LoginSettings LoginSettings)
Set Instance login settings
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set Security group of the instance
|
void |
setSystemDisk(SystemDisk SystemDisk)
Set Information of the instance's system disk configuration
|
void |
setVirtualPrivateCloud(VirtualPrivateCloud VirtualPrivateCloud)
Set Information of the VPC configuration, which cannot be specified together with Zones and VirtualPrivateClouds.
|
void |
setVirtualPrivateClouds(VirtualPrivateCloud[] VirtualPrivateClouds)
Set List of VPCs (creation of CVM instances across VPCs is supported), which cannot be specified together with VirtualPrivateCloud or Zones at the same time.
|
void |
setZones(String[] Zones)
Set List of availability zones (creation of CVM instances across availability zones is supported), which cannot be specified together with VirtualPrivateCloud or VirtualPrivateClouds at the same time.
|
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 getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- CVM instance type, which cannot be present together with InstanceTypes or InstanceTypeOptions at the same time.public String getImageId()
public void setImageId(String ImageId)
ImageId
- CVM image IDpublic SystemDisk getSystemDisk()
public void setSystemDisk(SystemDisk SystemDisk)
SystemDisk
- Information of the instance's system disk configurationpublic DataDisk[] getDataDisks()
public void setDataDisks(DataDisk[] DataDisks)
DataDisks
- Information of the instance's data disk configurationpublic VirtualPrivateCloud getVirtualPrivateCloud()
public void setVirtualPrivateCloud(VirtualPrivateCloud VirtualPrivateCloud)
VirtualPrivateCloud
- Information of the VPC configuration, which cannot be specified together with Zones and VirtualPrivateClouds.public InternetAccessible getInternetAccessible()
public void setInternetAccessible(InternetAccessible InternetAccessible)
InternetAccessible
- Information of the public network bandwidth configurationpublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- CVM instance display namepublic LoginSettings getLoginSettings()
public void setLoginSettings(LoginSettings LoginSettings)
LoginSettings
- Instance login settingspublic String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- Security group of the instancepublic 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
- CVM instance billing method public InstanceMarketOptionsRequest getInstanceMarketOptions()
public void setInstanceMarketOptions(InstanceMarketOptionsRequest InstanceMarketOptions)
InstanceMarketOptions
- Market-related options of the instance, such as parameters related to spot instancepublic String[] getInstanceTypes()
public void setInstanceTypes(String[] InstanceTypes)
InstanceTypes
- List of CVM instance types, which cannot be present together with InstanceType or InstanceTypeOptions at the same time. After the field is specified, the system will try creating compute nodes in the order of the models until successful creation and then stop the traversal process. Up to 10 models are supported.public InstanceTypeOptions getInstanceTypeOptions()
public void setInstanceTypeOptions(InstanceTypeOptions InstanceTypeOptions)
InstanceTypeOptions
- CVM instance model configuration, which cannot be present together with InstanceType or InstanceTypes at the same time.public String[] getZones()
public void setZones(String[] Zones)
Zones
- List of availability zones (creation of CVM instances across availability zones is supported), which cannot be specified together with VirtualPrivateCloud or VirtualPrivateClouds at the same time.public VirtualPrivateCloud[] getVirtualPrivateClouds()
public void setVirtualPrivateClouds(VirtualPrivateCloud[] VirtualPrivateClouds)
VirtualPrivateClouds
- List of VPCs (creation of CVM instances across VPCs is supported), which cannot be specified together with VirtualPrivateCloud or Zones at the same time.Copyright © 2020. All rights reserved.