Skip to content

Commit f8cee28

Browse files
committed
quickstart review
1 parent 24299c9 commit f8cee28

File tree

2 files changed

+35
-6
lines changed

2 files changed

+35
-6
lines changed

articles/cost-management-billing/costs/quick-create-budget-template.md

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,23 @@ The following Azure permissions, or scopes, are supported per subscription for b
3434

3535
For more information about assigning permission to Cost Management data, see [Assign access to Cost Management data](assign-access-acm-data.md).
3636

37-
## Review the template
37+
## Create a budget
38+
39+
### Review the template
3840

3941
The template used in this quickstart is from [Azure Quickstart templates](https://azure.microsoft.com/resources/templates/create-budget).
4042

41-
:::code language="json" source="~/quickstart-templates/create-budget/azuredeploy.json":::
43+
:::code language="json" source="~/quickstart-templates/create-budget/azuredeploy.json" range="1-146" highlight="110-139":::
4244

4345
One Azure resource is defined in the template:
4446

4547
* [Microsoft.Consumption/budgets](/azure/templates/microsoft.consumption/budgets): Create an Azure budget.
4648

47-
## Deploy the template
49+
### Deploy the template
4850

4951
1. Select the following image to sign in to Azure and open a template. The template creates a budget.
5052

51-
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fcreate-budget%2Fazuredeploy.json"><img src="./media/quick-create-budget-template/deploy-to-azure.png" alt="deploy to azure"/></a>
53+
[![Deploy to Azure](../../media/template-deployments/deploy-to-azure.svg)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fcreate-budget%2Fazuredeploy.json)
5254

5355
2. Select or enter the following values.
5456

@@ -96,10 +98,37 @@ Get-AzConsumptionBudget
9698

9799
---
98100

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+
# [CLI](#tab/CLI)
110+
111+
```azurecli-interactive
112+
echo "Enter the budget name:" &&
113+
read budgetName &&
114+
az consumption budget delete --budget-name $budgetName &&
115+
echo "Press [ENTER] to continue ..."
116+
```
117+
118+
# [PowerShell](#tab/PowerShell)
119+
120+
```azurepowershell-interactive
121+
$budgetName = Read-Host -Prompt "Enter the budget name"
122+
Remove-AzConsumptionBudget -Name $budgetName
123+
Write-Host "Press [ENTER] to continue..."
124+
```
125+
126+
---
127+
99128
## Next steps
100129

101130
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.
102131

103132
- Read the [Cost Management and Billing](../cost-management-billing-overview.md) overview
104133
- [Create budgets](tutorial-acm-create-budgets.md) in the Azure portal
105-
- Learn more about [Azure Resource Manager](../../azure-resource-manager/management/overview.md)
134+
- Learn more about [Azure Resource Manager](../../azure-resource-manager/management/overview.md)

articles/cost-management-billing/costs/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
items:
1111
- name: Start analyzing costs
1212
href: quick-acm-cost-analysis.md
13-
- name: Create a budget using a template
13+
- name: Create a budget - ARM template
1414
href: quick-create-budget-template.md
1515
displayName: ARM template, resource manager template
1616
- name: Tutorials

0 commit comments

Comments
 (0)