1. Packages
  2. Azure Native
  3. API Docs
  4. consumption
  5. getBudget
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native.consumption.getBudget

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets the budget for the scope by budget name.

Uses Azure REST API version 2023-05-01.

Other available API versions: 2023-11-01, 2024-08-01.

Using getBudget

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getBudget(args: GetBudgetArgs, opts?: InvokeOptions): Promise<GetBudgetResult>
function getBudgetOutput(args: GetBudgetOutputArgs, opts?: InvokeOptions): Output<GetBudgetResult>
Copy
def get_budget(budget_name: Optional[str] = None,
               scope: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetBudgetResult
def get_budget_output(budget_name: Optional[pulumi.Input[str]] = None,
               scope: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetBudgetResult]
Copy
func LookupBudget(ctx *Context, args *LookupBudgetArgs, opts ...InvokeOption) (*LookupBudgetResult, error)
func LookupBudgetOutput(ctx *Context, args *LookupBudgetOutputArgs, opts ...InvokeOption) LookupBudgetResultOutput
Copy

> Note: This function is named LookupBudget in the Go SDK.

public static class GetBudget 
{
    public static Task<GetBudgetResult> InvokeAsync(GetBudgetArgs args, InvokeOptions? opts = null)
    public static Output<GetBudgetResult> Invoke(GetBudgetInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetBudgetResult> getBudget(GetBudgetArgs args, InvokeOptions options)
public static Output<GetBudgetResult> getBudget(GetBudgetArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:consumption:getBudget
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BudgetName
This property is required.
Changes to this property will trigger replacement.
string
Budget Name.
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.
BudgetName
This property is required.
Changes to this property will trigger replacement.
string
Budget Name.
Scope
This property is required.
Changes to this property will trigger replacement.
string
The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.
budgetName
This property is required.
Changes to this property will trigger replacement.
String
Budget Name.
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.
budgetName
This property is required.
Changes to this property will trigger replacement.
string
Budget Name.
scope
This property is required.
Changes to this property will trigger replacement.
string
The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.
budget_name
This property is required.
Changes to this property will trigger replacement.
str
Budget Name.
scope
This property is required.
Changes to this property will trigger replacement.
str
The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.
budgetName
This property is required.
Changes to this property will trigger replacement.
String
Budget Name.
scope
This property is required.
Changes to this property will trigger replacement.
String
The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.

getBudget Result

The following output properties are available:

Amount double
The total amount of cost to track with the budget
Category string
The category of the budget, whether the budget tracks cost or usage.
CurrentSpend Pulumi.AzureNative.Consumption.Outputs.CurrentSpendResponse
The current amount of cost which is being tracked for a budget.
ForecastSpend Pulumi.AzureNative.Consumption.Outputs.ForecastSpendResponse
The forecasted cost which is being tracked for a budget.
Id string
Resource Id.
Name string
Resource name.
TimeGrain string
The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers
TimePeriod Pulumi.AzureNative.Consumption.Outputs.BudgetTimePeriodResponse
Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. There are no restrictions on the end date.
Type string
Resource type.
ETag string
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
Filter Pulumi.AzureNative.Consumption.Outputs.BudgetFilterResponse
May be used to filter budgets by user-specified dimensions and/or tags.
Notifications Dictionary<string, Pulumi.AzureNative.Consumption.Outputs.NotificationResponse>
Dictionary of notifications associated with the budget. Budget can have up to five notifications.
Amount float64
The total amount of cost to track with the budget
Category string
The category of the budget, whether the budget tracks cost or usage.
CurrentSpend CurrentSpendResponse
The current amount of cost which is being tracked for a budget.
ForecastSpend ForecastSpendResponse
The forecasted cost which is being tracked for a budget.
Id string
Resource Id.
Name string
Resource name.
TimeGrain string
The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers
TimePeriod BudgetTimePeriodResponse
Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. There are no restrictions on the end date.
Type string
Resource type.
ETag string
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
Filter BudgetFilterResponse
May be used to filter budgets by user-specified dimensions and/or tags.
Notifications map[string]NotificationResponse
Dictionary of notifications associated with the budget. Budget can have up to five notifications.
amount Double
The total amount of cost to track with the budget
category String
The category of the budget, whether the budget tracks cost or usage.
currentSpend CurrentSpendResponse
The current amount of cost which is being tracked for a budget.
forecastSpend ForecastSpendResponse
The forecasted cost which is being tracked for a budget.
id String
Resource Id.
name String
Resource name.
timeGrain String
The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers
timePeriod BudgetTimePeriodResponse
Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. There are no restrictions on the end date.
type String
Resource type.
eTag String
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
filter BudgetFilterResponse
May be used to filter budgets by user-specified dimensions and/or tags.
notifications Map<String,NotificationResponse>
Dictionary of notifications associated with the budget. Budget can have up to five notifications.
amount number
The total amount of cost to track with the budget
category string
The category of the budget, whether the budget tracks cost or usage.
currentSpend CurrentSpendResponse
The current amount of cost which is being tracked for a budget.
forecastSpend ForecastSpendResponse
The forecasted cost which is being tracked for a budget.
id string
Resource Id.
name string
Resource name.
timeGrain string
The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers
timePeriod BudgetTimePeriodResponse
Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. There are no restrictions on the end date.
type string
Resource type.
eTag string
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
filter BudgetFilterResponse
May be used to filter budgets by user-specified dimensions and/or tags.
notifications {[key: string]: NotificationResponse}
Dictionary of notifications associated with the budget. Budget can have up to five notifications.
amount float
The total amount of cost to track with the budget
category str
The category of the budget, whether the budget tracks cost or usage.
current_spend CurrentSpendResponse
The current amount of cost which is being tracked for a budget.
forecast_spend ForecastSpendResponse
The forecasted cost which is being tracked for a budget.
id str
Resource Id.
name str
Resource name.
time_grain str
The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers
time_period BudgetTimePeriodResponse
Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. There are no restrictions on the end date.
type str
Resource type.
e_tag str
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
filter BudgetFilterResponse
May be used to filter budgets by user-specified dimensions and/or tags.
notifications Mapping[str, NotificationResponse]
Dictionary of notifications associated with the budget. Budget can have up to five notifications.
amount Number
The total amount of cost to track with the budget
category String
The category of the budget, whether the budget tracks cost or usage.
currentSpend Property Map
The current amount of cost which is being tracked for a budget.
forecastSpend Property Map
The forecasted cost which is being tracked for a budget.
id String
Resource Id.
name String
Resource name.
timeGrain String
The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers
timePeriod Property Map
Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than twelve months. Past start date should be selected within the timegrain period. There are no restrictions on the end date.
type String
Resource type.
eTag String
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
filter Property Map
May be used to filter budgets by user-specified dimensions and/or tags.
notifications Map<Property Map>
Dictionary of notifications associated with the budget. Budget can have up to five notifications.

Supporting Types

BudgetComparisonExpressionResponse

Name This property is required. string
The name of the column to use in comparison.
Operator This property is required. string
The operator to use for comparison.
Values This property is required. List<string>
Array of values to use for comparison
Name This property is required. string
The name of the column to use in comparison.
Operator This property is required. string
The operator to use for comparison.
Values This property is required. []string
Array of values to use for comparison
name This property is required. String
The name of the column to use in comparison.
operator This property is required. String
The operator to use for comparison.
values This property is required. List<String>
Array of values to use for comparison
name This property is required. string
The name of the column to use in comparison.
operator This property is required. string
The operator to use for comparison.
values This property is required. string[]
Array of values to use for comparison
name This property is required. str
The name of the column to use in comparison.
operator This property is required. str
The operator to use for comparison.
values This property is required. Sequence[str]
Array of values to use for comparison
name This property is required. String
The name of the column to use in comparison.
operator This property is required. String
The operator to use for comparison.
values This property is required. List<String>
Array of values to use for comparison

BudgetFilterPropertiesResponse

Dimensions BudgetComparisonExpressionResponse
Has comparison expression for a dimension
Tags BudgetComparisonExpressionResponse
Has comparison expression for a tag
dimensions BudgetComparisonExpressionResponse
Has comparison expression for a dimension
tags BudgetComparisonExpressionResponse
Has comparison expression for a tag
dimensions BudgetComparisonExpressionResponse
Has comparison expression for a dimension
tags BudgetComparisonExpressionResponse
Has comparison expression for a tag
dimensions BudgetComparisonExpressionResponse
Has comparison expression for a dimension
tags BudgetComparisonExpressionResponse
Has comparison expression for a tag
dimensions Property Map
Has comparison expression for a dimension
tags Property Map
Has comparison expression for a tag

BudgetFilterResponse

And []BudgetFilterPropertiesResponse
The logical "AND" expression. Must have at least 2 items.
Dimensions BudgetComparisonExpressionResponse
Has comparison expression for a dimension
Tags BudgetComparisonExpressionResponse
Has comparison expression for a tag
and List<BudgetFilterPropertiesResponse>
The logical "AND" expression. Must have at least 2 items.
dimensions BudgetComparisonExpressionResponse
Has comparison expression for a dimension
tags BudgetComparisonExpressionResponse
Has comparison expression for a tag
and BudgetFilterPropertiesResponse[]
The logical "AND" expression. Must have at least 2 items.
dimensions BudgetComparisonExpressionResponse
Has comparison expression for a dimension
tags BudgetComparisonExpressionResponse
Has comparison expression for a tag
and_ Sequence[BudgetFilterPropertiesResponse]
The logical "AND" expression. Must have at least 2 items.
dimensions BudgetComparisonExpressionResponse
Has comparison expression for a dimension
tags BudgetComparisonExpressionResponse
Has comparison expression for a tag
and List<Property Map>
The logical "AND" expression. Must have at least 2 items.
dimensions Property Map
Has comparison expression for a dimension
tags Property Map
Has comparison expression for a tag

BudgetTimePeriodResponse

StartDate This property is required. string
The start date for the budget.
EndDate string
The end date for the budget. If not provided, we default this to 10 years from the start date.
StartDate This property is required. string
The start date for the budget.
EndDate string
The end date for the budget. If not provided, we default this to 10 years from the start date.
startDate This property is required. String
The start date for the budget.
endDate String
The end date for the budget. If not provided, we default this to 10 years from the start date.
startDate This property is required. string
The start date for the budget.
endDate string
The end date for the budget. If not provided, we default this to 10 years from the start date.
start_date This property is required. str
The start date for the budget.
end_date str
The end date for the budget. If not provided, we default this to 10 years from the start date.
startDate This property is required. String
The start date for the budget.
endDate String
The end date for the budget. If not provided, we default this to 10 years from the start date.

CurrentSpendResponse

Amount This property is required. double
The total amount of cost which is being tracked by the budget.
Unit This property is required. string
The unit of measure for the budget amount.
Amount This property is required. float64
The total amount of cost which is being tracked by the budget.
Unit This property is required. string
The unit of measure for the budget amount.
amount This property is required. Double
The total amount of cost which is being tracked by the budget.
unit This property is required. String
The unit of measure for the budget amount.
amount This property is required. number
The total amount of cost which is being tracked by the budget.
unit This property is required. string
The unit of measure for the budget amount.
amount This property is required. float
The total amount of cost which is being tracked by the budget.
unit This property is required. str
The unit of measure for the budget amount.
amount This property is required. Number
The total amount of cost which is being tracked by the budget.
unit This property is required. String
The unit of measure for the budget amount.

ForecastSpendResponse

Amount This property is required. double
The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type.
Unit This property is required. string
The unit of measure for the budget amount.
Amount This property is required. float64
The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type.
Unit This property is required. string
The unit of measure for the budget amount.
amount This property is required. Double
The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type.
unit This property is required. String
The unit of measure for the budget amount.
amount This property is required. number
The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type.
unit This property is required. string
The unit of measure for the budget amount.
amount This property is required. float
The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type.
unit This property is required. str
The unit of measure for the budget amount.
amount This property is required. Number
The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type.
unit This property is required. String
The unit of measure for the budget amount.

NotificationResponse

ContactEmails This property is required. List<string>
Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.
Enabled This property is required. bool
The notification is enabled or not.
Operator This property is required. string
The comparison operator.
Threshold This property is required. double
Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.
ContactGroups List<string>
Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.
ContactRoles List<string>
Contact roles to send the budget notification to when the threshold is exceeded.
Locale string
Language in which the recipient will receive the notification
ThresholdType string
The type of threshold
ContactEmails This property is required. []string
Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.
Enabled This property is required. bool
The notification is enabled or not.
Operator This property is required. string
The comparison operator.
Threshold This property is required. float64
Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.
ContactGroups []string
Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.
ContactRoles []string
Contact roles to send the budget notification to when the threshold is exceeded.
Locale string
Language in which the recipient will receive the notification
ThresholdType string
The type of threshold
contactEmails This property is required. List<String>
Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.
enabled This property is required. Boolean
The notification is enabled or not.
operator This property is required. String
The comparison operator.
threshold This property is required. Double
Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.
contactGroups List<String>
Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.
contactRoles List<String>
Contact roles to send the budget notification to when the threshold is exceeded.
locale String
Language in which the recipient will receive the notification
thresholdType String
The type of threshold
contactEmails This property is required. string[]
Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.
enabled This property is required. boolean
The notification is enabled or not.
operator This property is required. string
The comparison operator.
threshold This property is required. number
Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.
contactGroups string[]
Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.
contactRoles string[]
Contact roles to send the budget notification to when the threshold is exceeded.
locale string
Language in which the recipient will receive the notification
thresholdType string
The type of threshold
contact_emails This property is required. Sequence[str]
Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.
enabled This property is required. bool
The notification is enabled or not.
operator This property is required. str
The comparison operator.
threshold This property is required. float
Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.
contact_groups Sequence[str]
Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.
contact_roles Sequence[str]
Contact roles to send the budget notification to when the threshold is exceeded.
locale str
Language in which the recipient will receive the notification
threshold_type str
The type of threshold
contactEmails This property is required. List<String>
Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.
enabled This property is required. Boolean
The notification is enabled or not.
operator This property is required. String
The comparison operator.
threshold This property is required. Number
Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.
contactGroups List<String>
Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.
contactRoles List<String>
Contact roles to send the budget notification to when the threshold is exceeded.
locale String
Language in which the recipient will receive the notification
thresholdType String
The type of threshold

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi