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 creation (Tags tab on the page providing details about the ECS). Up to 10 tags can be added to an ECS.
Note
Tags added during ECS creation will also be added to the created 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.
Each ECS supports adding up to 10 tags.
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