UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

66 lines 2.93 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getAlertV2Output = exports.getAlertV2 = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * The SQL Alert v2 data source allows you to retrieve detailed information about a specific alert in Databricks SQL. This data source provides access to all alert properties, including its configuration, evaluation criteria, notification settings, and schedule. * * You can use this data source to: * - Retrieve alert details for reference in other resources * - Check the current state and configuration of an alert * - Verify notification settings and subscribers * - Examine the schedule configuration * * ## Example Usage */ function getAlertV2(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getAlertV2:getAlertV2", { "customDescription": args.customDescription, "customSummary": args.customSummary, "displayName": args.displayName, "evaluation": args.evaluation, "parentPath": args.parentPath, "queryText": args.queryText, "runAs": args.runAs, "runAsUserName": args.runAsUserName, "schedule": args.schedule, "warehouseId": args.warehouseId, "workspaceId": args.workspaceId, }, opts); } exports.getAlertV2 = getAlertV2; /** * The SQL Alert v2 data source allows you to retrieve detailed information about a specific alert in Databricks SQL. This data source provides access to all alert properties, including its configuration, evaluation criteria, notification settings, and schedule. * * You can use this data source to: * - Retrieve alert details for reference in other resources * - Check the current state and configuration of an alert * - Verify notification settings and subscribers * - Examine the schedule configuration * * ## Example Usage */ function getAlertV2Output(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getAlertV2:getAlertV2", { "customDescription": args.customDescription, "customSummary": args.customSummary, "displayName": args.displayName, "evaluation": args.evaluation, "parentPath": args.parentPath, "queryText": args.queryText, "runAs": args.runAs, "runAsUserName": args.runAsUserName, "schedule": args.schedule, "warehouseId": args.warehouseId, "workspaceId": args.workspaceId, }, opts); } exports.getAlertV2Output = getAlertV2Output; //# sourceMappingURL=getAlertV2.js.map