A convenient tool for centralized management of Tencent Cloud resources
Tencent Cloud Command Line Interface (TCCLI) is a unified tool for managing Tencent Cloud resources. It enables you to quickly call Tencent Cloud APIs to manage your Tencent Cloud resources. In addition, it can be used to automate and process scripts for diversified combination and reuse of the scripts.
TCCLI allows for fast operation of your cloud products with one command, helping you quickly meet your needs, making it easier and faster to use Tencent Cloud products and reducing time costs.
TCCLI has low system requirements and strong compatibility. Once proficient in the tool, you can compose command lines on your own to call common functions for notably increased efficiency.
TCCLI is extremely flexible and supports remote calls. APIs can be freely mixed and matched by writing command lines to achieve more advanced functions and thereby customize functionality.
TCCLI integrates all Tencent Cloud products that support Cloud API and allows for configuration and management of such products. This includes creating and operating CVM instances, creating and viewing CBS disks, creating VPCs, adding resources to VPCs and much more. All the operations available on console can be carried out using TCCLI.
View the CVM resources of the current account using the tccli cvm DescribeInstances command.
Query the CBS disk list of the current account using the tccli cbs DescribeDisks command.
View and query the VPC list using the tccli vpc DescribeVpcs command.
TCCLI makes it possible to operate Tencent Cloud resources without graphical pages.
TCCLI supports multiple accounts, making it easy to use multiple configurations simultaneously.
Specify account name test in interactive mode
Specify account name test using the set/get/list sub-command
Specify an account when calling an API (e.g., cvm DescribeZones API)
TCCLI is compatible Windows, Mac OS and Linux/Unix to meet the needs of different developers. Autocomplete of commands is supported on Linux/Unix.
After the Python environment is installed on Windows, Mac OS or Linux/Unix, TCCLI can be installed using the pip command. TCCLI provides non-differentiated commands for different operating systems, making it convenient to use across platforms. As its commands for various functions on different platforms are identical, if you are proficient in using it on Linux, you can be equally proficient on Windows. The execution commands of the corresponding functions of each platform are the same.
TCCLI supports multiple output formats such as txt, json and table to choose from.
txt is returned in text format; in each return, a row represents a record and separated by a space; it is suitable for obtaining a list of resources to be saved as text or converted into a table;
json is returned in JSON format and suitable for coding for secondary development to obtain the desired information by parsing the json return;
table is returned in tabular format with better visualization and suitable for simply operating cloud resources using TCCLI.
TCCLI is an extremely flexible, simple, fast and convenient tool that can quickly operate corresponding cloud products with only one command. Once proficient in the tool, you can call frequently used functions through command lines for significantly increased efficiency.
TCCLI is extremely flexible and integrates batch processing and various operations. Multiple commands can be pieced together to enable customized advanced functions which can then be integrated into your software to improve productivity.