public class InquiryPriceCreateDBInstancesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
InquiryPriceCreateDBInstancesRequest() |
InquiryPriceCreateDBInstancesRequest(InquiryPriceCreateDBInstancesRequest 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 |
---|---|
Long |
getCpu()
Get The number of CPU cores of the instance you want to purchase.
|
String |
getDBVersion()
Get SQL version.
|
Long |
getGoodsNum()
Get Number of instances purchased at a time.
|
String |
getInstanceChargeType()
Get Billing type.
|
String |
getInstanceType()
Get The type of instance to be purchased.
|
String |
getMachineType()
Get The host type of the instance to be purchased.
|
Long |
getMemory()
Get Memory size in GB
|
Long |
getPeriod()
Get Length of purchase in months.
|
Long |
getStorage()
Get Instance capacity in GB
|
String |
getZone()
Get AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API
|
void |
setCpu(Long Cpu)
Set The number of CPU cores of the instance you want to purchase.
|
void |
setDBVersion(String DBVersion)
Set SQL version.
|
void |
setGoodsNum(Long GoodsNum)
Set Number of instances purchased at a time.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Billing type.
|
void |
setInstanceType(String InstanceType)
Set The type of instance to be purchased.
|
void |
setMachineType(String MachineType)
Set The host type of the instance to be purchased.
|
void |
setMemory(Long Memory)
Set Memory size in GB
|
void |
setPeriod(Long Period)
Set Length of purchase in months.
|
void |
setStorage(Long Storage)
Set Instance capacity in GB
|
void |
setZone(String Zone)
Set AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` API
|
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 InquiryPriceCreateDBInstancesRequest()
public InquiryPriceCreateDBInstancesRequest(InquiryPriceCreateDBInstancesRequest source)
public String getZone()
public void setZone(String Zone)
Zone
- AZ ID, which can be obtained through the `Zone` field in the returned value of the `DescribeZones` APIpublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory size in GBpublic Long getStorage()
public void setStorage(Long Storage)
Storage
- Instance capacity in GBpublic String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- Billing type. Valid value: POSTPAID.public Long getPeriod()
public void setPeriod(Long Period)
Period
- Length of purchase in months. Value range: 1-48. Default value: 1public Long getGoodsNum()
public void setGoodsNum(Long GoodsNum)
GoodsNum
- Number of instances purchased at a time. Value range: 1-100. Default value: 1public String getDBVersion()
public void setDBVersion(String DBVersion)
DBVersion
- SQL version. Valid values: `2008R2` (SQL Server 2008 R2 Enterprise), `2012SP3` (SQL Server 2012 Enterprise), `201202` (SQL Server 2012 Standard), `2014SP2` (SQL Server 2014 Enterprise), `201402` (SQL Server 2014 Standard)`, `2016SP1` (SQL Server 2016 Enterprise), `201602` (SQL Server 2016 Standard), `2017` (SQL Server 2017 Enterprise), `201702` (SQL Server 2017 Standard), `2019` (SQL Server 2019 Enterprise), `201902` (SQL Server 2019 Standard). Default value: `2008R2`. The purchasable version varies by region. It can be queried by the `DescribeProductConfig` API.public Long getCpu()
public void setCpu(Long Cpu)
Cpu
- The number of CPU cores of the instance you want to purchase.public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- The type of instance to be purchased. Valid values: `HA` (high-availability edition, including dual-server high-availability and AlwaysOn cluster u200deditionu200d), `RO` (read-only replica edition), `SI` (single-node edition), `cvmHA` (dual-server high-availability edition u200dfor CVM), `cvmRO` (read-only edition u200dfor CVM).public String getMachineType()
public void setMachineType(String MachineType)
MachineType
- The host type of the instance to be purchased. Valid values: `PM` (physical machine), `CLOUD_PREMIUM` (virtual machine with premium cloud disk), `CLOUD_SSD` (virtual machine with SSD),
`CLOUD_HSSD` (virtual machine with enhanced SSD), `CLOUD_TSSD` (virtual machine with ulTra SSD), `CLOUD_BSSD` (virtual machine with balanced SSD).Copyright © 2024. All rights reserved.