Resize Azure Cloud Shell storage

· 95 words · 1 minute read
view gist on GitHub

Resize Azure Cloud Shell storage 🔗

I found myself wanting to resize the amount of storage I had allocated to Azure Cloud Shell, and I wanted to script this out in a repeatable way, as I use various test accounts. It’s pretty easy to go hunt down the storage account & set the quota, but this lets me run something once from inside the shell.azure.com itself and skip the lookups / trips to the portal

It’s also a fun little example of how to use JMESPath filters with the Azure CLI, which I’ve found very useful

resize-clouddrive.sh