All Products
Search
Document Center

CreateHiTSDBInstance

Last Updated: May 29, 2020

Description

Creates a Time Series Database (TSDB) instance.

Request parameters

Parameter Type Required Default value Description
RegionId String Yes N/A The region ID of the instance.
InstanceAlias String No N/A The alias of the instance.
InstanceClass String Yes N/A The type of the instance. For more information, see Instance types.
PayType String Yes N/A The billing method. Valid values: POSTPAY and PREPAY. The POSTPAY value indicates the pay-as-you-go method, and the PREPAY value indicates the subscription method.
InstanceStorage String Yes N/A The storage capacity of the instance. Unit: GB. For example, the value 50 indicates 50 GB.
VpcId String Yes N/A The ID of the virtual private cloud (VPC) that is connected to the instance.
VswitchId String Yes N/A The ID of the VSwitch in the specified VPC.
ZoneId String Yes N/A The zone ID of the instance.
Duration String No 1 The validity period of the instance. This parameter is valid only when the PayType parameter is set to PREPAY. Default value: 1.
PricingCycle String No Month The unit of the validity period. This parameter is valid only when the PayType parameter is set to PREPAY. Default value: Month.

Response parameters

Parameter Type Description
OrderId Long The order number.
InstanceId String The ID of the instance.

Sample responses

JSON format

  1. {
  2. "code": "200",
  3. "OrderId": 205724800180762,
  4. "InstanceId": "ts-xxxx",
  5. "requestId": "B8161286-7E9A-40DD-8C9B-A578DE77214F",
  6. "successResponse": true
  7. }