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 resource group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.consumption.getBudgetResourceGroup({ * name: "existing", * resourceGroupId: exampleAzurermResourceGroup.id, * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Consumption` - 2019-10-01 */ export declare function getBudgetResourceGroup(args: GetBudgetResourceGroupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBudgetResourceGroup. */ export interface GetBudgetResourceGroupArgs { /** * The name of this Consumption Budget. */ name: string; /** * The ID of the subscription. */ resourceGroupId: string; } /** * A collection of values returned by getBudgetResourceGroup. */ export interface GetBudgetResourceGroupResult { /** * The total amount of cost to track with the budget. */ readonly amount: number; /** * A `filter` block as defined below. */ readonly filters: outputs.consumption.GetBudgetResourceGroupFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the tag used for the filter. */ readonly name: string; /** * A `notification` block as defined below. */ readonly notifications: outputs.consumption.GetBudgetResourceGroupNotification[]; readonly resourceGroupId: string; /** * The time covered by a budget. */ readonly timeGrain: string; /** * A `timePeriod` block as defined below. */ readonly timePeriods: outputs.consumption.GetBudgetResourceGroupTimePeriod[]; } /** * Use this data source to access information about an existing Consumption Budget for a specific resource group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.consumption.getBudgetResourceGroup({ * name: "existing", * resourceGroupId: exampleAzurermResourceGroup.id, * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Consumption` - 2019-10-01 */ export declare function getBudgetResourceGroupOutput(args: GetBudgetResourceGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBudgetResourceGroup. */ export interface GetBudgetResourceGroupOutputArgs { /** * The name of this Consumption Budget. */ name: pulumi.Input; /** * The ID of the subscription. */ resourceGroupId: pulumi.Input; }