Skip to main content

Install

Lite Version (Preview)

TCCLI now offers a lightweight version with identical functionality and a significantly smaller footprint during use. Try it out with:

pip install --pre tccli-intl-en

If you already have tccli-intl-en installed, add --upgrade to update to the lightweight version:

pip install --pre --upgrade tccli-intl-en

If you need to roll back from the lightweight version to the standard version, uninstall the lightweight version first and then reinstall the standard version:

pip uninstall tccli-intl-en
pip install tccli-intl-en

Standard Version

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.

Metadata

Release files for tccli-intl-en 3.1.210.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.210.1
File Size Uploaded Provenance Actions
tccli_intl_en-3.1.210.1.tar.gz 8.3 MB Without provenance Details for tccli_intl_en-3.1.210.1.tar.gz

Built distribution (wheel)

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

Total release size: 16.8 MB

Release files / tccli_intl_en-3.1.210.1.tar.gz

Download URL tccli_intl_en-3.1.210.1.tar.gz
Size 8.3 MB
Tags Source
SHA-256 checksum
How to use checksums
71c2150739100c1f0cde5df87cb2a26a188c3d60303b64dd0f7d2dfe43414857
BLAKE2b-256 checksum
How to use checksums
adedaf2fb05e3171e07561a50609ed7f302d2c1e7fc0aef769072b1b76adf529
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.210.1-py2.py3-none-any.whl

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

Security for tccli-intl-en 3.1.210.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.1.210.1 This release

2 release files No provenance

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