- Documentation
File Storage vePFS
API Reference
Tags
TagResources - Bind tags
Tags
TagResources - Bind tags
TagResources - Bind tags
Call the TagResources API to bind tags to vePFS-related resources.
Notice
Refer to the detailed tag configuration guidelines in Tagging rules. Debug
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
Request parameters
The following lists only the specific request parameters for this interface and some public parameters. For more information, see public parameters. Action string required Example value: TagResources
The operation to be performed: TagResources.
Version string required Example value: 2022-01-01
API version: 2022-01-01.
ResourceType string required Example value: filesystem
The types of resources that require tag binding are described as follows:
filesystem: vePFS file system.
ResourceIds string[] required Example: ["vepfs-cn0212gzmh2xs****","vepfs-cn0212gz1h2xs****"]
Specify the list of resources to bind. You can pass up to 20 file system IDs at a time, separated by commas (,).
Tags object[] required Example value: "Tags": [ { "Value": "value", "Key": "key" }, { "Value": "value1", "Key": "key1" } ]
List of tags to be bound to the resource. You can add up to 20 tag key-value pairs at a time. Detailed descriptions of the options are as follows.
Key string optional Example value: key
Tag key value details are as follows:
- Valid characters include: Unicode letters (e.g., Chinese characters and English letters), numbers, spaces, and special characters such as _.:/=+-@.
- Length: 1–128 characters.
- Case sensitivity: Type and type are considered two different tag keys.
- volc: is a reserved tag key. When adding tags, do not use any case variant of volc: as the start of a tag key.
Value string Optional Example: value
Description of tag value options:
- Supports any language letters or characters (such as Chinese, English letters, etc.), numbers, spaces, and the following special characters: _.:/=+-@.
- Case sensitivity: Extreme and extreme are considered two different tag values.
- Length: 0-256 characters. The tag value can be empty.
Response parameters
This interface has no specific response parameters. For more information, see Response structure. Sample request
Sample response
Error Code
Last updated: 2026.03.03 10:36:48