Databricks SDK for JavaScript
    Preparing search index...
    interface Alert {
        createTime?: Instant;
        customDescription?: string;
        customSummary?: string;
        displayName?: string;
        effectiveRunAs?: AlertRunAs;
        evaluation?: AlertEvaluation;
        id?: string;
        lifecycleState?: AlertLifecycleState;
        ownerUserName?: string;
        parentPath?: string;
        queryText?: string;
        runAs?: AlertRunAs;
        runAsUserName?: string;
        schedule?: CronSchedule;
        updateTime?: Instant;
        warehouseId?: string;
    }
    Index

    Properties

    createTime?: Instant

    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.

    effectiveRunAs?: AlertRunAs

    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.

    evaluation?: AlertEvaluation
    id?: string

    UUID identifying the alert.

    lifecycleState?: AlertLifecycleState

    Indicates whether the query is trashed.

    ownerUserName?: 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.

    runAs?: AlertRunAs

    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

    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?: CronSchedule
    updateTime?: Instant

    The timestamp indicating when the alert was updated.

    warehouseId?: string

    ID of the SQL warehouse attached to the alert.