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 on the Subscription Details page. You can also tag a subscription from the Subscriptions page: Click the Actions menu (Actions Menu) and then select Add tags or View tags.
    1. Open the navigation menu and click Developer Services. Under Application Integration, click Notifications.
    2. Click Subscriptions.
    3. On the Subscriptions page, select the compartment that contains the subscription that you want.
    4. In the Subscription OCID column, click the link for the subscription that you want.
      The Subscription Details page opens.
    5. To add a tag, click Add tags, and enter the tag namespace, key, and value.
    6. To view existing tags, click the Tags tab and then click Defined tags or Free-form tags.
    7. To edit an existing tag, click the edit icon (Pencil icon), update the value in the Edit tag dialog box, and then click Save.
    8. To remove a tag, click the edit icon (Pencil icon) and then click Remove tag.
  • Use the oci ons subscription update command and required parameters to tag a subscription when updating it:

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