### Install Tencent Cloud CLI Source: https://github.com/tencentcloud/tencentcloud-cli-intl-en/blob/master/README.rst Installs the tccli-intl-en package and sets up shell autocompletion. ```sh pip install tccli-intl-en complete -C 'tccli_completer' tccli ``` -------------------------------- ### Run CVM Instance with Tencent Cloud CLI Source: https://github.com/tencentcloud/tencentcloud-cli-intl-en/blob/master/README.rst Example of launching a CVM instance using the tccli cvm RunInstances command. Complex parameters like Placement and SystemDisk require JSON string formatting. ```sh tccli cvm RunInstances --InstanceChargeType POSTPAID_BY_HOUR --Placement '{"Zone":"ap-guangzhou-2"}' --InstanceType S1.SMALL1 --ImageId img-8toqc6s3 --SystemDisk '{"DiskType":"CLOUD_BASIC", "DiskSize":50}' --InternetAccessible '{"InternetChargeType":"TRAFFIC_POSTPAID_BY_HOUR","InternetMaxBandwidthOut":10,"PublicIpAssigned":true}' --InstanceCount 1 --InstanceName TCCLI-TEST --LoginSettings '{"Password":"P1easeChange1t@"}' --HostName TCCLI-HOST-NAME1 ``` -------------------------------- ### Configure Tencent Cloud CLI Source: https://github.com/tencentcloud/tencentcloud-cli-intl-en/blob/master/README.rst Guides through the interactive configuration process for API SecretId, SecretKey, region, and output format. Environment variables can override these settings. ```sh $ tccli configure TencentCloud API secretId [*afcQ]:AKIDwLw1234MMfPRle2g9nR2OTI787aBCDP TencentCloud API secretKey [*ArFd]:OxXj7khcV1234dQSSYNABcdCc1LiArFd region: ap-guangzhou output[json]: ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.