Generate bash commands for Azure CLI from Portal pages
When creating deploying resources, or changing properties etc, before I apply or save my changes I'd like to be able to generate Azure CLI commands that could be executed in the bash shell.
That way I can use the Azure portal UI if not familiar with the CLI commands then relatively easily build a script which is more repeatable.
Something similar exists in SQL Server Management studio where every action in the GUI can be exported as a T-SQL script before the GUI action is actually applied.
David Azure commented
Like in Postman tool Generate Code Snippet. Very smart feature.
Nuno Alexandre commented
Yes I would like this very much. This is very interesting if your learning your way through the Azure CLI using the Azure Portal.
If your building a CI/CD pipeline you should know which Azure CLI commands that are available and what are the recommended ways to execute resource management.
Also, I would extend this functionalities to ARM scripts and Powershell.