Tagging an Alarm at Creation
Add metadata to an alarm in Monitoring when you create it.
Use the oci monitoring alarm create command and required parameters to tag an alarm when you create it:
oci monitoring alarm create [--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 CreateAlarm operation to tag an alarm when you create it. Include the
definedTags
andfreeformTags
attributes and their values.