NotificationDestination
laktory.models.resources.databricks.NotificationDestination
¤
Bases: NotificationDestinationBase
Databricks notification destination
Examples:
import io
from laktory import models
nd_yaml = '''
display_name: slack
config:
slack:
url: https://hooks.slack.com/services/T00000000/B00000000/XXXX
'''
nd = models.resources.databricks.NotificationDestination.model_validate_yaml(
io.StringIO(nd_yaml)
)
References
| BASE | DESCRIPTION |
|---|---|
config
|
The configuration of the Notification Destination. It must contain exactly one of the following blocks:
TYPE:
|
destination_type
|
the type of Notification Destination
TYPE:
|
display_name
|
The display name of the Notification Destination
TYPE:
|
laktory.models.resources.databricks.notificationdestination.NotificationDestinationConfig
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
email
|
The email configuration of the Notification Destination. It must contain the following:
TYPE:
|
generic_webhook
|
The Generic Webhook configuration of the Notification Destination. It must contain the following:
TYPE:
|
microsoft_teams
|
The Microsoft Teams configuration of the Notification Destination. It must contain the following:
TYPE:
|
pagerduty
|
The PagerDuty configuration of the Notification Destination. It must contain the following:
TYPE:
|
slack
|
The Slack configuration of the Notification Destination. It must contain the following:
TYPE:
|
laktory.models.resources.databricks.notificationdestination.NotificationDestinationConfigEmail
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
addresses
|
The list of email addresses to send notifications to
TYPE:
|
laktory.models.resources.databricks.notificationdestination.NotificationDestinationConfigGenericWebhook
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
password
|
The password for basic authentication
TYPE:
|
password_set
|
TYPE:
|
url
|
The Generic Webhook URL
TYPE:
|
url_set
|
TYPE:
|
username
|
The username for basic authentication
TYPE:
|
username_set
|
TYPE:
|
laktory.models.resources.databricks.notificationdestination.NotificationDestinationConfigMicrosoftTeams
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
app_id
|
App ID for Microsoft Teams App
TYPE:
|
app_id_set
|
TYPE:
|
auth_secret
|
Secret for Microsoft Teams App authentication
TYPE:
|
auth_secret_set
|
TYPE:
|
channel_url
|
Channel URL for Microsoft Teams App
TYPE:
|
channel_url_set
|
TYPE:
|
tenant_id
|
Tenant ID for Microsoft Teams App
TYPE:
|
tenant_id_set
|
TYPE:
|
url
|
The Generic Webhook URL
TYPE:
|
url_set
|
TYPE:
|
laktory.models.resources.databricks.notificationdestination.NotificationDestinationConfigPagerduty
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
integration_key
|
The PagerDuty integration key
TYPE:
|
integration_key_set
|
TYPE:
|
laktory.models.resources.databricks.notificationdestination.NotificationDestinationConfigSlack
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
channel_id
|
Slack channel ID for notifications
TYPE:
|
channel_id_set
|
TYPE:
|
oauth_token
|
OAuth token for Slack authentication
TYPE:
|
oauth_token_set
|
TYPE:
|
url
|
The Generic Webhook URL
TYPE:
|
url_set
|
TYPE:
|