Overview¶
Scenarios¶
A tag identifies an ECS. Adding tags to an ECS facilitates ECS identification and management.
You can add a tag to an ECS during the ECS creation or after the ECS is created. You can add a maximum of 10 tags to each ECS.
Note
Tags added during the ECS creation will also be added to the EIP and EVS disks (including the system disk and data disks) of the ECS. If the ECS uses an existing EIP, the tags will not be added to the EIP.
After creating the ECS, you can view the tags on the pages providing details about the ECS, EIP, and EVS disks.
Tag Naming Rules¶
Each tag consists of a key-value pair.
A maximum of 10 tags can be added to an ECS.
For each resource, a tag key must be unique and can have only one tag value.
A tag consists of a tag key and a tag value. Table 1 lists the tag key and value requirements.
¶ Parameter
Requirement
Example Value
Key
Cannot be left blank.
The key value must be unique for an ECS.
Can contain a maximum of 36 characters.
Can only consist of digits, letters, hyphens (-), and underscores (_).
Organization
Value
Can contain a maximum of 43 characters.
Can only consist of digits, letters, hyphens (-), and underscores (_).
Apache