az vm auto-shutdown not properly supported in az interactive and the --email options are ignored when specified
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### **This is autogenerated. Please review and update as needed.**
## Describe the bug
**az vm auto-shutdown**
``
The az interactive mode does not recognize auto-shutdown as a valid command while typing the command line, but does run the command. However, the command ignores all forms of --email parameters (xxx@myco.com -or- aaa@myco.com;bbb@myco.com - regardless of quoting. The command runs and when you look at the portal, the notifications are off and the email setting is empty.
****
## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Just run az interactive and enter az vm auto-shutdown and you will not see auto-shutdown as an option.
Use the --email setting and once the command runs, the returned JSON will show the email address as null.
- _Put any pre-requisite steps here..._
- ``
## Expected Behavior
az interactive should show auto-shutdown as a subcommand of vm.
az vm auto-shutdown should properly process the --email option settings
## Environment Summary
```
Windows-10-10.0.18362-SP0
Python 3.6.8
Installer: MSI
azure-cli 2.12.0
Extensions:
image-copy-extension 0.0.8
interactive 0.4.4
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.