Creates a Time Series Database (TSDB) instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
InstanceClass String Yes tsdb.1x.basic

The type of the instance.

InstanceStorage String Yes 50

The storage of the instance. Unit: GB.

PayType String Yes PREPAY

The billing method of the instance. Valid values: PREPAY and POSTPAY. The PREPAY value specifies the subscription billing method. The POSTPAY value specifies the pay-as-you-go billing method.

RegionId String Yes cn-shanghai

The ID of the region.

VPCId String Yes vpc-xxxxxxxxxxxxxxxxxxxxx

The ID of the virtual private cloud (VPC).

VSwitchId String Yes vsw-xxxxxxxxxxxxxxxxxxxxx

The ID of the vSwitch.

ZoneId String Yes cn-shanghai-b

The ID of the zone.

InstanceAlias String No tsdb_test

The alias of the instance.

PricingCycle String No Month

The unit of the subscription duration. Valid values: Month and Year. This parameter is valid only for an instance that uses the subscription billing method.

Duration String No 1

The subscription duration of the instance. If you set PricingCycle to Month, valid values of Duration are 1 to 9. If you set PricingCycle to Year, valid values of Duration are 1 to 3.

DiskCategory String No cloud_ssd

The disk type of the TSDB for InfluxDB® instance. Valid values: cloud_efficiency, cloud_ssd, and cloud_essd. The value cloud_efficiency specifies ultra disks. The value cloud_ssd specifies standard SSDs. The value cloud_essd specifies enhanced SSDs (ESSDs).

Response parameters

Parameter Type Example Description
InstanceId String ts-xxxxxxxxxxxxxxxxx

The ID of the instance.

OrderId Long 100000000000000

The ID of the order.

RequestId String 587BCA54-50DA-4885-ADE9-80A848339151

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

  "RequestId": "587BCA54-50DA-4885-ADE9-80A848339151",
  "InstanceId": "ts-xxxxxxxxxxxxxxxxx",
  "OrderId": 100000000000000

Error codes

For a list of error codes, visit the API Error Center.