sg3-141-592 / AzStartStop

Self service user interface for starting and stopping VMs on demand
https://vmstartstopdemo.compactcloud.co.uk/
MIT License
22 stars 2 forks source link

Feature Request: Search field for subscriptions and VMs #2

Open JClarke90 opened 1 year ago

JClarke90 commented 1 year ago

Hey, I wondered if it would be possible to add a test search field for subscriptions and maybe VMs too, so that it works better at scale? Alternatively the ability to display the VMs across all subscriptions (This one might not be possible).

sg3-141-592 commented 1 year ago

Sure, happy to look at each of the options. I think "display all" as you describe is probably the most user friendly and direct solution.

We've still got a few things to do in the background to make this all a bit more robust on the VM listing like implementing support for paginated results on VM lists (if you've got more than 50 VMs you'll be missing results). And I need to look at something like async calling to get the VM data and streaming the results back to get the performance up to a good level.

JClarke90 commented 1 year ago

That would be great, I’d prefer listing all the VMs, Microsoft convinced us splitting out to many subscriptions is a good idea. Now here we are with 30+ subscriptions which makes automation more challenging.

But I get there would likely be a performance hit from cycling through all of the subs to get the VMs.