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.

    1. On the Topics list page, select Create Topic. If you need help finding the list page, see Listing Topics.
      The Create Topic panel opens. Tagging options are under Show advanced options.
    2. To add a defined tag, select the namespace and key, then enter a value.
    3. To add a free-form tag, enter a key and value.
    4. Provide values for the remaining fields.
      For field descriptions, see Creating a Topic.
    5. Select Create.
  • 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 and freeformTags attributes and their values.