Managing a Subscription
Add email addresses as subscribers to receive notifications for an alarm in Control Center by using the Notifications service.
Before You Begin
Subscriptions are linked to specific alarm configurations, so notifications are sent only to relevant stakeholders.
To associate an alarm with an existing notifications topic and manage email subscriptions:
Use the oci ons subscription create command and required parameters to add a subscription for the specified topic and send the subscription confirmation URL to the endpoint:
oci ons subscription create --compartment-id <compartment_OCID> --display-name <text> --subscription-endpoint <text> --topic-id <topic_OCID> [OPTIONS]For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateSubscription operation to add a subscription for the specified topic and send the subscription confirmation URL to the endpoint.