Creating Databricks Alerts/Notifications without using the UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 10:02 AM
I am trying to work on a Databricks notebook that can dynamically create alerts using the Databricks API (Documentation linked here: https://docs.databricks.com/api/azure/workspace/alerts/list). I can successfully create an alert, however what is missing is the ability to assign notifications. There is nothing in the documentation that indicates it as an option to configure notification settings or to enable these. The closest thing is to be able to set up a custom notification subject/body, but this would not be useful if a notification cannot be configured.
Am I missing something in being confused why this capability is not there and is the only way truly to use the UI to configure notification destinations?
Has anyone identified a successful workaround to be able to fully set up an alert complete with notifications configured without any use of the UI?
Thanks in advance!