Tagging an Alarm When Updating

Add metadata to an alarm in Monitoring when you update it.

    1. On the Alarm Definitions list page, select the alarm that you want to work with. If you need help finding the list page or the alarm, see Listing Alarms.
    2. Go to Actions and then select Edit alarm.
      The Edit Alarm dialog box opens. Tag settings are under Show advanced options.
    3. To add a defined tag, select the namespace and key, then enter a value.
    4. To add a free-form tag, enter a key and value.
    5. Select Save alarm.
  • Use the oci monitoring alarm update command and required parameters to tag an alarm when you update it:

    oci monitoring alarm update [--defined-tags | --freeform-tags] <tags> [...]

    For a complete list of parameters and values for CLI commands, see the Command Line Reference for Monitoring.

  • Run the UpdateAlarm operation to tag an alarm when you update it. Include the definedTags and freeformTags attributes and their values.