Updated on 2026-09-15 GMT+08:00

CLI Command Reference

Querying Versions

API Name

Command

Description

Operation

Querying API Versions

hcloud TMS ListApiVersions

This API is used to query TMS API versions.

Go debug

Querying an API Version

hcloud TMS ShowApiVersion

This API is used to query details about a specified TMS API version.

Go debug

Predefined tag operation

API Name

Command

Description

Operation

Creating a Predefined Tag

hcloud TMS CreatePredefineTags

This API is used to create a predefined tag. Users can add predefined tags to resources. This API supports idempotency and batch processing.

Go debug

Querying Predefined Tags

hcloud TMS ListPredefineTags

This API is used to query predefined tags.

Go debug

Modifying a Predefined Tag

hcloud TMS UpdatePredefineTags

This API is used to modifying a predefined tag.

Go debug

Deleting a Predefined Tag

hcloud TMS DeletePredefineTags

This API is used to delete a predefined tag.

Go debug

Quota

API Name

Command

Description

Operation

Querying Quotas

hcloud TMS ShowTagQuota

Querying tag quotas

Go debug

Querying Services Supported by Tag Management

API Name

Command

Description

Operation

Querying Services Supported by Tag Management

hcloud TMS ListProviders

Querying Services Supported by Tag Management

Go debug

Resource Tags

API Name

Command

Description

Operation

Querying Resources by Tag

hcloud TMS ListResource

Use tags to filter instances

Go debug

Creating Tags in Batches

hcloud TMS CreateResourceTag

· The tag management service needs to use this API to manage tags of multiple instances of the cloud service and delete tags on resources.

Go debug

Deleting Tags in Batches

hcloud TMS DeleteResourceTag

· The tag management service needs to use this API to manage tags of multiple instances of the cloud service and createtags on resources.

Go debug

Querying Tag Keys

hcloud TMS ListTagKeys

This API is used to query all tag keys in a specified region.

Go debug

Querying Tag Values

hcloud TMS ListTagValues

This API is used to query all tag values by tag key in a specified region.

Go debug

Querying Resource Tags

hcloud TMS ShowResourceTag

Querying Resource Tags

Go debug

Querying the Tag List

hcloud TMS ListTags

This API is used to query all tags of a tenant with a specified region and instance type.

Go debug