@Generated public interface AlertsLegacyService
**Note**: A new version of the Databricks SQL API is now available. Please see the latest version. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
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 |
|---|---|
LegacyAlert |
create(CreateAlert createAlert)
Create an alert.
|
void |
delete(DeleteAlertsLegacyRequest deleteAlertsLegacyRequest)
Delete an alert.
|
LegacyAlert |
get(GetAlertsLegacyRequest getAlertsLegacyRequest)
Get an alert.
|
Collection<LegacyAlert> |
list()
Get alerts.
|
void |
update(EditAlert editAlert)
Update an alert.
|
LegacyAlert 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 is now available. Please use :method:alerts/create instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
void delete(DeleteAlertsLegacyRequest deleteAlertsLegacyRequest)
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 is now available. Please use :method:alerts/delete instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
LegacyAlert get(GetAlertsLegacyRequest getAlertsLegacyRequest)
Gets an alert.
**Note**: A new version of the Databricks SQL API is now available. Please use :method:alerts/get instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
Collection<LegacyAlert> list()
Gets a list of alerts.
**Note**: A new version of the Databricks SQL API is now available. Please use :method:alerts/list instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
void update(EditAlert editAlert)
Updates an alert.
**Note**: A new version of the Databricks SQL API is now available. Please use :method:alerts/update instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
Copyright © 2025. All rights reserved.