import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Consumption Budget for a specific subscription. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.consumption.getBudgetSubscription({ * name: "existing", * subscriptionId: "/subscriptions/00000000-0000-0000-0000-000000000000/", * }); * export const id = exampleAzurermConsumptionBudget.id; * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Consumption` - 2019-10-01 */ export declare function getBudgetSubscription(args: GetBudgetSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBudgetSubscription. */ export interface GetBudgetSubscriptionArgs { /** * The name of this Consumption Budget. */ name: string; /** * The ID of the subscription. */ subscriptionId: string; } /** * A collection of values returned by getBudgetSubscription. */ export interface GetBudgetSubscriptionResult { /** * The total amount of cost to track with the budget. */ readonly amount: number; /** * A `filter` block as defined below. */ readonly filters: outputs.consumption.GetBudgetSubscriptionFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the tag to use for the filter. */ readonly name: string; /** * A `notification` block as defined below. */ readonly notifications: outputs.consumption.GetBudgetSubscriptionNotification[]; readonly subscriptionId: string; /** * The time covered by a budget. */ readonly timeGrain: string; /** * A `timePeriod` block as defined below. */ readonly timePeriods: outputs.consumption.GetBudgetSubscriptionTimePeriod[]; } /** * Use this data source to access information about an existing Consumption Budget for a specific subscription. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.consumption.getBudgetSubscription({ * name: "existing", * subscriptionId: "/subscriptions/00000000-0000-0000-0000-000000000000/", * }); * export const id = exampleAzurermConsumptionBudget.id; * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Consumption` - 2019-10-01 */ export declare function getBudgetSubscriptionOutput(args: GetBudgetSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBudgetSubscription. */ export interface GetBudgetSubscriptionOutputArgs { /** * The name of this Consumption Budget. */ name: pulumi.Input; /** * The ID of the subscription. */ subscriptionId: pulumi.Input; }