@Generated public interface AlertsService
**Note**: A new version of the Databricks SQL API will soon be available. [Learn more]
[Learn more]: https://docs.databricks.com/en/whats-coming.html#updates-to-the-databricks-sql-api-for-managing-queries-alerts-and-data-sources
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
| Modifier and Type | Method and Description |
|---|---|
Alert |
create(CreateAlert createAlert)
Create an alert.
|
void |
delete(DeleteAlertRequest deleteAlertRequest)
Delete an alert.
|
Alert |
get(GetAlertRequest getAlertRequest)
Get an alert.
|
Collection<Alert> |
list()
Get alerts.
|
void |
update(EditAlert editAlert)
Update an alert.
|
Alert create(CreateAlert createAlert)
Creates an alert. An alert is a Databricks SQL object that periodically runs a query, evaluates a condition of its result, and notifies users or notification destinations if the condition was met.
**Note**: A new version of the Databricks SQL API will soon be available. [Learn more]
[Learn more]: https://docs.databricks.com/en/whats-coming.html#updates-to-the-databricks-sql-api-for-managing-queries-alerts-and-data-sources
void delete(DeleteAlertRequest deleteAlertRequest)
Deletes an alert. Deleted alerts are no longer accessible and cannot be restored. **Note**: Unlike queries and dashboards, alerts cannot be moved to the trash.
**Note**: A new version of the Databricks SQL API will soon be available. [Learn more]
[Learn more]: https://docs.databricks.com/en/whats-coming.html#updates-to-the-databricks-sql-api-for-managing-queries-alerts-and-data-sources
Alert get(GetAlertRequest getAlertRequest)
Gets an alert.
**Note**: A new version of the Databricks SQL API will soon be available. [Learn more]
[Learn more]: https://docs.databricks.com/en/whats-coming.html#updates-to-the-databricks-sql-api-for-managing-queries-alerts-and-data-sources
Collection<Alert> list()
Gets a list of alerts.
**Note**: A new version of the Databricks SQL API will soon be available. [Learn more]
[Learn more]: https://docs.databricks.com/en/whats-coming.html#updates-to-the-databricks-sql-api-for-managing-queries-alerts-and-data-sources
void update(EditAlert editAlert)
Updates an alert.
**Note**: A new version of the Databricks SQL API will soon be available. [Learn more]
[Learn more]: https://docs.databricks.com/en/whats-coming.html#updates-to-the-databricks-sql-api-for-managing-queries-alerts-and-data-sources
Copyright © 2024. All rights reserved.