A graphical Azure CLI inspired by Spectre.Console
.
Instead of repeatedly asking questions with Azure CLI or creating scripts, you can retrieve resources and perform bulk actions directly in the CLI with a graphical experience, see Screenshots.
For example, updating one or more Virtual Machine Scale Sets with a new image, starting, stopping, or restarting one or more Virtual Machines or Container Instances by selecting them in a list.
This is a hobby project and is maintained to the best of my ability, I am not a software developer.
The ambition with this project is to code for fun, but also to create something useful. 💻
More functionality and improvements will be added over time.
At this point, this tool may not be the best option if you have a large number of subscriptions or resources, as the lists can become very long.
There are plans to add better filtering options, but we'll see if and when that happens.
There are probably tons of typos, ambiguities or other oddities, you are welcome to provide feedback so I can address them, thank you! ⭐
- API Management:
apim
->list | backup
- Azure Container Instances:
aci
->list | start | stop | restart | delete | getlogs
- Azure Compute Gallery:
imagegallery
->list
- Azure Compute Gallery Images:
imagegallery images
->list
- Management Group:
mg
->show
- Virtual Machines:
vm
->list | start | stop | restart | delete
- Virtual Machines Scale Sets:
vmss
->list | start | stop | restart | delete | changeimage | reimage | upgrade
- Virtual Machines Scale Sets Instance:
vmss instance
->list | start | stop | restart | reimage | upgrade
-
Make sure .Net 8 is installed.
-
Download the executable from here.
-
Put the executable in a folder that is in the PATH environment variable.
The application uses DefaultAzureCredential
, so use az login
to authenticate.
Type azo
, azo -h|--help
or azo info
to get help with available commands.
There is an idea behind the command structure; whether it’s logical is for others to judge 😁
Think of it like this:
<resource type>
<verb>
<scope>
The scope is always either
all
orsubscription
, whereall
will get ALL resource types from ALL subscriptions.
subscription
will show an list of all subscriptions to select one specific.
For example: vmss changeimage all
In the example above, you get to choose from a list of ALL virtual machine scale sets you have access to, in order to change the image for them.
Also note that at this point, one can only select ONE image for the selected virtual machines.
azo vmss list all
This command will fetch all subscriptions available and then list all accessible virtual machine scale sets.
azo vmss list subscription
This command will fetch all subscriptions and present in a list, then list all accessible virtual machine scale sets from the selected subscription.
- The console output of the
getlogs
command for Container Instances is messy and need some work. - Status messages can be messy when the resource names are of different lenght, might be some fix in Spectre Console, need some investigation.