Skip to content

Commit 96a256d

Browse files
authored
[Consumption] az consumption budget create: Add command example (#31553)
1 parent 378d1bb commit 96a256d

File tree

1 file changed

+3
-0
lines changed
  • src/azure-cli/azure/cli/command_modules/consumption

1 file changed

+3
-0
lines changed

src/azure-cli/azure/cli/command_modules/consumption/_help.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
helps['consumption budget create'] = """
2121
type: command
2222
short-summary: Create a budget for an Azure subscription.
23+
examples:
24+
- name: Create a cost-based monthly budget with a specified amount, start date, and end date.
25+
text: az consumption budget create --budget-name "costbudget" --category "cost" --amount 100.0 -s "xxx" -e "xxx" --time-grain "monthly"
2326
"""
2427

2528
helps['consumption budget delete'] = """

0 commit comments

Comments
 (0)