1. Packages
  2. Databricks Provider
  3. API Docs
  4. getAlertsV2
Databricks v1.75.0 published on Thursday, Sep 11, 2025 by Pulumi

databricks.getAlertsV2

Explore with Pulumi AI

databricks logo
Databricks v1.75.0 published on Thursday, Sep 11, 2025 by Pulumi

    The SQL Alerts v2 data source allows you to retrieve a list of alerts in Databricks SQL that are accessible to the current user. This data source returns alerts ordered by their creation time.

    You can use this data source to:

    • Get a comprehensive list of all alerts in your workspace
    • Monitor and audit alert configurations across your workspace

    Example Usage

    List All Alerts

    This example retrieves all alerts accessible to the current user:

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    
    const all = databricks.getAlertV2({});
    
    import pulumi
    import pulumi_databricks as databricks
    
    all = databricks.get_alert_v2()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.LookupAlertV2(ctx, &databricks.LookupAlertV2Args{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var all = Databricks.GetAlertV2.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.DatabricksFunctions;
    import com.pulumi.databricks.inputs.GetAlertV2Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var all = DatabricksFunctions.getAlertV2(GetAlertV2Args.builder()
                .build());
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: databricks:getAlertV2
          arguments: {}
    

    Using getAlertsV2

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAlertsV2(args: GetAlertsV2Args, opts?: InvokeOptions): Promise<GetAlertsV2Result>
    function getAlertsV2Output(args: GetAlertsV2OutputArgs, opts?: InvokeOptions): Output<GetAlertsV2Result>
    def get_alerts_v2(workspace_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetAlertsV2Result
    def get_alerts_v2_output(workspace_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetAlertsV2Result]
    func LookupAlertsV2(ctx *Context, args *LookupAlertsV2Args, opts ...InvokeOption) (*LookupAlertsV2Result, error)
    func LookupAlertsV2Output(ctx *Context, args *LookupAlertsV2OutputArgs, opts ...InvokeOption) LookupAlertsV2ResultOutput

    > Note: This function is named LookupAlertsV2 in the Go SDK.

    public static class GetAlertsV2 
    {
        public static Task<GetAlertsV2Result> InvokeAsync(GetAlertsV2Args args, InvokeOptions? opts = null)
        public static Output<GetAlertsV2Result> Invoke(GetAlertsV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAlertsV2Result> getAlertsV2(GetAlertsV2Args args, InvokeOptions options)
    public static Output<GetAlertsV2Result> getAlertsV2(GetAlertsV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: databricks:index/getAlertsV2:getAlertsV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    WorkspaceId string
    Workspace ID of the resource
    WorkspaceId string
    Workspace ID of the resource
    workspaceId String
    Workspace ID of the resource
    workspaceId string
    Workspace ID of the resource
    workspace_id str
    Workspace ID of the resource
    workspaceId String
    Workspace ID of the resource

    getAlertsV2 Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetAlertsV2Result>
    WorkspaceId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Results []GetAlertsV2Result
    WorkspaceId string
    id String
    The provider-assigned unique ID for this managed resource.
    results List<GetAlertsV2Result>
    workspaceId String
    id string
    The provider-assigned unique ID for this managed resource.
    results GetAlertsV2Result[]
    workspaceId string
    id str
    The provider-assigned unique ID for this managed resource.
    results Sequence[GetAlertsV2Result]
    workspace_id str
    id String
    The provider-assigned unique ID for this managed resource.
    results List<Property Map>
    workspaceId String

    Supporting Types

    GetAlertsV2Result

    CreateTime string
    (string) - The timestamp indicating when the alert was created
    EffectiveRunAs GetAlertsV2ResultEffectiveRunAs
    (AlertV2RunAs) - The actual identity that will be used to execute the alert. This is an output-only field that shows the resolved run-as identity after applying permissions and defaults
    Id string
    (string) - UUID identifying the alert
    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
    UpdateTime string
    (string) - The timestamp indicating when the alert was updated
    CustomDescription string
    (string) - Custom description for the alert. support mustache template
    CustomSummary string
    (string) - Custom summary for the alert. support mustache template
    DisplayName string
    (string) - The display name of the alert
    Evaluation GetAlertsV2ResultEvaluation
    (AlertV2Evaluation)
    ParentPath string
    (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    QueryText string
    (string) - Text of the query to be run
    RunAs GetAlertsV2ResultRunAs
    (AlertV2RunAs) - Specifies the identity that will be used to run the alert. This field allows you to configure alerts to run as a specific user or service principal.

    • For user identity: Set user_name to the email of an active workspace user. Users can only set this to their own email.
    • For service principal: Set service_principal_name to the application ID. Requires the servicePrincipal/user role. If not specified, the alert will run as the request user
    RunAsUserName string
    (string, deprecated) - The run as username or application ID of service principal. On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role. Deprecated: Use run_as field instead. This field will be removed in a future release
    Schedule GetAlertsV2ResultSchedule
    (CronSchedule)
    WarehouseId string
    (string) - ID of the SQL warehouse attached to the alert
    CreateTime string
    (string) - The timestamp indicating when the alert was created
    EffectiveRunAs GetAlertsV2ResultEffectiveRunAs
    (AlertV2RunAs) - The actual identity that will be used to execute the alert. This is an output-only field that shows the resolved run-as identity after applying permissions and defaults
    Id string
    (string) - UUID identifying the alert
    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
    UpdateTime string
    (string) - The timestamp indicating when the alert was updated
    CustomDescription string
    (string) - Custom description for the alert. support mustache template
    CustomSummary string
    (string) - Custom summary for the alert. support mustache template
    DisplayName string
    (string) - The display name of the alert
    Evaluation GetAlertsV2ResultEvaluation
    (AlertV2Evaluation)
    ParentPath string
    (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    QueryText string
    (string) - Text of the query to be run
    RunAs GetAlertsV2ResultRunAs
    (AlertV2RunAs) - Specifies the identity that will be used to run the alert. This field allows you to configure alerts to run as a specific user or service principal.

    • For user identity: Set user_name to the email of an active workspace user. Users can only set this to their own email.
    • For service principal: Set service_principal_name to the application ID. Requires the servicePrincipal/user role. If not specified, the alert will run as the request user
    RunAsUserName string
    (string, deprecated) - The run as username or application ID of service principal. On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role. Deprecated: Use run_as field instead. This field will be removed in a future release
    Schedule GetAlertsV2ResultSchedule
    (CronSchedule)
    WarehouseId string
    (string) - ID of the SQL warehouse attached to the alert
    createTime String
    (string) - The timestamp indicating when the alert was created
    effectiveRunAs GetAlertsV2ResultEffectiveRunAs
    (AlertV2RunAs) - The actual identity that will be used to execute the alert. This is an output-only field that shows the resolved run-as identity after applying permissions and defaults
    id String
    (string) - UUID identifying the alert
    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
    updateTime String
    (string) - The timestamp indicating when the alert was updated
    customDescription String
    (string) - Custom description for the alert. support mustache template
    customSummary String
    (string) - Custom summary for the alert. support mustache template
    displayName String
    (string) - The display name of the alert
    evaluation GetAlertsV2ResultEvaluation
    (AlertV2Evaluation)
    parentPath String
    (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    queryText String
    (string) - Text of the query to be run
    runAs GetAlertsV2ResultRunAs
    (AlertV2RunAs) - Specifies the identity that will be used to run the alert. This field allows you to configure alerts to run as a specific user or service principal.

    • For user identity: Set user_name to the email of an active workspace user. Users can only set this to their own email.
    • For service principal: Set service_principal_name to the application ID. Requires the servicePrincipal/user role. If not specified, the alert will run as the request user
    runAsUserName String
    (string, deprecated) - The run as username or application ID of service principal. On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role. Deprecated: Use run_as field instead. This field will be removed in a future release
    schedule GetAlertsV2ResultSchedule
    (CronSchedule)
    warehouseId String
    (string) - ID of the SQL warehouse attached to the alert
    createTime string
    (string) - The timestamp indicating when the alert was created
    effectiveRunAs GetAlertsV2ResultEffectiveRunAs
    (AlertV2RunAs) - The actual identity that will be used to execute the alert. This is an output-only field that shows the resolved run-as identity after applying permissions and defaults
    id string
    (string) - UUID identifying the alert
    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
    updateTime string
    (string) - The timestamp indicating when the alert was updated
    customDescription string
    (string) - Custom description for the alert. support mustache template
    customSummary string
    (string) - Custom summary for the alert. support mustache template
    displayName string
    (string) - The display name of the alert
    evaluation GetAlertsV2ResultEvaluation
    (AlertV2Evaluation)
    parentPath string
    (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    queryText string
    (string) - Text of the query to be run
    runAs GetAlertsV2ResultRunAs
    (AlertV2RunAs) - Specifies the identity that will be used to run the alert. This field allows you to configure alerts to run as a specific user or service principal.

    • For user identity: Set user_name to the email of an active workspace user. Users can only set this to their own email.
    • For service principal: Set service_principal_name to the application ID. Requires the servicePrincipal/user role. If not specified, the alert will run as the request user
    runAsUserName string
    (string, deprecated) - The run as username or application ID of service principal. On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role. Deprecated: Use run_as field instead. This field will be removed in a future release
    schedule GetAlertsV2ResultSchedule
    (CronSchedule)
    warehouseId string
    (string) - ID of the SQL warehouse attached to the alert
    create_time str
    (string) - The timestamp indicating when the alert was created
    effective_run_as GetAlertsV2ResultEffectiveRunAs
    (AlertV2RunAs) - The actual identity that will be used to execute the alert. This is an output-only field that shows the resolved run-as identity after applying permissions and defaults
    id str
    (string) - UUID identifying the alert
    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
    update_time str
    (string) - The timestamp indicating when the alert was updated
    custom_description str
    (string) - Custom description for the alert. support mustache template
    custom_summary str
    (string) - Custom summary for the alert. support mustache template
    display_name str
    (string) - The display name of the alert
    evaluation GetAlertsV2ResultEvaluation
    (AlertV2Evaluation)
    parent_path str
    (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    query_text str
    (string) - Text of the query to be run
    run_as GetAlertsV2ResultRunAs
    (AlertV2RunAs) - Specifies the identity that will be used to run the alert. This field allows you to configure alerts to run as a specific user or service principal.

    • For user identity: Set user_name to the email of an active workspace user. Users can only set this to their own email.
    • For service principal: Set service_principal_name to the application ID. Requires the servicePrincipal/user role. If not specified, the alert will run as the request user
    run_as_user_name str
    (string, deprecated) - The run as username or application ID of service principal. On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role. Deprecated: Use run_as field instead. This field will be removed in a future release
    schedule GetAlertsV2ResultSchedule
    (CronSchedule)
    warehouse_id str
    (string) - ID of the SQL warehouse attached to the alert
    createTime String
    (string) - The timestamp indicating when the alert was created
    effectiveRunAs Property Map
    (AlertV2RunAs) - The actual identity that will be used to execute the alert. This is an output-only field that shows the resolved run-as identity after applying permissions and defaults
    id String
    (string) - UUID identifying the alert
    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
    updateTime String
    (string) - The timestamp indicating when the alert was updated
    customDescription String
    (string) - Custom description for the alert. support mustache template
    customSummary String
    (string) - Custom summary for the alert. support mustache template
    displayName String
    (string) - The display name of the alert
    evaluation Property Map
    (AlertV2Evaluation)
    parentPath String
    (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
    queryText String
    (string) - Text of the query to be run
    runAs Property Map
    (AlertV2RunAs) - Specifies the identity that will be used to run the alert. This field allows you to configure alerts to run as a specific user or service principal.

    • For user identity: Set user_name to the email of an active workspace user. Users can only set this to their own email.
    • For service principal: Set service_principal_name to the application ID. Requires the servicePrincipal/user role. If not specified, the alert will run as the request user
    runAsUserName String
    (string, deprecated) - The run as username or application ID of service principal. On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role. Deprecated: Use run_as field instead. This field will be removed in a future release
    schedule Property Map
    (CronSchedule)
    warehouseId String
    (string) - ID of the SQL warehouse attached to the alert

    GetAlertsV2ResultEffectiveRunAs

    ServicePrincipalName string
    (string) - Application ID of an active service principal. Setting this field requires the servicePrincipal/user role
    UserName string
    (string) - The email of an active workspace user. Can only set this field to their own email
    ServicePrincipalName string
    (string) - Application ID of an active service principal. Setting this field requires the servicePrincipal/user role
    UserName string
    (string) - The email of an active workspace user. Can only set this field to their own email
    servicePrincipalName String
    (string) - Application ID of an active service principal. Setting this field requires the servicePrincipal/user role
    userName String
    (string) - The email of an active workspace user. Can only set this field to their own email
    servicePrincipalName string
    (string) - Application ID of an active service principal. Setting this field requires the servicePrincipal/user role
    userName string
    (string) - The email of an active workspace user. Can only set this field to their own email
    service_principal_name str
    (string) - Application ID of an active service principal. Setting this field requires the servicePrincipal/user role
    user_name str
    (string) - The email of an active workspace user. Can only set this field to their own email
    servicePrincipalName String
    (string) - Application ID of an active service principal. Setting this field requires the servicePrincipal/user role
    userName String
    (string) - The email of an active workspace user. Can only set this field to their own email

    GetAlertsV2ResultEvaluation

    LastEvaluatedAt string
    (string) - Timestamp of the last evaluation
    State string
    (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    ComparisonOperator string
    (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
    (string) - Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    Notification GetAlertsV2ResultEvaluationNotification
    (AlertV2Notification) - User or Notification Destination to notify when alert is triggered
    Source GetAlertsV2ResultEvaluationSource
    (AlertV2OperandColumn) - Source column from result to use to evaluate alert
    Threshold GetAlertsV2ResultEvaluationThreshold
    (AlertV2Operand) - Threshold to user for alert evaluation, can be a column or a value
    LastEvaluatedAt string
    (string) - Timestamp of the last evaluation
    State string
    (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    ComparisonOperator string
    (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
    (string) - Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    Notification GetAlertsV2ResultEvaluationNotification
    (AlertV2Notification) - User or Notification Destination to notify when alert is triggered
    Source GetAlertsV2ResultEvaluationSource
    (AlertV2OperandColumn) - Source column from result to use to evaluate alert
    Threshold GetAlertsV2ResultEvaluationThreshold
    (AlertV2Operand) - Threshold to user for alert evaluation, can be a column or a value
    lastEvaluatedAt String
    (string) - Timestamp of the last evaluation
    state String
    (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    comparisonOperator String
    (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
    (string) - Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    notification GetAlertsV2ResultEvaluationNotification
    (AlertV2Notification) - User or Notification Destination to notify when alert is triggered
    source GetAlertsV2ResultEvaluationSource
    (AlertV2OperandColumn) - Source column from result to use to evaluate alert
    threshold GetAlertsV2ResultEvaluationThreshold
    (AlertV2Operand) - Threshold to user for alert evaluation, can be a column or a value
    lastEvaluatedAt string
    (string) - Timestamp of the last evaluation
    state string
    (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    comparisonOperator string
    (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
    (string) - Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    notification GetAlertsV2ResultEvaluationNotification
    (AlertV2Notification) - User or Notification Destination to notify when alert is triggered
    source GetAlertsV2ResultEvaluationSource
    (AlertV2OperandColumn) - Source column from result to use to evaluate alert
    threshold GetAlertsV2ResultEvaluationThreshold
    (AlertV2Operand) - Threshold to user for alert evaluation, can be a column or a value
    last_evaluated_at str
    (string) - Timestamp of the last evaluation
    state str
    (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    comparison_operator str
    (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
    empty_result_state str
    (string) - Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    notification GetAlertsV2ResultEvaluationNotification
    (AlertV2Notification) - User or Notification Destination to notify when alert is triggered
    source GetAlertsV2ResultEvaluationSource
    (AlertV2OperandColumn) - Source column from result to use to evaluate alert
    threshold GetAlertsV2ResultEvaluationThreshold
    (AlertV2Operand) - Threshold to user for alert evaluation, can be a column or a value
    lastEvaluatedAt String
    (string) - Timestamp of the last evaluation
    state String
    (string) - Latest state of alert evaluation. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    comparisonOperator String
    (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
    (string) - Alert state if result is empty. Possible values are: ERROR, OK, TRIGGERED, UNKNOWN
    notification Property Map
    (AlertV2Notification) - User or Notification Destination to notify when alert is triggered
    source Property Map
    (AlertV2OperandColumn) - Source column from result to use to evaluate alert
    threshold Property Map
    (AlertV2Operand) - Threshold to user for alert evaluation, can be a column or a value

    GetAlertsV2ResultEvaluationNotification

    NotifyOnOk bool
    (boolean) - Whether to notify alert subscribers when alert returns back to normal
    RetriggerSeconds int
    (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<GetAlertsV2ResultEvaluationNotificationSubscription>
    (list of AlertV2Subscription)
    NotifyOnOk bool
    (boolean) - Whether to notify alert subscribers when alert returns back to normal
    RetriggerSeconds int
    (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 []GetAlertsV2ResultEvaluationNotificationSubscription
    (list of AlertV2Subscription)
    notifyOnOk Boolean
    (boolean) - Whether to notify alert subscribers when alert returns back to normal
    retriggerSeconds Integer
    (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<GetAlertsV2ResultEvaluationNotificationSubscription>
    (list of AlertV2Subscription)
    notifyOnOk boolean
    (boolean) - Whether to notify alert subscribers when alert returns back to normal
    retriggerSeconds number
    (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 GetAlertsV2ResultEvaluationNotificationSubscription[]
    (list of AlertV2Subscription)
    notify_on_ok bool
    (boolean) - Whether to notify alert subscribers when alert returns back to normal
    retrigger_seconds int
    (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 Sequence[GetAlertsV2ResultEvaluationNotificationSubscription]
    (list of AlertV2Subscription)
    notifyOnOk Boolean
    (boolean) - Whether to notify alert subscribers when alert returns back to normal
    retriggerSeconds Number
    (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<Property Map>
    (list of AlertV2Subscription)

    GetAlertsV2ResultEvaluationNotificationSubscription

    DestinationId string
    (string)
    UserEmail string
    (string)
    DestinationId string
    (string)
    UserEmail string
    (string)
    destinationId String
    (string)
    userEmail String
    (string)
    destinationId string
    (string)
    userEmail string
    (string)
    destination_id str
    (string)
    user_email str
    (string)
    destinationId String
    (string)
    userEmail String
    (string)

    GetAlertsV2ResultEvaluationSource

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

    GetAlertsV2ResultEvaluationThreshold

    column Property Map
    (AlertV2OperandColumn)
    value Property Map
    (AlertV2OperandValue)

    GetAlertsV2ResultEvaluationThresholdColumn

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

    GetAlertsV2ResultEvaluationThresholdValue

    BoolValue bool
    (boolean)
    DoubleValue double
    (number)
    StringValue string
    (string)
    BoolValue bool
    (boolean)
    DoubleValue float64
    (number)
    StringValue string
    (string)
    boolValue Boolean
    (boolean)
    doubleValue Double
    (number)
    stringValue String
    (string)
    boolValue boolean
    (boolean)
    doubleValue number
    (number)
    stringValue string
    (string)
    bool_value bool
    (boolean)
    double_value float
    (number)
    string_value str
    (string)
    boolValue Boolean
    (boolean)
    doubleValue Number
    (number)
    stringValue String
    (string)

    GetAlertsV2ResultRunAs

    ServicePrincipalName string
    (string) - Application ID of an active service principal. Setting this field requires the servicePrincipal/user role
    UserName string
    (string) - The email of an active workspace user. Can only set this field to their own email
    ServicePrincipalName string
    (string) - Application ID of an active service principal. Setting this field requires the servicePrincipal/user role
    UserName string
    (string) - The email of an active workspace user. Can only set this field to their own email
    servicePrincipalName String
    (string) - Application ID of an active service principal. Setting this field requires the servicePrincipal/user role
    userName String
    (string) - The email of an active workspace user. Can only set this field to their own email
    servicePrincipalName string
    (string) - Application ID of an active service principal. Setting this field requires the servicePrincipal/user role
    userName string
    (string) - The email of an active workspace user. Can only set this field to their own email
    service_principal_name str
    (string) - Application ID of an active service principal. Setting this field requires the servicePrincipal/user role
    user_name str
    (string) - The email of an active workspace user. Can only set this field to their own email
    servicePrincipalName String
    (string) - Application ID of an active service principal. Setting this field requires the servicePrincipal/user role
    userName String
    (string) - The email of an active workspace user. Can only set this field to their own email

    GetAlertsV2ResultSchedule

    PauseStatus string
    (string) - Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
    QuartzCronSchedule string
    (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
    (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
    (string) - Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
    QuartzCronSchedule string
    (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
    (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
    (string) - Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
    quartzCronSchedule String
    (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
    (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
    (string) - Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
    quartzCronSchedule string
    (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
    (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
    (string) - Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
    quartz_cron_schedule str
    (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
    timezone_id str
    (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
    (string) - Indicate whether this schedule is paused or not. Possible values are: PAUSED, UNPAUSED
    quartzCronSchedule String
    (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
    (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.75.0 published on Thursday, Sep 11, 2025 by Pulumi