Domain name for API request: redis.intl.tencentcloudapi.com.
This API is used to query purchasable TencentDB for Redis specifications in all regions.
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: DescribeProductInfo. |
Version | Yes | String | Common Params. The value used for this API: 2018-04-12. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
Parameter Name | Type | Description |
---|---|---|
RegionSet | Array of RegionConf | Sale information of a region. |
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. |
Example
POST / HTTP/1.1
Host: redis.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeProductInfo
<Common request parameters>
{}
{
"Response": {
"RegionSet": [
{
"RegionId": "ap-guangzhou",
"RegionName": "Guangzhou",
"RegionShortName": "GZ",
"Area": "South China",
"ZoneSet": [
{
"ZoneId": "ap-guangzhou-2",
"ZoneName": "Guangzhou Zone 2",
"IsSaleout": false,
"IsDefault": false,
"OldZoneId": 0,
"NetWorkType": [
"basenet",
"vpcnet"
],
"ProductSet": [
{
"Type": 7,
"TypeName": "Redis Cluster Edition",
"MinBuyNum": 1,
"MaxBuyNum": 10,
"Saleout": false,
"Engine": "Redis Community Edition",
"Version": "Redis 4.0",
"TotalSize": [
"12",
"20",
"32",
"64",
"96",
"128",
"256",
"384",
"512",
"768",
"1024",
"2048",
"3072",
"4096"
],
"ShardSize": [
"4",
"8",
"12",
"16",
"20",
"24",
"32"
],
"ReplicaNum": [
"1",
"2",
"3",
"4",
"5"
],
"ShardNum": [
"3",
"5",
"8",
"12",
"16",
"24",
"32",
"40",
"48",
"64",
"80",
"96",
"128"
],
"PayMode": "1",
"EnableRepicaReadOnly": true
},
{
"Type": 4,
"TypeName": "CKV Cluster Edition",
"MinBuyNum": 1,
"MaxBuyNum": 10,
"Saleout": false,
"Engine": "Tencent Cloud CKV",
"Version": "Redis 3.2",
"TotalSize": [
"12",
"20",
"32",
"64",
"96",
"128",
"256",
"384",
"512",
"768",
"1024",
"2048",
"3072",
"4096"
],
"ShardSize": [
"4",
"8",
"16",
"24",
"32",
"48",
"64",
"80",
"96",
"128",
"160",
"192",
"256",
"320",
"384"
],
"ReplicaNum": [
"1",
"2",
"3",
"4",
"5"
],
"ShardNum": [
"3",
"5",
"8",
"12",
"16",
"24",
"32",
"40",
"48",
"64",
"80",
"96",
"128"
],
"PayMode": "1",
"EnableRepicaReadOnly": false
},
{
"Type": 2,
"TypeName": "Redis Primary-Secondary Edition",
"MinBuyNum": 1,
"MaxBuyNum": 10,
"Saleout": false,
"Engine": "Redis Community Edition",
"Version": "Redis 2.8",
"TotalSize": [
"1",
"2",
"4",
"8",
"12",
"16",
"20",
"24",
"32",
"40",
"48",
"60",
"0.25"
],
"ShardSize": [
"1",
"2",
"4",
"8",
"12",
"16",
"20",
"24",
"32",
"40",
"48",
"60",
"0.25"
],
"ReplicaNum": [
"1"
],
"ShardNum": [
"1"
],
"PayMode": "1",
"EnableRepicaReadOnly": false
},
{
"Type": 5,
"TypeName": "Redis Single-node Edition",
"MinBuyNum": 1,
"MaxBuyNum": 10,
"Saleout": false,
"Engine": "Redis Community Edition",
"Version": "Redis 2.8",
"TotalSize": [
"1",
"2",
"4",
"8",
"12",
"16",
"20",
"24",
"32",
"40",
"48",
"60"
],
"ShardSize": [
"1",
"2",
"4",
"8",
"12",
"16",
"20",
"24",
"32",
"40",
"48",
"60"
],
"ReplicaNum": [
"0"
],
"ShardNum": [
"1"
],
"PayMode": "1",
"EnableRepicaReadOnly": false
},
{
"Type": 2,
"TypeName": "Redis Primary-Secondary Edition",
"MinBuyNum": 1,
"MaxBuyNum": 10,
"Saleout": false,
"Engine": "Redis Community Edition",
"Version": "Redis 2.8",
"TotalSize": [
"1",
"2",
"4",
"8",
"12",
"16",
"20",
"24",
"32",
"40",
"48",
"60"
],
"ShardSize": [
"1",
"2",
"4",
"8",
"12",
"16",
"20",
"24",
"32",
"40",
"48",
"60"
],
"ReplicaNum": [
"1"
],
"ShardNum": [
"1"
],
"PayMode": "0",
"EnableRepicaReadOnly": false
},
{
"Type": 3,
"TypeName": "CKV Single-node Edition",
"MinBuyNum": 1,
"MaxBuyNum": 10,
"Saleout": false,
"Engine": "Tencent Cloud CKV",
"Version": "Redis 3.2",
"TotalSize": [
"4",
"8",
"16",
"24",
"32",
"48",
"64",
"80",
"96",
"128",
"160",
"192",
"256",
"320",
"384"
],
"ShardSize": [
"4",
"8",
"16",
"24",
"32",
"48",
"64",
"80",
"96",
"128",
"160",
"192",
"256",
"320",
"384"
],
"ReplicaNum": [
"0"
],
"ShardNum": [
"1"
],
"PayMode": "1",
"EnableRepicaReadOnly": false
}
]
}
]
}
],
"RequestId": "3c5730c6-02f2-46fd-8bf1-725b8b608fb9"
}
}
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.SystemError | Internal system error, which is irrelevant to the business. |
InternalError.InternalError | Internal error. |
InvalidParameter | Incorrect parameter. |
InvalidParameter.EmptyParam | The parameter is empty. |
InvalidParameter.PermissionDenied | The API has no CAM permissions. |
Was this page helpful?