Skip to contents

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.

Usage

create_alert(client, name, options, query_id, parent = NULL, rearm = NULL)

alertsCreate(client, name, options, query_id, parent = NULL, rearm = NULL)

Arguments

client

Required. Instance of DatabricksClient()

name

Required. Name of the alert.

options

Required. Alert configuration options.

query_id

Required. Query ID.

parent

The identifier of the workspace folder containing the object.

rearm

Number of seconds after being triggered before the alert rearms itself and can be triggered again.