A tag is an identifier of a stream. Adding tags to streams can help you identify and manage your stream resources.
You can add a maximum of 10 tags to a stream when creating the stream or add them on the details page of the created stream.
A tag consists of a tag key and a tag value. Table 1 describes the rules for naming the tag key and value.
Parameter |
Rule |
Example |
---|---|---|
Key |
A tag key cannot be left blank. A stream can have only one tag key. You can enter a maximum of 36 characters for Key. The value of Key cannot start or end with a space and cannot contain any of the following characters: is equal to (=), asterisk (*), is less than (<), is greater than (>), backslash (\), comma (,), delimiter (|), and slash (/). |
Organization |
Tag value |
The value can be null. You can enter a maximum of 43 characters for Key. The value of Key cannot start or end with a space and cannot contain any of the following characters: is equal to (=), asterisk (*), is less than (<), is greater than (>), backslash (\), comma (,), delimiter (|), and slash (/). |
Apache |
Enter the key and value of a tag to be added.
You can add a maximum of 10 tags to the stream and use intersections of tags to search for the target stream.
You can select a tag key or tag value from its drop-down list. When the tag key or tag value is exactly matched, the system can automatically locate the target stream. If you enter multiple tags, their intersections are used to search for the stream.
The system searches for the target stream by tag key or value.
The stream details page is displayed.
On the Tags tab page, you can view details about tags of the stream, including the number of tags and the key and value of each tag.
Click Add Tag in the upper left corner. In the displayed Add Tag dialog box, enter the key and value of the tag to be added, and click OK.
In the Operation column of the tag, click Edit. In the displayed Edit Tag page, enter new tag key and value and click OK.
In the Operation column of the tag, click Delete. After confirmation, click OK in the displayed page for deleting a tag.