# JobEmailNotifications

## Properties

| Name                              | Type             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Notes       |
| --------------------------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| **on\_start**                     | Option<**Vec**>  | 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**                   | Option<**Vec**>  | 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**                   | Option<**Vec**>  | 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** | Option<**bool**> | If true, do not send email to recipients specified in `on_failure` if the run is skipped.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | \[optional] |

[\[Back to Model list\]](https://databricks-kube-operator.gitbook.io/doc/databricks-rust-jobs/..#documentation-for-models) [\[Back to API list\]](https://databricks-kube-operator.gitbook.io/doc/databricks-rust-jobs/..#documentation-for-api-endpoints) [\[Back to README\]](https://databricks-kube-operator.gitbook.io/doc/databricks-rust-jobs)
