az consumption budget
Manage budgets for an Azure subscription.
Commands
az consumption budget create |
Create a budget for an Azure subscription. |
az consumption budget delete |
Delete a budget for an Azure subscription. |
az consumption budget list |
List budgets for an Azure subscription. |
az consumption budget show |
Show budget for an Azure subscription. |
az consumption budget create
Create a budget for an Azure subscription.
az consumption budget create --amount
--budget-name
--category {cost, usage}
--end-date
--start-date
--time-grain {annually, monthly, quarterly}
[--meter-filter]
[--resource-filter]
[--resource-group]
[--resource-group-filter]
Required Parameters
Amount of a budget.
Name of a budget.
Category of the budget can be cost or usage.
End date (YYYY-MM-DD in UTC) of time period of a budget.
Start date (YYYY-MM-DD in UTC) of time period of a budget.
Time grain of the budget can be monthly, quarterly, or annually.
Optional Parameters
Space-separated list of meters to filter on. Required if category is usage.
Space-separated list of resource instances to filter on.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Space-separated list of resource groups to filter on.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az consumption budget delete
Delete a budget for an Azure subscription.
az consumption budget delete --budget-name
[--resource-group]
Examples
Delete a budget for an Azure subscription. (autogenerated)
az consumption budget delete --budget-name MyBudget
Required Parameters
Name of a budget.
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az consumption budget list
List budgets for an Azure subscription.
az consumption budget list [--resource-group]
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az consumption budget show
Show budget for an Azure subscription.
az consumption budget show --budget-name
[--resource-group]
Examples
Show budget for an Azure subscription. (autogenerated)
az consumption budget show --budget-name MyBudget
Required Parameters
Name of a budget.
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Feedback
Submit and view feedback for