Skip to main content

Install

pip install tccli-intl-en
complete -C 'tccli_completer' tccli

Configure

$  tccli configure
TencentCloud API secretId [*abcd]:<YOUR_SECRET_ID>
TencentCloud API secretKey [*abcd]:<YOUR_SECRET_KEY>
region: ap-guangzhou
output[json]:

SecretId: Cloud API key SecretId. SecretIKey: Cloud API key SecretKey. Region: Tencent Cloud services region. Please move to the corresponding product page to get the available region. Output: optional parameter, request return packet output format, support [ Json table text] three formats, default is json. For more information, please perform tccli configure help view.

Note: if the environment variable defines the relevant configuration, it takes precedence over the configuration file. They are TENCENTCLOUD. _ SECRET _ ID,TENCENTCLOUD _ SECRET _ KEY,TENCENTCLOUD _ REGION .

Usage

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

Note: If a parameter is not a basic type (number or string), you need to specify a json string format. For example, above parameter Placement is a dictionary object, so its format is a quoted json string ‘{“Zone”:”ap-guangzhou-2”}’. For list type parameter, such as SecurityGroupIds, its format is a quoted json string like [“sg-1q2w3e4r”].

Compliance Notice

Please prioritize using the ​default domain names configured in the SDK for each product. If using other domains, note that ​overseas domains may pose ​data compliance risks.

Release files for tccli-intl-en 3.1.177.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tccli-intl-en 3.1.177.1
File Size Uploaded
tccli_intl_en-3.1.177.1.tar.gz 7.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for tccli-intl-en 3.1.177.1
File Interpreter ABI Platform
tccli_intl_en-3.1.177.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 15.6 MB

Release files / tccli_intl_en-3.1.177.1.tar.gz

Download URL tccli_intl_en-3.1.177.1.tar.gz
Size 7.7 MB
Tags Source
SHA-256 checksum
How to use checksums
97ec478f45822ebef0cdbf2e1afb47e40a440951351b9161f6f24b4a848c5550
BLAKE2b-256 checksum
How to use checksums
663125ffe3cc6fd4083ec274d1347282492fd336693ada8c4fe954e5cc1d08b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.8

Release files / tccli_intl_en-3.1.177.1-py2.py3-none-any.whl

Download URL tccli_intl_en-3.1.177.1-py2.py3-none-any.whl
Size 7.9 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6afa1a5c8acb1e06243a92704c0b7c82553df884da3e1b976c244b266496c435
BLAKE2b-256 checksum
How to use checksums
b8b8dea9d1db9c2c11f361fbbbc75c428551edd0e74e1b2a7f3d0537978d7735
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

3.1.177.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page