Tags
Tags are used to identify and classify functions. A tag can be associated with multiple functions, and a function can be associated with multiple tags.
You can configure function tags from the following two tag sources:
- Global resource tags created in Tag Management Service (TMS)
- Tags created in FunctionGraph
Notes and Constraints
- Each function can have a maximum of 20 tags.
- If your organization has configured tag policies for FunctionGraph, add tags to functions based on the policies. If a tag does not comply with the tag policies, function creation may fail. Contact your administrator to learn more about tag policies.
Prerequisites
To use the predefined tags, enable TMS. For details, see Permissions.
Adding a Tag
- Log in to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
- Click the name of a function.
- Choose Configuration > Tags.
- Click Edit Tag. In the displayed dialog box, click Add.
- Enter a tag key and value.
Each tag consists of a key-value pair. Each key must be unique and have only one value.
Table 1 Tag naming rules Parameter
Rule
Key
- Cannot be empty.
- Cannot start with _sys_ or a space, or end with a space.
- Can contain UTF-8 letters, digits, spaces, and the following characters: _.:=+-@
- Must be unique and cannot exceed 128 characters.
Value
- Can be an empty string.
- Can contain UTF-8 letters, digits, spaces, and the following characters: _.:/=+-@
- Max. 255 characters.
- Click OK.
Searching for Functions by Tag
- Return to the FunctionGraph console. In the navigation pane, choose Functions > Function List.
- In the search box, select the Tag filter, and then select one or more key-value pairs.
- Press Enter and you can view the search result in the function list.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot