tencent cloud

All product documents
Specifying the Nearest Endpoint
Last updated: 2023-02-21 10:41:36
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
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

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 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon