Domain name for API request: tdmysql.intl.tencentcloudapi.com.
This API is used to query available 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: DescribeSaleInfo. |
| 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. |
| SrcRegion | No | String | Region of the disaster recovery primary instance |
| InstanceId | No | String | Instance id Input this parameter to return the sales information of the availability zone in the region where this instance is located. |
| InstanceType | No | String | Specify the sales information that supports a certain type instance. Enumeration value:
Default value: None Currently only support specifying serverless. Import other info or leave it blank to return all sales region information by default. |
| Parameter Name | Type | Description |
|---|---|---|
| RegionList | Array of DescribeSaleRegionInfo | Return marketable region information |
| 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: DescribeSaleInfo
<Common request parameters>
{
"InstanceType": "serverless"
}
{
"Response": {
"RegionList": [
{
"AvailableZoneNum": 3,
"Enable": 1,
"IsSupportServerless": true,
"IsSupportedLogReplica": true,
"Region": "ap-guangzhou",
"RegionName": "广州",
"ZoneGroup": [
{
"AvailableDiskTypes": [],
"IsSupportServerless": true,
"SupportTypes": [
"0"
],
"ZoneNum": 1,
"Zones": [
"ap-guangzhou-7"
]
}
],
"ZoneList": [
{
"AvailableDiskTypes": [],
"Enable": 1,
"IsDefaultMaster": 0,
"IsSupportServerless": true,
"SupportTypes": [
"0"
],
"Zone": "ap-guangzhou-7",
"ZoneName": "广州七区"
}
]
}
],
"RequestId": "cc7f4880-5ed6-4daa-a45f-df2a5780d573"
}
}
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.DBQueryZoneError | Query Available Sale Zones failed. |
文档反馈