@Generated public class AlertsLegacyAPI extends Object
**Warning**: This API is deprecated. Please see the latest version of the Databricks SQL API. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
| Constructor and Description |
|---|
AlertsLegacyAPI(AlertsLegacyService mock)
Constructor for mocks
|
AlertsLegacyAPI(ApiClient apiClient)
Regular-use constructor
|
| Modifier and Type | Method and Description |
|---|---|
LegacyAlert |
create(CreateAlert request)
Creates an alert.
|
void |
delete(DeleteAlertsLegacyRequest request)
Deletes an alert.
|
void |
delete(String alertId) |
LegacyAlert |
get(GetAlertsLegacyRequest request)
Gets an alert.
|
LegacyAlert |
get(String alertId) |
AlertsLegacyService |
impl() |
Iterable<LegacyAlert> |
list()
Gets a list of alerts.
|
void |
update(EditAlert request)
Updates an alert.
|
public AlertsLegacyAPI(ApiClient apiClient)
public AlertsLegacyAPI(AlertsLegacyService mock)
public LegacyAlert create(CreateAlert request)
**Warning**: This API is deprecated. Please use :method:alerts/create instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
public void delete(String alertId)
public void delete(DeleteAlertsLegacyRequest request)
**Warning**: This API is deprecated. Please use :method:alerts/delete instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
public LegacyAlert get(String alertId)
public LegacyAlert get(GetAlertsLegacyRequest request)
**Warning**: This API is deprecated. Please use :method:alerts/get instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
public Iterable<LegacyAlert> list()
**Warning**: This API is deprecated. Please use :method:alerts/list instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
public void update(EditAlert request)
**Warning**: This API is deprecated. Please use :method:alerts/update instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
public AlertsLegacyService impl()
Copyright © 2026. All rights reserved.