Domain name for API request: cdb.tencentcloudapi.com.
This API is used to query the purchasable specifications of TencentDB instances in a region.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeCdbZoneConfig. |
Version | Yes | String | Common Params. The value used for this API: 2017-03-20. |
Region | No | String | Common Params. This parameter is not required for this API. |
Parameter Name | Type | Description |
---|---|---|
DataResult | CdbZoneDataResult | List of purchasable specification and region information |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: cdb.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCdbZoneConfig
<Common request parameters>
{}
{
"Response": {
"DataResult": {
"Configs": [
{
"Cpu": 1,
"DeviceType": "CUSTOM",
"EngineType": "InnoDB",
"Id": 11,
"Info": "Small-scale game apps with tens of thousands of DAUs or widget apps with millions of DAUs"
"Iops": 1200,
"Memory": 1000,
"Status": 0,
"VolumeMax": 3000,
"VolumeMin": 25,
"VolumeStep": 5
},
{
"Cpu": 1,
"DeviceType": "CUSTOM",
"EngineType": "InnoDB",
"Id": 12,
"Info": "Small-scale game apps with tens of thousands of DAUs or widget apps with millions of DAUs"
"Iops": 2000,
"Memory": 2000,
"Status": 0,
"VolumeMax": 3000,
"VolumeMin": 25,
"VolumeStep": 5
},
{
"Cpu": 8,
"DeviceType": "CUSTOM",
"EngineType": "RocksDB",
"Id": 175,
"Info": "Large-scale game apps with millions of DAUs"
"Iops": 28000,
"Memory": 32000,
"Status": 0,
"VolumeMax": 3000,
"VolumeMin": 25,
"VolumeStep": 5
}
],
"Regions": [
{
"Area": "East China",
"IsDefaultRegion": 0,
"Region": "ap-shanghai",
"RegionConfig": [
{
"DrZone": [
"ap-guangzhou-2",
"ap-guangzhou-3",
"ap-guangzhou-4",
"ap-guangzhou-5",
"ap-guangzhou-6",
"ap-guangzhou-7"
],
"EngineType": [
"InnoDB",
"RocksDB"
],
"ExClusterRemoteRoZone": [],
"ExClusterStatus": 3,
"ExClusterZoneConf": {
"BackupZone": [],
"DeployMode": [
0
],
"MasterZone": [],
"SlaveZone": [
},
"HourInstanceSaleMaxNum": 10000,
"IsBm": false,
"IsCustom": true,
"IsDefaultZone": false,
"IsSupportDr": true,
"IsSupportIpv6": false,
"IsSupportRemoteRo": true,
"IsSupportVpc": true,
"PayType": [
"0",
"1",
"2"
],
"ProtectMode": [
"0",
"1",
"2"
],
"RemoteRoZone": [
"ap-beijing-1",
"ap-beijing-2",
"ap-beijing-3"
],
"SellType": [
{
"ConfigIds": [],
"EngineVersion": [],
"TypeName": "CVM"
},
{
"ConfigIds": [
11,
12,
175
],
"EngineVersion": [
"5.5",
"5.6",
"5.7",
"8.0"
],
"TypeName": "Z3"
}
],
"Status": 3,
"Zone": "ap-shanghai-1",
"ZoneConf": {
"BackupZone": [
"ap-shanghai-1"
],
"DeployMode": [
0,
1
],
"MasterZone": [
"ap-shanghai-1"
],
"SlaveZone": [
"ap-shanghai-1"
]
},
"ZoneId": 200001,
"ZoneName": "Shanghai Zone 1"
}
],
"RegionName": "Shanghai"
}
]
},
"RequestId": "33ad58ce-64d3-5ef4-101a-1823da6f7cad"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation.DBOperationActionError | Database operation failed. |
InternalError.DBError | Database exception |
InternalError.ExecHttpRequestError | Failed to execute the HTTP request |
InternalError.HttpError | Exceptional HTTP request |
InvalidParameter.JsonUnmarshalError | Failed to deserialize JSON. |
Was this page helpful?