Domain name for API request: tdmysql.intl.tencentcloudapi.com.
This API is used to list available component specifications.
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: DescribeSpecs. |
| Version | Yes | String | Common Params. The value used for this API: 2021-11-22. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| FullReplications | No | Integer | Number of replicas. Currently supported range: 1-3. Default is 3. |
| IsExclusiveInstance | No | Integer | Exclusive instance |
| Parameter Name | Type | Description |
|---|---|---|
| HybridNodeSpecs | Array of StorageNodeSpec | Purchasable specification list of peer nodes Note: This field may return null, indicating that no valid values can be obtained. |
| ServerlessCcuSpec | Array of ServerlessCcu | Purchasable specification list of svls nodes |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: tdmysql.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeSpecs
<Common request parameters>
{}
{
"Response": {
"HybridNodeSpecs": [
{
"SpecCode": "1c2g",
"StorageNodeCpu": 1,
"StorageNodeMaxDisk": 500,
"StorageNodeMaxNum": 18,
"StorageNodeMem": 2,
"StorageNodeMinDisk": 20,
"StorageNodeMinNum": 3,
"StorageType": "CLOUD_HSSD"
},
{
"SpecCode": "2c4g",
"StorageNodeCpu": 2,
"StorageNodeMaxDisk": 500,
"StorageNodeMaxNum": 18,
"StorageNodeMem": 4,
"StorageNodeMinDisk": 20,
"StorageNodeMinNum": 3,
"StorageType": "CLOUD_HSSD"
},
{
"SpecCode": "4c8g",
"StorageNodeCpu": 4,
"StorageNodeMaxDisk": 500,
"StorageNodeMaxNum": 18,
"StorageNodeMem": 8,
"StorageNodeMinDisk": 20,
"StorageNodeMinNum": 3,
"StorageType": "CLOUD_HSSD"
}
],
"RequestId": "f2bed855-af44-46c8-bd47-e84fd52e5b16"
}
}
POST / HTTP/1.1
Host: tdmysql.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeSpecs
<Common request parameters>
{}
{
"Response": {
"HybridNodeSpecs": [
{
"StorageNodeMaxDisk": 0,
"StorageNodeMinNum": 0,
"StorageNodeMinDisk": 0,
"SpecCode": "1c2g",
"StorageNodeCpu": 0,
"StorageNodeMem": 0,
"StorageNodeMaxNum": 0,
"StorageType": "CLOUD_HSSD"
}
],
"RequestId": "f2bed855-af44-46c8-bd47-e84fd52e5b16"
}
}
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 |
|---|---|
| AuthFailure.UinWhiteListCheckError | Whitelist authentication error occurred. |
| FailedOperation.DBQueryZoneError | Query Available Sale Zones failed. |
| UnsupportedOperation.GetMaxNodeNumError | Error retrieving maximum node count. |
文档反馈