import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a new budget. See Quotas and limits for more information on the limits of the number of budgets you can create. */ export declare class BillingAccountBudget extends pulumi.CustomResource { /** * Get an existing BillingAccountBudget resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): BillingAccountBudget; /** * Returns true if the given object is an instance of BillingAccountBudget. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is BillingAccountBudget; /** * Optional. Rules to apply to notifications sent based on budget spend and thresholds. */ readonly allUpdatesRule: pulumi.Output; /** * Required. Budgeted amount. */ readonly amount: pulumi.Output; /** * Optional. Filters that define which resources are used to compute the actual spend against the budget. */ readonly budgetFilter: pulumi.Output; /** * User data for display name in UI. Validation: <= 60 chars. */ readonly displayName: pulumi.Output; /** * Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag will cause an update to overwrite other changes. */ readonly etag: pulumi.Output; /** * Resource name of the budget. The resource name implies the scope of a budget. Values are of the form `billingAccounts/{billingAccountId}/budgets/{budgetId}`. */ readonly name: pulumi.Output; /** * Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. */ readonly thresholdRules: pulumi.Output; /** * Create a BillingAccountBudget resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: BillingAccountBudgetArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a BillingAccountBudget resource. */ export interface BillingAccountBudgetArgs { /** * Optional. Rules to apply to notifications sent based on budget spend and thresholds. */ readonly allUpdatesRule?: pulumi.Input; /** * Required. Budgeted amount. */ readonly amount?: pulumi.Input; readonly billingAccountsId: pulumi.Input; /** * Optional. Filters that define which resources are used to compute the actual spend against the budget. */ readonly budgetFilter?: pulumi.Input; readonly budgetsId: pulumi.Input; /** * User data for display name in UI. Validation: <= 60 chars. */ readonly displayName?: pulumi.Input; /** * Optional. Etag to validate that the object is unchanged for a read-modify-write operation. An empty etag will cause an update to overwrite other changes. */ readonly etag?: pulumi.Input; /** * Optional. Rules that trigger alerts (notifications of thresholds being crossed) when spend exceeds the specified percentages of the budget. */ readonly thresholdRules?: pulumi.Input[]>; }