Skip to content

Commit

Permalink
{AzureBilling} fix #23097 (#23099)
Browse files Browse the repository at this point in the history
* (AzureCXP) fixes #23097

(AzureCXP) fixes #23097

In this command, there is no documentation that shows where I can get the values for the "name" parameter. So this PR mentions to run the 'az billing period list' command to list the name of billing period' and then use this name in the 'az billing period show' command.

* Update _params.py
  • Loading branch information
navba-MSFT authored Jul 11, 2022
1 parent 584e838 commit ecfbedb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/azure-cli/azure/cli/command_modules/billing/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def load_arguments(self, _):
c.argument('name', options_list=['--name', '-n'], required=False, help='name of the invoice')

with self.argument_context('billing period show') as c:
c.argument('billing_period_name', options_list=['--name', '-n'], help='name of the billing period')
c.argument('billing_period_name', options_list=['--name', '-n'], help='name of the billing period. Run the az billing period list command to list the name of billing period')

with self.argument_context('billing enrollment-account show') as c:
c.argument('name', options_list=['--name', '-n'], help='name of the enrollment account')

0 comments on commit ecfbedb

Please sign in to comment.