Tagging a Topic at Creation
Add metadata to a topic in Notifications when you first create it. This metadata associates keys and values with the new topic.
Use the oci ons topic create command and required parameters to tag a topic at creation:
oci ons topic create [--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 CreateTopic operation to tag a topic at creation. Include the
definedTags
andfreeformTags
attributes and their values.