Tagging a Subscription at Creation
Add metadata to a subscription in Notifications when you first create it. This metadata associates keys and values with the new subscription.
These steps show how to open the Create Subscription panel from the details page for the topic that you want to add the subscription to. You can also open this panel from the Subscriptions page, specifying the topic in the panel: Select Create Subscription, and then select a Subscription Topic.
Notifications creates the subscription with the configured tags. If the subscription type requires a confirmation, then Notifications sends a confirmation URL to its endpoint and the subscription is pending until confirmation is received. Use the oci ons subscription create command and required parameters to tag a subscription at creation:
oci ons subscription 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 CreateSubscription operation to tag a subscription at creation. Include the
definedTags
andfreeformTags
attributes and their values.