tencent cloud

Feedback

Specifying the Nearest Endpoint

Last updated: 2023-02-21 10:41:36
    By default, Tencent Cloud Command Line Interface (TCCLI) sends a request to the nearest endpoint to access a service. You can also specify an endpoint for a product.

    Directions

    Taking Cloud Virtual Machine (CVM) as an example, run the following command to set ap-guangzhou as the default endpoint:
    tccli configure set cvm.endpoint cvm.ap-guangzhou.tencentcloudapi.com
    Run the following command to set ap-guangzhou as the endpoint in real time when calling the API:
    tccli cvm DescribeZones --endpoint cvm.ap-guangzhou.tencentcloudapi.com
    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