Tagging a Subscription When Updating

Add metadata to a subscription in Notifications when you update it. This metadata associates keys and values with the subscription.

  • These steps show how to tag a subscription from the Subscriptions list page. You can also tag a subscription from the details page for the subscription or its parent topic.
    1. On the Subscriptions list page, find the subscription that you want to work with. If you need help finding the list page or the subscription, see Listing Subscriptions.
    2. To add a tag:
      1. From the Actions menu (Actions Menu) for the topic, select Add tags.
      2. For a defined tag, select the namespace.
      3. Select or enter the key.
      4. Enter a value.
      5. Select Add tags.
    3. To edit a tag's value:
      1. From the Actions menu (Actions Menu) for the topic, select View tags.
      2. In the View Tags dialog box, select the tab for the type of tag that you want to edit (defined or free-form).
      3. Select the pencil icon for the tag that you want to edit.
      4. In the Edit Tags dialog box, update the value and then select Save.
  • Use the oci ons subscription update command and required parameters to tag a subscription when updating it:

    oci ons subscription 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 UpdateSubscription operation to tag a subscription when you update it. Include the definedTags and freeformTags attributes and their values.