1. Packages
  2. Databricks Provider
  3. API Docs
  4. AlertV2
Databricks v1.71.0 published on Monday, Jun 9, 2025 by Pulumi

databricks.AlertV2

Explore with Pulumi AI

databricks logo
Databricks v1.71.0 published on Monday, Jun 9, 2025 by Pulumi

    Import

    As of terraform v1.5, resources can be imported through configuration.

    hcl

    import {

    id = id

    to = databricks_alert_v2.this

    }

    If you are using an older version of terraform, you can import the resource using cli as follows:

    $ pulumi import databricks:index/alertV2:AlertV2 databricks_alert_v2 id
    

    Create AlertV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AlertV2(name: string, args?: AlertV2Args, opts?: CustomResourceOptions);
    @overload
    def AlertV2(resource_name: str,
                args: Optional[AlertV2Args] = None,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def AlertV2(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                custom_description: Optional[str] = None,
                custom_summary: Optional[str] = None,
                display_name: Optional[str] = None,
                evaluation: Optional[AlertV2EvaluationArgs] = None,
                parent_path: Optional[str] = None,
                query_text: Optional[str] = None,
                schedule: Optional[AlertV2ScheduleArgs] = None,
                warehouse_id: Optional[str] = None)
    func NewAlertV2(ctx *Context, name string, args *AlertV2Args, opts ...ResourceOption) (*AlertV2, error)
    public AlertV2(string name, AlertV2Args? args = null, CustomResourceOptions? opts = null)
    public AlertV2(String name, AlertV2Args args)
    public AlertV2(String name, AlertV2Args args, CustomResourceOptions options)
    
    type: databricks:AlertV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AlertV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AlertV2Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AlertV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlertV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlertV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var alertV2Resource = new Databricks.AlertV2("alertV2Resource", new()
    {
        CustomDescription = "string",
        CustomSummary = "string",
        DisplayName = "string",
        Evaluation = new Databricks.Inputs.AlertV2EvaluationArgs
        {
            ComparisonOperator = "string",
            EmptyResultState = "string",
            LastEvaluatedAt = "string",
            Notification = new Databricks.Inputs.AlertV2EvaluationNotificationArgs
            {
                NotifyOnOk = false,
                RetriggerSeconds = 0,
                Subscriptions = new[]
                {
                    new Databricks.Inputs.AlertV2EvaluationNotificationSubscriptionArgs
                    {
                        DestinationId = "string",
                        UserEmail = "string",
                    },
                },
            },
            Source = new Databricks.Inputs.AlertV2EvaluationSourceArgs
            {
                Aggregation = "string",
                Display = "string",
                Name = "string",
            },
            State = "string",
            Threshold = new Databricks.Inputs.AlertV2EvaluationThresholdArgs
            {
                Column = new Databricks.Inputs.AlertV2EvaluationThresholdColumnArgs
                {
                    Aggregation = "string",
                    Display = "string",
                    Name = "string",
                },
                Value = new Databricks.Inputs.AlertV2EvaluationThresholdValueArgs
                {
                    BoolValue = false,
                    DoubleValue = 0,
                    StringValue = "string",
                },
            },
        },
        ParentPath = "string",
        QueryText = "string",
        Schedule = new Databricks.Inputs.AlertV2ScheduleArgs
        {
            PauseStatus = "string",
            QuartzCronSchedule = "string",
            TimezoneId = "string",
        },
        WarehouseId = "string",
    });
    
    example, err := databricks.NewAlertV2(ctx, "alertV2Resource", &databricks.AlertV2Args{
    	CustomDescription: pulumi.String("string"),
    	CustomSummary:     pulumi.String("string"),
    	DisplayName:       pulumi.String("string"),
    	Evaluation: &databricks.AlertV2EvaluationArgs{
    		ComparisonOperator: pulumi.String("string"),
    		EmptyResultState:   pulumi.String("string"),
    		LastEvaluatedAt:    pulumi.String("string"),
    		Notification: &databricks.AlertV2EvaluationNotificationArgs{
    			NotifyOnOk:       pulumi.Bool(false),
    			RetriggerSeconds: pulumi.Int(0),
    			Subscriptions: databricks.AlertV2EvaluationNotificationSubscriptionArray{
    				&databricks.AlertV2EvaluationNotificationSubscriptionArgs{
    					DestinationId: pulumi.String("string"),
    					UserEmail:     pulumi.String("string"),
    				},
    			},
    		},
    		Source: &databricks.AlertV2EvaluationSourceArgs{
    			Aggregation: pulumi.String("string"),
    			Display:     pulumi.String("string"),
    			Name:        pulumi.String("string"),
    		},
    		State: pulumi.String("string"),
    		Threshold: &databricks.AlertV2EvaluationThresholdArgs{
    			Column: &databricks.AlertV2EvaluationThresholdColumnArgs{
    				Aggregation: pulumi.String("string"),
    				Display:     pulumi.String("string"),
    				Name:        pulumi.String("string"),
    			},
    			Value: &databricks.AlertV2EvaluationThresholdValueArgs{
    				BoolValue:   pulumi.Bool(false),
    				DoubleValue: pulumi.Float64(0),
    				StringValue: pulumi.String("string"),
    			},
    		},
    	},
    	ParentPath: pulumi.String("string"),
    	QueryText:  pulumi.String("string"),
    	Schedule: &databricks.AlertV2ScheduleArgs{
    		PauseStatus:        pulumi.String("string"),
    		QuartzCronSchedule: pulumi.String("string"),
    		TimezoneId:         pulumi.String("string"),
    	},
    	WarehouseId: pulumi.String("string"),
    })
    
    var alertV2Resource = new AlertV2("alertV2Resource", AlertV2Args.builder()
        .customDescription("string")
        .customSummary("string")
        .displayName("string")
        .evaluation(AlertV2EvaluationArgs.builder()
            .comparisonOperator("string")
            .emptyResultState("string")
            .lastEvaluatedAt("string")
            .notification(AlertV2EvaluationNotificationArgs.builder()
                .notifyOnOk(false)
                .retriggerSeconds(0)
                .subscriptions(AlertV2EvaluationNotificationSubscriptionArgs.builder()
                    .destinationId("string")
                    .userEmail("string")
                    .build())
                .build())
            .source(AlertV2EvaluationSourceArgs.builder()
                .aggregation("string")
                .display("string")
                .name("string")
                .build())
            .state("string")
            .threshold(AlertV2EvaluationThresholdArgs.builder()
                .column(AlertV2EvaluationThresholdColumnArgs.builder()
                    .aggregation("string")
                    .display("string")
                    .name("string")
                    .build())
                .value(AlertV2EvaluationThresholdValueArgs.builder()
                    .boolValue(false)
                    .doubleValue(0.0)
                    .stringValue("string")
                    .build())
                .build())
            .build())
        .parentPath("string")
        .queryText("string")
        .schedule(AlertV2ScheduleArgs.builder()
            .pauseStatus("string")
            .quartzCronSchedule("string")
            .timezoneId("string")
            .build())
        .warehouseId("string")
        .build());
    
    alert_v2_resource = databricks.AlertV2("alertV2Resource",
        custom_description="string",
        custom_summary="string",
        display_name="string",
        evaluation={
            "comparison_operator": "string",
            "empty_result_state": "string",
            "last_evaluated_at": "string",
            "notification": {
                "notify_on_ok": False,
                "retrigger_seconds": 0,
                "subscriptions": [{
                    "destination_id": "string",
                    "user_email": "string",
                }],
            },
            "source": {
                "aggregation": "string",
                "display": "string",
                "name": "string",
            },
            "state": "string",
            "threshold": {
                "column": {
                    "aggregation": "string",
                    "display": "string",
                    "name": "string",
                },
                "value": {
                    "bool_value": False,
                    "double_value": 0,
                    "string_value": "string",
                },
            },
        },
        parent_path="string",
        query_text="string",
        schedule={
            "pause_status": "string",
            "quartz_cron_schedule": "string",
            "timezone_id": "string",
        },
        warehouse_id="string")
    
    const alertV2Resource = new databricks.AlertV2("alertV2Resource", {
        customDescription: "string",
        customSummary: "string",
        displayName: "string",
        evaluation: {
            comparisonOperator: "string",
            emptyResultState: "string",
            lastEvaluatedAt: "string",
            notification: {
                notifyOnOk: false,
                retriggerSeconds: 0,
                subscriptions: [{
                    destinationId: "string",
                    userEmail: "string",
                }],
            },
            source: {
                aggregation: "string",
                display: "string",
                name: "string",
            },
            state: "string",
            threshold: {
                column: {
                    aggregation: "string",
                    display: "string",
                    name: "string",
                },
                value: {
                    boolValue: false,
                    doubleValue: 0,
                    stringValue: "string",
                },
            },
        },
        parentPath: "string",
        queryText: "string",
        schedule: {
            pauseStatus: "string",
            quartzCronSchedule: "string",
            timezoneId: "string",
        },
        warehouseId: "string",
    });
    
    type: databricks:AlertV2
    properties:
        customDescription: string
        customSummary: string
        displayName: string
        evaluation:
            comparisonOperator: string
            emptyResultState: string
            lastEvaluatedAt: string
            notification:
                notifyOnOk: false
                retriggerSeconds: 0
                subscriptions:
                    - destinationId: string
                      userEmail: string
            source:
                aggregation: string
                display: string
                name: string
            state: string
            threshold:
                column:
                    aggregation: string
                    display: string
                    name: string
                value:
                    boolValue: false
                    doubleValue: 0
                    stringValue: string
        parentPath: string
        queryText: string
        schedule:
            pauseStatus: string
            quartzCronSchedule: string
            timezoneId: string
        warehouseId: string
    

    AlertV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AlertV2 resource accepts the following input properties:

    CustomDescription string
    Custom description for the alert. support mustache template
    CustomSummary string
    Custom summary for the alert. support mustache template
    DisplayName string
    The display name of the alert
    Evaluation AlertV2Evaluation
    ParentPath string
    The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    QueryText string
    Text of the query to be run
    Schedule AlertV2Schedule
    WarehouseId string
    ID of the SQL warehouse attached to the alert
    CustomDescription string
    Custom description for the alert. support mustache template
    CustomSummary string
    Custom summary for the alert. support mustache template
    DisplayName string
    The display name of the alert
    Evaluation AlertV2EvaluationArgs
    ParentPath string
    The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    QueryText string
    Text of the query to be run
    Schedule AlertV2ScheduleArgs
    WarehouseId string
    ID of the SQL warehouse attached to the alert
    customDescription String
    Custom description for the alert. support mustache template
    customSummary String
    Custom summary for the alert. support mustache template
    displayName String
    The display name of the alert
    evaluation AlertV2Evaluation
    parentPath String
    The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    queryText String
    Text of the query to be run
    schedule AlertV2Schedule
    warehouseId String
    ID of the SQL warehouse attached to the alert
    customDescription string
    Custom description for the alert. support mustache template
    customSummary string
    Custom summary for the alert. support mustache template
    displayName string
    The display name of the alert
    evaluation AlertV2Evaluation
    parentPath string
    The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    queryText string
    Text of the query to be run
    schedule AlertV2Schedule
    warehouseId string
    ID of the SQL warehouse attached to the alert
    custom_description str
    Custom description for the alert. support mustache template
    custom_summary str
    Custom summary for the alert. support mustache template
    display_name str
    The display name of the alert
    evaluation AlertV2EvaluationArgs
    parent_path str
    The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    query_text str
    Text of the query to be run
    schedule AlertV2ScheduleArgs
    warehouse_id str
    ID of the SQL warehouse attached to the alert
    customDescription String
    Custom description for the alert. support mustache template
    customSummary String
    Custom summary for the alert. support mustache template
    displayName String
    The display name of the alert
    evaluation Property Map
    parentPath String
    The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    queryText String
    Text of the query to be run
    schedule Property Map
    warehouseId String
    ID of the SQL warehouse attached to the alert

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AlertV2 resource produces the following output properties:

    CreateTime string
    (string) - The timestamp indicating when the alert was created
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
    OwnerUserName string
    (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
    RunAsUserName string
    (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
    UpdateTime string
    (string) - The timestamp indicating when the alert was updated
    CreateTime string
    (string) - The timestamp indicating when the alert was created
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
    OwnerUserName string
    (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
    RunAsUserName string
    (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
    UpdateTime string
    (string) - The timestamp indicating when the alert was updated
    createTime String
    (string) - The timestamp indicating when the alert was created
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
    ownerUserName String
    (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
    runAsUserName String
    (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
    updateTime String
    (string) - The timestamp indicating when the alert was updated
    createTime string
    (string) - The timestamp indicating when the alert was created
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleState string
    (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
    ownerUserName string
    (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
    runAsUserName string
    (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
    updateTime string
    (string) - The timestamp indicating when the alert was updated
    create_time str
    (string) - The timestamp indicating when the alert was created
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_state str
    (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
    owner_user_name str
    (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
    run_as_user_name str
    (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
    update_time str
    (string) - The timestamp indicating when the alert was updated
    createTime String
    (string) - The timestamp indicating when the alert was created
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
    ownerUserName String
    (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
    runAsUserName String
    (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
    updateTime String
    (string) - The timestamp indicating when the alert was updated

    Look up Existing AlertV2 Resource

    Get an existing AlertV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AlertV2State, opts?: CustomResourceOptions): AlertV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            custom_description: Optional[str] = None,
            custom_summary: Optional[str] = None,
            display_name: Optional[str] = None,
            evaluation: Optional[AlertV2EvaluationArgs] = None,
            lifecycle_state: Optional[str] = None,
            owner_user_name: Optional[str] = None,
            parent_path: Optional[str] = None,
            query_text: Optional[str] = None,
            run_as_user_name: Optional[str] = None,
            schedule: Optional[AlertV2ScheduleArgs] = None,
            update_time: Optional[str] = None,
            warehouse_id: Optional[str] = None) -> AlertV2
    func GetAlertV2(ctx *Context, name string, id IDInput, state *AlertV2State, opts ...ResourceOption) (*AlertV2, error)
    public static AlertV2 Get(string name, Input<string> id, AlertV2State? state, CustomResourceOptions? opts = null)
    public static AlertV2 get(String name, Output<String> id, AlertV2State state, CustomResourceOptions options)
    resources:  _:    type: databricks:AlertV2    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreateTime string
    (string) - The timestamp indicating when the alert was created
    CustomDescription string
    Custom description for the alert. support mustache template
    CustomSummary string
    Custom summary for the alert. support mustache template
    DisplayName string
    The display name of the alert
    Evaluation AlertV2Evaluation
    LifecycleState string
    (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
    OwnerUserName string
    (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
    ParentPath string
    The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    QueryText string
    Text of the query to be run
    RunAsUserName string
    (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
    Schedule AlertV2Schedule
    UpdateTime string
    (string) - The timestamp indicating when the alert was updated
    WarehouseId string
    ID of the SQL warehouse attached to the alert
    CreateTime string
    (string) - The timestamp indicating when the alert was created
    CustomDescription string
    Custom description for the alert. support mustache template
    CustomSummary string
    Custom summary for the alert. support mustache template
    DisplayName string
    The display name of the alert
    Evaluation AlertV2EvaluationArgs
    LifecycleState string
    (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
    OwnerUserName string
    (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
    ParentPath string
    The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    QueryText string
    Text of the query to be run
    RunAsUserName string
    (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
    Schedule AlertV2ScheduleArgs
    UpdateTime string
    (string) - The timestamp indicating when the alert was updated
    WarehouseId string
    ID of the SQL warehouse attached to the alert
    createTime String
    (string) - The timestamp indicating when the alert was created
    customDescription String
    Custom description for the alert. support mustache template
    customSummary String
    Custom summary for the alert. support mustache template
    displayName String
    The display name of the alert
    evaluation AlertV2Evaluation
    lifecycleState String
    (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
    ownerUserName String
    (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
    parentPath String
    The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    queryText String
    Text of the query to be run
    runAsUserName String
    (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
    schedule AlertV2Schedule
    updateTime String
    (string) - The timestamp indicating when the alert was updated
    warehouseId String
    ID of the SQL warehouse attached to the alert
    createTime string
    (string) - The timestamp indicating when the alert was created
    customDescription string
    Custom description for the alert. support mustache template
    customSummary string
    Custom summary for the alert. support mustache template
    displayName string
    The display name of the alert
    evaluation AlertV2Evaluation
    lifecycleState string
    (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
    ownerUserName string
    (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
    parentPath string
    The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    queryText string
    Text of the query to be run
    runAsUserName string
    (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
    schedule AlertV2Schedule
    updateTime string
    (string) - The timestamp indicating when the alert was updated
    warehouseId string
    ID of the SQL warehouse attached to the alert
    create_time str
    (string) - The timestamp indicating when the alert was created
    custom_description str
    Custom description for the alert. support mustache template
    custom_summary str
    Custom summary for the alert. support mustache template
    display_name str
    The display name of the alert
    evaluation AlertV2EvaluationArgs
    lifecycle_state str
    (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
    owner_user_name str
    (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
    parent_path str
    The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    query_text str
    Text of the query to be run
    run_as_user_name str
    (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
    schedule AlertV2ScheduleArgs
    update_time str
    (string) - The timestamp indicating when the alert was updated
    warehouse_id str
    ID of the SQL warehouse attached to the alert
    createTime String
    (string) - The timestamp indicating when the alert was created
    customDescription String
    Custom description for the alert. support mustache template
    customSummary String
    Custom summary for the alert. support mustache template
    displayName String
    The display name of the alert
    evaluation Property Map
    lifecycleState String
    (string) - Indicates whether the query is trashed. Possible values are: ACTIVE, TRASHED
    ownerUserName String
    (string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
    parentPath String
    The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    queryText String
    Text of the query to be run
    runAsUserName String
    (string) - The run as username. This field is set to "Unavailable" if the user has been deleted
    schedule Property Map
    updateTime String
    (string) - The timestamp indicating when the alert was updated
    warehouseId String
    ID of the SQL warehouse attached to the alert

    Supporting Types

    AlertV2Evaluation, AlertV2EvaluationArgs

    ComparisonOperator string
    Operator used for comparison in alert evaluation. Possible values are: EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IS_NOT_NULL, IS_NULL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL
    EmptyResultState string
    Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    LastEvaluatedAt string
    (string) - Timestamp of the last evaluation
    Notification AlertV2EvaluationNotification
    User or Notification Destination to notify when alert is triggered
    Source AlertV2EvaluationSource
    Source column from result to use to evaluate alert
    State string
    (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    Threshold AlertV2EvaluationThreshold
    Threshold to user for alert evaluation, can be a column or a value
    ComparisonOperator string
    Operator used for comparison in alert evaluation. Possible values are: EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IS_NOT_NULL, IS_NULL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL
    EmptyResultState string
    Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    LastEvaluatedAt string
    (string) - Timestamp of the last evaluation
    Notification AlertV2EvaluationNotification
    User or Notification Destination to notify when alert is triggered
    Source AlertV2EvaluationSource
    Source column from result to use to evaluate alert
    State string
    (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    Threshold AlertV2EvaluationThreshold
    Threshold to user for alert evaluation, can be a column or a value
    comparisonOperator String
    Operator used for comparison in alert evaluation. Possible values are: EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IS_NOT_NULL, IS_NULL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL
    emptyResultState String
    Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    lastEvaluatedAt String
    (string) - Timestamp of the last evaluation
    notification AlertV2EvaluationNotification
    User or Notification Destination to notify when alert is triggered
    source AlertV2EvaluationSource
    Source column from result to use to evaluate alert
    state String
    (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    threshold AlertV2EvaluationThreshold
    Threshold to user for alert evaluation, can be a column or a value
    comparisonOperator string
    Operator used for comparison in alert evaluation. Possible values are: EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IS_NOT_NULL, IS_NULL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL
    emptyResultState string
    Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    lastEvaluatedAt string
    (string) - Timestamp of the last evaluation
    notification AlertV2EvaluationNotification
    User or Notification Destination to notify when alert is triggered
    source AlertV2EvaluationSource
    Source column from result to use to evaluate alert
    state string
    (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    threshold AlertV2EvaluationThreshold
    Threshold to user for alert evaluation, can be a column or a value
    comparison_operator str
    Operator used for comparison in alert evaluation. Possible values are: EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IS_NOT_NULL, IS_NULL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL
    empty_result_state str
    Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    last_evaluated_at str
    (string) - Timestamp of the last evaluation
    notification AlertV2EvaluationNotification
    User or Notification Destination to notify when alert is triggered
    source AlertV2EvaluationSource
    Source column from result to use to evaluate alert
    state str
    (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    threshold AlertV2EvaluationThreshold
    Threshold to user for alert evaluation, can be a column or a value
    comparisonOperator String
    Operator used for comparison in alert evaluation. Possible values are: EQUAL, GREATER_THAN, GREATER_THAN_OR_EQUAL, IS_NOT_NULL, IS_NULL, LESS_THAN, LESS_THAN_OR_EQUAL, NOT_EQUAL
    emptyResultState String
    Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    lastEvaluatedAt String
    (string) - Timestamp of the last evaluation
    notification Property Map
    User or Notification Destination to notify when alert is triggered
    source Property Map
    Source column from result to use to evaluate alert
    state String
    (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    threshold Property Map
    Threshold to user for alert evaluation, can be a column or a value

    AlertV2EvaluationNotification, AlertV2EvaluationNotificationArgs

    NotifyOnOk bool
    Whether to notify alert subscribers when alert returns back to normal
    RetriggerSeconds int
    Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again
    Subscriptions List<AlertV2EvaluationNotificationSubscription>
    NotifyOnOk bool
    Whether to notify alert subscribers when alert returns back to normal
    RetriggerSeconds int
    Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again
    Subscriptions []AlertV2EvaluationNotificationSubscription
    notifyOnOk Boolean
    Whether to notify alert subscribers when alert returns back to normal
    retriggerSeconds Integer
    Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again
    subscriptions List<AlertV2EvaluationNotificationSubscription>
    notifyOnOk boolean
    Whether to notify alert subscribers when alert returns back to normal
    retriggerSeconds number
    Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again
    subscriptions AlertV2EvaluationNotificationSubscription[]
    notify_on_ok bool
    Whether to notify alert subscribers when alert returns back to normal
    retrigger_seconds int
    Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again
    subscriptions Sequence[AlertV2EvaluationNotificationSubscription]
    notifyOnOk Boolean
    Whether to notify alert subscribers when alert returns back to normal
    retriggerSeconds Number
    Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again
    subscriptions List<Property Map>

    AlertV2EvaluationNotificationSubscription, AlertV2EvaluationNotificationSubscriptionArgs

    AlertV2EvaluationSource, AlertV2EvaluationSourceArgs

    Aggregation string
    . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
    Display string
    Name string
    Aggregation string
    . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
    Display string
    Name string
    aggregation String
    . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
    display String
    name String
    aggregation string
    . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
    display string
    name string
    aggregation str
    . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
    display str
    name str
    aggregation String
    . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
    display String
    name String

    AlertV2EvaluationThreshold, AlertV2EvaluationThresholdArgs

    AlertV2EvaluationThresholdColumn, AlertV2EvaluationThresholdColumnArgs

    Aggregation string
    . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
    Display string
    Name string
    Aggregation string
    . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
    Display string
    Name string
    aggregation String
    . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
    display String
    name String
    aggregation string
    . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
    display string
    name string
    aggregation str
    . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
    display str
    name str
    aggregation String
    . Possible values are: AVG, COUNT, COUNT_DISTINCT, MAX, MEDIAN, MIN, STDDEV, SUM
    display String
    name String

    AlertV2EvaluationThresholdValue, AlertV2EvaluationThresholdValueArgs

    boolValue Boolean
    doubleValue Double
    stringValue String
    boolValue boolean
    doubleValue number
    stringValue string
    boolValue Boolean
    doubleValue Number
    stringValue String

    AlertV2Schedule, AlertV2ScheduleArgs

    PauseStatus string
    Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
    QuartzCronSchedule string
    A cron expression using quartz syntax that specifies the schedule for this pipeline. Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
    TimezoneId string
    A Java timezone id. The schedule will be resolved using this timezone. This will be combined with the quartz_cron_schedule to determine the schedule. See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details
    PauseStatus string
    Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
    QuartzCronSchedule string
    A cron expression using quartz syntax that specifies the schedule for this pipeline. Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
    TimezoneId string
    A Java timezone id. The schedule will be resolved using this timezone. This will be combined with the quartz_cron_schedule to determine the schedule. See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details
    pauseStatus String
    Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
    quartzCronSchedule String
    A cron expression using quartz syntax that specifies the schedule for this pipeline. Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
    timezoneId String
    A Java timezone id. The schedule will be resolved using this timezone. This will be combined with the quartz_cron_schedule to determine the schedule. See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details
    pauseStatus string
    Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
    quartzCronSchedule string
    A cron expression using quartz syntax that specifies the schedule for this pipeline. Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
    timezoneId string
    A Java timezone id. The schedule will be resolved using this timezone. This will be combined with the quartz_cron_schedule to determine the schedule. See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details
    pause_status str
    Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
    quartz_cron_schedule str
    A cron expression using quartz syntax that specifies the schedule for this pipeline. Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
    timezone_id str
    A Java timezone id. The schedule will be resolved using this timezone. This will be combined with the quartz_cron_schedule to determine the schedule. See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details
    pauseStatus String
    Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
    quartzCronSchedule String
    A cron expression using quartz syntax that specifies the schedule for this pipeline. Should use the quartz format described here: http://www.quartz-scheduler.org/documentation/quartz-2.1.7/tutorials/tutorial-lesson-06.html
    timezoneId String
    A Java timezone id. The schedule will be resolved using this timezone. This will be combined with the quartz_cron_schedule to determine the schedule. See https://docs.databricks.com/sql/language-manual/sql-ref-syntax-aux-conf-mgmt-set-timezone.html for details

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo
    Databricks v1.71.0 published on Monday, Jun 9, 2025 by Pulumi