All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.sdk.service.sql.AlertsService Maven / Gradle / Ivy

There is a newer version: 0.38.0
Show newest version
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.sql;

import com.databricks.sdk.support.Generated;
import java.util.Collection;

/**
 * The alerts API can be used to perform CRUD operations on alerts. An alert is a Databricks SQL
 * object that periodically runs a query, evaluates a condition of its result, and notifies one or
 * more users and/or notification destinations if the condition was met. Alerts can be scheduled
 * using the `sql_task` type of the Jobs API, e.g. :method:jobs/create.
 *
 * 

This is the high-level interface, that contains generated methods. * *

Evolving: this interface is under development. Method signatures may change. */ @Generated public interface AlertsService { /** * Create an alert. * *

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. */ Alert create(CreateAlert createAlert); /** * Delete an alert. * *

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. */ void delete(DeleteAlertRequest deleteAlertRequest); /** * Get an alert. * *

Gets an alert. */ Alert get(GetAlertRequest getAlertRequest); /** * Get alerts. * *

Gets a list of alerts. */ Collection list(); /** * Update an alert. * *

Updates an alert. */ void update(EditAlert editAlert); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy