Open bebound opened 1 year ago
Command Name az consumption usage list
az consumption usage list
Errors:
list() missing 1 required positional argument: 'scope' Traceback (most recent call last): python3/dist-packages/knack/cli.py, ln 206, in invoke cmd_result = self.invocation.execute(args) cli/core/commands/__init__.py, ln 608, in execute raise ex cli/core/commands/__init__.py, ln 666, in _run_jobs_serially results.append(self._run_job(expanded_arg, cmd_copy)) cli/core/commands/__init__.py, ln 657, in _run_job cmd_copy.exception_handler(ex) ... azure/cli/core/__init__.py, ln 493, in default_command_handler return op(**command_args) cli/command_modules/consumption/custom.py, ln 33, in cli_consumption_list_usage return client.list(expand=expand, filter=filter_expression) TypeError: list() missing 1 required positional argument: 'scope'
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az consumption usage list -a -m
Linux-5.15.0-1019-aws-x86_64-with-glibc2.29 Python 3.8.10 Shell: bash azure-cli 2.0.81 Extensions: azure-devops 0.17.0
Copy from https://github.com/Azure/azure-cli/issues/25268
https://github.com/Azure/azure-cli/issues/25268
https://github.com/Azure/azure-cli/issues/12458
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az consumption usage list
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az consumption usage list -a -m
Expected Behavior
Environment Summary
Additional Context
Copy from
https://github.com/Azure/azure-cli/issues/25268