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 [OPTIONS] [...] [--defined-tags | --freeform-tags] tags
For a complete list of flags and variable options 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.