Name |
Type |
Description |
Notes |
on_start |
List[str] |
A list of email addresses to be notified when a run begins. If not specified on job creation, reset, or update, the list is empty, and notifications are not sent. |
[optional] |
on_success |
List[str] |
A list of email addresses to be notified when a run successfully completes. A run is considered to have completed successfully if it ends with a `TERMINATED` `life_cycle_state` and a `SUCCESSFUL` result_state. If not specified on job creation, reset, or update, the list is empty, and notifications are not sent. |
[optional] |
on_failure |
List[str] |
A list of email addresses to notify when a run completes unsuccessfully. A run is considered unsuccessful if it ends with an `INTERNAL_ERROR` `life_cycle_state` or a `SKIPPED`, `FAILED`, or `TIMED_OUT` `result_state`. If not specified on job creation, reset, or update, or the list is empty, then notifications are not sent. Job-level failure notifications are sent only once after the entire job run (including all of its retries) has failed. Notifications are not sent when failed job runs are retried. To receive a failure notification after every failed task (including every failed retry), use task-level notifications instead. |
[optional] |
no_alert_for_skipped_runs |
bool |
If true, do not send email to recipients specified in `on_failure` if the run is skipped. |
[optional] |
from databricks_jobs.models.job_email_notifications import JobEmailNotifications
# TODO update the JSON string below
json = "{}"
# create an instance of JobEmailNotifications from a JSON string
job_email_notifications_instance = JobEmailNotifications.from_json(json)
# print the JSON string representation of the object
print JobEmailNotifications.to_json()
# convert the object into a dict
job_email_notifications_dict = job_email_notifications_instance.to_dict()
# create an instance of JobEmailNotifications from a dict
job_email_notifications_form_dict = job_email_notifications.from_dict(job_email_notifications_dict)
[Back to Model list] [Back to API list] [Back to README]