tencent cloud

标签

产品简介
产品概述
产品功能
应用场景
使用限制
支持标签 API 的资源类型
购买指南
快速入门
创建标签并绑定资源
通过标签查询资源
操作指南
创建标签
绑定资源
解绑标签
批量解绑或修改标签
删除标签
查看绑定资源
查询和编辑资源的标签
使用标签管理资源配额
资源标签导出
查询标签修改记录
创建者标签
标签策略
标签列表导出
API文档
History
Introduction
API Category
Making API Requests
Write APIs
Read APIs
Project APIs
Data Types
Error Codes
常见问题
词汇表

Data Types

PDF
聚焦模式
字号
最后更新时间: 2025-10-30 21:56:36

FailedResource

Information of failed resources.
This is returned when resource tag binding or unbinding fails.

Used by actions: TagResources, UnTagResources.

Name Type Description
Resource String Six-segment descriptions of failed resources
Code String Error code
Message String Error message

Project

Project information.

Used by actions: DescribeProjects.

Name Type Description
ProjectId Integer Project ID.
ProjectName String Project name.
CreatorUin Integer Creator UIN.
ProjectInfo String Project description.
CreateTime String Creation time.

ResourceIdTag

Resource tag key value

Used by actions: DescribeResourceTagsByTagKeys.

Name Type Description
ResourceId String Unique resource ID
Note: this field may return null, indicating that no valid values can be obtained
TagKeyValues Array of Tag Tag key-value pair
Note: this field may return null, indicating that no valid values can be obtained

ResourceTag

Resource tag.

Used by actions: DescribeResourcesByTags, DescribeResourcesByTagsUnion.

Name Type Description
ResourceRegion String The resource's region.
Note: This field may return null, indicating that no valid value is found.
ServiceType String Service type.
Note: This field may return null, indicating that no valid value is found.
ResourcePrefix String Resource prefix.
Note: This field may return null, indicating that no valid value is found.
ResourceId String Unique resource ID.
Note: This field may return null, indicating that no valid value is found.
Tags Array of Tag Resource tag.
Note: This field may return null, indicating that no valid value is found.

ResourceTagMapping

Resources and their associated tags (key-value pairs).

Used by actions: GetResources.

Name Type Description
Resource String Six-segment resource description. Tencent Cloud uses a six-segment value to describe a resource.
For example, ResourceList.1 = qcs::${ServiceType}:${Region}:${Account}:${ResourcePreifx}/${ResourceId}.
Tags Array of Tag List of tags associated with the resource

Tag

A tag key-value pair.

Used by actions: CreateTags, DeleteTags, DescribeResourceTagsByTagKeys, DescribeResourcesByTags, DescribeResourcesByTagsUnion, DescribeTagValues, DescribeTagValuesSeq, GetResources, GetTagValues, GetTags, ModifyResourceTags, TagResources.

Name Type Required Description
TagKey String Yes Tag key.
TagValue String Yes Tag value.
Category String No Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All.Note: This field may return null, indicating that no value is obtained.

TagFilter

Tag filtering array. 'AND' relation if multiple arrays.

Used by actions: DescribeResourcesByTags, DescribeResourcesByTagsUnion, GetResources.

Name Type Required Description
TagKey String Yes Tag key.
TagValue Array of String No Tag value array. 'OR' relation if multiple values.

TagKeyObject

Tag key object.

Used by actions: ModifyResourceTags.

Name Type Required Description
TagKey String Yes Tag key.

TagResource

Tag key-value pair and resource ID.

Used by actions: DescribeResourceTags, DescribeResourceTagsByResourceIds, DescribeResourceTagsByResourceIdsSeq.

Name Type Description
TagKey String Tag key.
TagValue String Tag value.
ResourceId String Resource ID.
TagKeyMd5 String Tag key MD5 value.
TagValueMd5 String Tag value MD5 value.
ServiceType String Resource type
Note: this field may return null, indicating that no valid values found.
Category String Tag type. Valid values: Custom: custom tag; System: system tag.Note: This field may return null, indicating that no value is obtained.

TagWithDelete

A tag key-value pair and if deletion is allowed.

Used by actions: DescribeTags, DescribeTagsSeq.

Name Type Description
TagKey String Tag key.
TagValue String Tag value.
CanDelete Integer If deletion is allowed.
Category String Tag type. Valid values: Custom: custom tag; System: system tag; All: all tags. Default value: All.Note: This field may return null, indicating that no value is obtained.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈