Data Types

Last updated: 2019-11-25 13:29:40

PDF

ResourceTag

Resource tag.

Used by actions: DescribeResourcesByTags.

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.

Tag

A tag key-value pair.

Used by actions: DescribeResourcesByTags、DescribeTagValues、ModifyResourceTags.

Name Type Required Description
TagKey String Yes Tag key.
TagValue String Yes Tag value.

TagFilter

Tag filtering array. “AND” relation if multiple arrays.

Used by actions: DescribeResourcesByTags.

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: DescribeResourceTagsByResourceIds.

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.

TagWithDelete

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

Used by actions: DescribeTags.

Name Type Description
TagKey String Tag key.
TagValue String Tag value.
CanDelete Integer If deletion is allowed.