UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

50 lines 1.81 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getBudgetPoliciesOutput = exports.getBudgetPolicies = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * This data source can be used to fetch the list of budget policies. * * > **Note** This data source can only be used with an account-level provider! * * ## Example Usage * * Getting a list of all budget policies: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const all = databricks.getBudgetPolicies({}); * ``` */ function getBudgetPolicies(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getBudgetPolicies:getBudgetPolicies", {}, opts); } exports.getBudgetPolicies = getBudgetPolicies; /** * This data source can be used to fetch the list of budget policies. * * > **Note** This data source can only be used with an account-level provider! * * ## Example Usage * * Getting a list of all budget policies: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const all = databricks.getBudgetPolicies({}); * ``` */ function getBudgetPoliciesOutput(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getBudgetPolicies:getBudgetPolicies", {}, opts); } exports.getBudgetPoliciesOutput = getBudgetPoliciesOutput; //# sourceMappingURL=getBudgetPolicies.js.map