You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Microsoft.Consumption/budgets](/azure/templates/microsoft.consumption/budgets): Create an Azure budget.
46
48
47
-
## Deploy the template
49
+
###Deploy the template
48
50
49
51
1. Select the following image to sign in to Azure and open a template. The template creates a budget.
50
52
51
-
<ahref="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fcreate-budget%2Fazuredeploy.json"><imgsrc="./media/quick-create-budget-template/deploy-to-azure.png"alt="deploy to azure"/></a>
53
+
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fcreate-budget%2Fazuredeploy.json)
52
54
53
55
2. Select or enter the following values.
54
56
@@ -96,10 +98,41 @@ Get-AzConsumptionBudget
96
98
97
99
---
98
100
101
+
## Clean up resources
102
+
103
+
When you no longer need a budget, delete it by using one the following methods:
104
+
105
+
### Azure portal
106
+
107
+
Navigate to **Cost Management + Billing** > select a billing scope > **Budgets** > select a budget > then select **Delete budget**.
108
+
109
+
### Command line
110
+
111
+
You can remove the budget using Azure CLI or Azure PowerShell.
112
+
113
+
# [CLI](#tab/CLI)
114
+
115
+
```azurecli-interactive
116
+
echo "Enter the budget name:" &&
117
+
read budgetName &&
118
+
az consumption budget delete --budget-name $budgetName &&
119
+
echo "Press [ENTER] to continue ..."
120
+
```
121
+
122
+
# [PowerShell](#tab/PowerShell)
123
+
124
+
```azurepowershell-interactive
125
+
$budgetName = Read-Host -Prompt "Enter the budget name"
126
+
Remove-AzConsumptionBudget -Name $budgetName
127
+
Write-Host "Press [ENTER] to continue..."
128
+
```
129
+
130
+
---
131
+
99
132
## Next steps
100
133
101
134
In this quickstart, you created an Azure budget the deployment. To learn more about Azure Cost Management and Billing and Azure Resource Manager, continue on to the articles below.
102
135
103
136
- Read the [Cost Management and Billing](../cost-management-billing-overview.md) overview
104
137
-[Create budgets](tutorial-acm-create-budgets.md) in the Azure portal
105
-
- Learn more about [Azure Resource Manager](../../azure-resource-manager/management/overview.md)
138
+
- Learn more about [Azure Resource Manager](../../azure-resource-manager/management/overview.md)
0 commit comments