Create an RDS instance and the user can use the corresponding database client or application to link to the RDS instance through the domain name and port to operate.

Request method


Request address


Name Type Required or not Default value Description
regionId String True Region code, with range detailed in Regions and Availability Zone Comparison Table

Request parameter

Name Type Required or not Default value Description
instanceSpec DBInstanceSpec True New Instance Type Created


Name Type Required or not Default value Description
instanceName String False Instance Name, see Help Center Document: Name and Password Restrictions for specific rules
engine String True Instance engine type, detailed in Enumeration Parameter Definition
engineVersion String True Instance engine version, detailed in Enumeration Parameter Definition
instanceClass String True View document MySQL instance type and SQL Server instance type for instance type code
instanceStorageGB Integer True Disk Size, Unit: GB
azId String[ ] True AZ ID, the first ID must be AZ where the primary instance is located. If the two AZs are the same, you also need to enter two azIds.
vpcId String True VPC ID
subnetId String True Subnet ID
parameterGroup String False Parameter Set ID, system will create a default parameter set by default
- only support MySQL
chargeSpec ChargeSpec True Billing specification, including billing type, billing period, etc.
instanceStorageType String False Storage Type, see Enumeration Parameter Definitions, the default value is: LOCAL_SSD
- Only support MySQL
storageEncrypted Boolean False Instance Data Encryption (data encryption will be supported only when the storage type is Cloud Disk Service). false: no encryption, true: encryption, the default is false
- Only support MySQL
instanceType String False Instance Availability Architecture. standalone: single machine, cluster: architecture of master and slave machines, the default is cluster
- Only support SQL Server


Name Type Required or not Default value Description
chargeMode String False postpaid_by_duration Billing model value is prepaid_by_duration, postpaid_by_usage or postpaid_by_duration; prepaid_by_duration means Pay-In-Advance, postpaid_by_usage means Pay-As-You-Go By Consumption and postpaid_by_duration means pay by configuration; is postpaid_by_duration by default. Please refer to the Help Documentation of specific product line to confirm the billing type supported by the production line
chargeUnit String False Billing unit of Pay-In-Advance, the Pay-In-Advance is compulsory, and valid only when chargeMode is prepaid_by_duration, and the value is month or year and month by default
chargeDuration Integer False Pay-In-Advance billing duration, the Pay-In-Advance is compulsory and valid only when the value of chargeMode is prepaid_by_duration. When chargeUnit is month, the value shall be 1~9; when chargeUnit is year, the value shall be 1, 2 or 3

Response parameter

Name Type Description
result Result


Name Type Description
instanceId String

Response code

Return code Description
200 OK
Update Time:2019-07-11 18:54:31