public class InquiryPriceCreateDBInstancesRequest extends AbstractModel
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 Server version.
|
Long |
getGoodsNum()
Get Number of instances purchased at a time.
|
String |
getInstanceChargeType()
Get Billing type.
|
String |
getInstanceType()
Get The type of purchased instance.
|
String |
getMachineType()
Get The host type of purchased instance.
|
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 Server 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 purchased instance.
|
void |
setMachineType(String MachineType)
Set The host type of purchased instance.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, 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 Server version. Valid values: 2008R2 (SQL Server 2008 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise). Default value: 2008R2.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 purchased instance. Valid values: HA (high-availability edition, including dual-server high availability and AlwaysOn cluster), RO (read-only replica), SI (basic edition). Default value: HA.public String getMachineType()
public void setMachineType(String MachineType)
MachineType
- The host type of purchased instance. Valid values: PM (physical machine), CLOUD_PREMIUM (physical machine with premium cloud disk), CLOUD_SSD (physical machine with SSD). Default value: PM.Copyright © 2023. All rights reserved.