@pulumi/databricks
Version:
A Pulumi package for creating and managing databricks cloud resources.
47 lines (46 loc) • 1.4 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* 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({});
* ```
*/
export declare function getBudgetPolicies(opts?: pulumi.InvokeOptions): Promise<GetBudgetPoliciesResult>;
/**
* A collection of values returned by getBudgetPolicies.
*/
export interface GetBudgetPoliciesResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly policies: outputs.GetBudgetPoliciesPolicy[];
}
/**
* 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({});
* ```
*/
export declare function getBudgetPoliciesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBudgetPoliciesResult>;