Tagging When Updating a Topic
Add metadata to a topic in Notifications when you update it. This metadata associates keys and values with the topic.
- On the Topics list page, find the topic that you want to work with. If you need help finding the list page or the topic, see Listing Topics.
-
To add a tag:
- From the for the topic, select Add tags.
- For a defined tag, select the namespace.
- Select or enter the key.
- Enter a value.
- Select Add tags.
-
To edit a tag's value:
- From the Actions menu () for the topic, select View tags.
- In the View Tags dialog box, select the tab for the type of tag that you want to edit (defined or free-form).
- Select the pencil icon for the tag that you want to edit.
- In the Edit Tags dialog box, update the value and then select Save.
Use the oci ons topic update command and required parameters to tag a topic when updating it:
oci ons topic update [--defined-tags | --freeform-tags] tags [...]
For a complete list of parameters and values for CLI commands, see the Command Line Reference for Notifications.
Run the UpdateTopic operation to tag a topic when you update it. Include the
definedTags
andfreeformTags
attributes and their values.