tencent cloud

文档反馈

Data Types

最后更新时间:2024-03-20 15:31:13

    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.