public class CreateDBInstancesRequest extends AbstractModel
Constructor and Description |
---|
CreateDBInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getAutoRenewFlag()
Get Auto-renewal flag.
|
Long |
getAutoVoucher()
Get Whether to automatically use voucher.
|
String |
getDBVersion()
Get SQL Server version.
|
Long |
getGoodsNum()
Get Number of instances purchased this time.
|
String |
getInstanceChargeType()
Get Billing mode.
|
Long |
getMemory()
Get Instance memory size in GB
|
Long |
getPeriod()
Get Length of purchase of instance.
|
Long |
getProjectId()
Get Project ID
|
Long |
getStorage()
Get Instance storage capacity in GB
|
String |
getSubnetId()
Get VPC subnet ID in the format of subnet-bdoe83fa.
|
String[] |
getVoucherIds()
Get Array of voucher IDs (currently, only one voucher can be used per order)
|
String |
getVpcId()
Get VPC ID in the format of vpc-dsp338hz.
|
String |
getZone()
Get Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1).
|
void |
setAutoRenewFlag(Long AutoRenewFlag)
Set Auto-renewal flag.
|
void |
setAutoVoucher(Long AutoVoucher)
Set Whether to automatically use voucher.
|
void |
setDBVersion(String DBVersion)
Set SQL Server version.
|
void |
setGoodsNum(Long GoodsNum)
Set Number of instances purchased this time.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set Billing mode.
|
void |
setMemory(Long Memory)
Set Instance memory size in GB
|
void |
setPeriod(Long Period)
Set Length of purchase of instance.
|
void |
setProjectId(Long ProjectId)
Set Project ID
|
void |
setStorage(Long Storage)
Set Instance storage capacity in GB
|
void |
setSubnetId(String SubnetId)
Set VPC subnet ID in the format of subnet-bdoe83fa.
|
void |
setVoucherIds(String[] VoucherIds)
Set Array of voucher IDs (currently, only one voucher can be used per order)
|
void |
setVpcId(String VpcId)
Set VPC ID in the format of vpc-dsp338hz.
|
void |
setZone(String Zone)
Set Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1).
|
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 getZone()
public void setZone(String Zone)
Zone
- Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the `DescribeZones` APIpublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Instance memory size in GBpublic Long getStorage()
public void setStorage(Long Storage)
Storage
- Instance storage capacity in GBpublic String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- Billing mode. Valid value: POSTPAID (pay-as-you-go).public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project IDpublic Long getGoodsNum()
public void setGoodsNum(Long GoodsNum)
GoodsNum
- Number of instances purchased this time. Default value: 1. Maximum value: 10public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- VPC subnet ID in the format of subnet-bdoe83fa. `SubnetId` and `VpcId` should be set or ignored simultaneouslypublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID in the format of vpc-dsp338hz. `SubnetId` and `VpcId` should be set or ignored simultaneouslypublic Long getPeriod()
public void setPeriod(Long Period)
Period
- Length of purchase of instance. The default value is 1, indicating one month. The value cannot exceed 48public Long getAutoVoucher()
public void setAutoVoucher(Long AutoVoucher)
AutoVoucher
- Whether to automatically use voucher. 0: no, 1: yes. Default value: nopublic String[] getVoucherIds()
public void setVoucherIds(String[] VoucherIds)
VoucherIds
- Array of voucher IDs (currently, only one voucher can be used per order)public 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). The version purchasable varies by region and can be queried by calling the `DescribeProductConfig` API. If this parameter is left empty, 2008R2 will be used by default.public Long getAutoRenewFlag()
public void setAutoRenewFlag(Long AutoRenewFlag)
AutoRenewFlag
- Auto-renewal flag. 0: normal renewal, 1: auto-renewal. Default value: 1.Copyright © 2020. All rights reserved.