tencent cloud

Feedback

DescribeProxyConnectionPoolConf

Last updated: 2023-06-21 10:02:27
This document is currently invalid. Please refer to the documentation page of the product.

    1. API Description

    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.

    2. Input Parameters

    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

    3. Output Parameters

    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.

    4. Example

    Example1 Querying the connection pool configuration of database proxy

    Input Example

    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
    }
    

    Output Example

    {
        "Response": {
            "Count": 1,
            "PoolConf": [
                {
                    "ConnectionPoolType": "SessionConnectionPool",
                    "MaxPoolConnectionTimeOut": 600,
                    "MinPoolConnectionTimeOut": 1
                }
            ],
            "RequestId": "a1ae22d5-2633-4f09-ba59-8fe103ac64b6"
        }
    }
    

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    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
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support