UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

57 lines (56 loc) 1.84 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * This data source can be used to get a single budget policy. * * > **Note** This data source can only be used with an account-level provider! */ export declare function getBudgetPolicy(args?: GetBudgetPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetBudgetPolicyResult>; /** * A collection of arguments for invoking getBudgetPolicy. */ export interface GetBudgetPolicyArgs { bindingWorkspaceIds?: number[]; customTags?: inputs.GetBudgetPolicyCustomTag[]; /** * The name of the budget policy. */ policyName?: string; } /** * A collection of values returned by getBudgetPolicy. */ export interface GetBudgetPolicyResult { readonly bindingWorkspaceIds?: number[]; readonly customTags?: outputs.GetBudgetPolicyCustomTag[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The id of the budget policy. */ readonly policyId: string; /** * The name of the budget policy. */ readonly policyName?: string; } /** * This data source can be used to get a single budget policy. * * > **Note** This data source can only be used with an account-level provider! */ export declare function getBudgetPolicyOutput(args?: GetBudgetPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBudgetPolicyResult>; /** * A collection of arguments for invoking getBudgetPolicy. */ export interface GetBudgetPolicyOutputArgs { bindingWorkspaceIds?: pulumi.Input<pulumi.Input<number>[]>; customTags?: pulumi.Input<pulumi.Input<inputs.GetBudgetPolicyCustomTagArgs>[]>; /** * The name of the budget policy. */ policyName?: pulumi.Input<string>; }