This API will be disused soon.
Planned disuse time: 2023-07-17 19:48:25
Domain name for API request: cdb.tencentcloudapi.com.
This API has been deprecated and replaced by the DescribeCdbProxyInfo
API.
This API is used to query the connection pool configuration of a database proxy.
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: DescribeProxyConnectionPoolConf. |
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. |
InstanceId | Yes | String | Instance ID |
Offset | No | Integer | Paginated query offset |
Limit | No | Integer | Maximum entries returned per page |
Parameter Name | Type | Description |
---|---|---|
Count | Integer | Number of queried configurations Note: this field may return null , indicating that no valid value can be found. |
PoolConf | PoolConf | Connection pool configuration details Note: this field may return null , indicating that no valid value can be found. |
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: DescribeProxyConnectionPoolConf
<Common request parameters>
{
"InstanceId": "cdb-test",
"Limit": 0,
"Offset": 0
}
{
"Response": {
"Count": 1,
"PoolConf": [
{
"ConnectionPoolType": "SessionConnectionPool",
"MaxPoolConnectionTimeOut": 600,
"MinPoolConnectionTimeOut": 1
}
],
"RequestId": "a1ae22d5-2633-4f09-ba59-8fe103ac64b6"
}
}
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 |
---|---|
InternalError.InternalHttpServerError | An exception occurred while executing the request. |
InternalError.UnknownError | Unknown error |
Was this page helpful?