Skip to content

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: NotificationDestinationConfig | None | VariableType DEFAULT: None

destination_type

the type of Notification Destination

TYPE: str | None | VariableType DEFAULT: None

display_name

The display name of the Notification Destination

TYPE: str | VariableType


laktory.models.resources.databricks.notificationdestination.NotificationDestinationConfig ¤

Bases: BaseModel

PARAMETER DESCRIPTION
email

The email configuration of the Notification Destination. It must contain the following:

TYPE: NotificationDestinationConfigEmail | None | VariableType DEFAULT: None

generic_webhook

The Generic Webhook configuration of the Notification Destination. It must contain the following:

TYPE: NotificationDestinationConfigGenericWebhook | None | VariableType DEFAULT: None

microsoft_teams

The Microsoft Teams configuration of the Notification Destination. It must contain the following:

TYPE: NotificationDestinationConfigMicrosoftTeams | None | VariableType DEFAULT: None

pagerduty

The PagerDuty configuration of the Notification Destination. It must contain the following:

TYPE: NotificationDestinationConfigPagerduty | None | VariableType DEFAULT: None

slack

The Slack configuration of the Notification Destination. It must contain the following:

TYPE: NotificationDestinationConfigSlack | None | VariableType DEFAULT: None


laktory.models.resources.databricks.notificationdestination.NotificationDestinationConfigEmail ¤

Bases: BaseModel

PARAMETER DESCRIPTION
addresses

The list of email addresses to send notifications to

TYPE: list[str] | None | VariableType DEFAULT: None


laktory.models.resources.databricks.notificationdestination.NotificationDestinationConfigGenericWebhook ¤

Bases: BaseModel

PARAMETER DESCRIPTION
password

The password for basic authentication

TYPE: str | None | VariableType DEFAULT: None

password_set

TYPE: bool | None | VariableType DEFAULT: None

url

The Generic Webhook URL

TYPE: str | None | VariableType DEFAULT: None

url_set

TYPE: bool | None | VariableType DEFAULT: None

username

The username for basic authentication

TYPE: str | None | VariableType DEFAULT: None

username_set

TYPE: bool | None | VariableType DEFAULT: None


laktory.models.resources.databricks.notificationdestination.NotificationDestinationConfigMicrosoftTeams ¤

Bases: BaseModel

PARAMETER DESCRIPTION
app_id

App ID for Microsoft Teams App

TYPE: str | None | VariableType DEFAULT: None

app_id_set

TYPE: bool | None | VariableType DEFAULT: None

auth_secret

Secret for Microsoft Teams App authentication

TYPE: str | None | VariableType DEFAULT: None

auth_secret_set

TYPE: bool | None | VariableType DEFAULT: None

channel_url

Channel URL for Microsoft Teams App

TYPE: str | None | VariableType DEFAULT: None

channel_url_set

TYPE: bool | None | VariableType DEFAULT: None

tenant_id

Tenant ID for Microsoft Teams App

TYPE: str | None | VariableType DEFAULT: None

tenant_id_set

TYPE: bool | None | VariableType DEFAULT: None

url

The Generic Webhook URL

TYPE: str | None | VariableType DEFAULT: None

url_set

TYPE: bool | None | VariableType DEFAULT: None


laktory.models.resources.databricks.notificationdestination.NotificationDestinationConfigPagerduty ¤

Bases: BaseModel

PARAMETER DESCRIPTION
integration_key

The PagerDuty integration key

TYPE: str | None | VariableType DEFAULT: None

integration_key_set

TYPE: bool | None | VariableType DEFAULT: None


laktory.models.resources.databricks.notificationdestination.NotificationDestinationConfigSlack ¤

Bases: BaseModel

PARAMETER DESCRIPTION
channel_id

Slack channel ID for notifications

TYPE: str | None | VariableType DEFAULT: None

channel_id_set

TYPE: bool | None | VariableType DEFAULT: None

oauth_token

OAuth token for Slack authentication

TYPE: str | None | VariableType DEFAULT: None

oauth_token_set

TYPE: bool | None | VariableType DEFAULT: None

url

The Generic Webhook URL

TYPE: str | None | VariableType DEFAULT: None

url_set

TYPE: bool | None | VariableType DEFAULT: None