VMware Cloud Community

automating/simplifying maintenance mode of resources

We regularly do maintenance on some resources that are monitored by vrealize ops. In these circumstances I usually login to the GUI go to the environment overview, search for the relevant resources which all start with a specific 3 char prefix and put them in maintenance mode.

I was wondering if there was any way for me to make this easier to manage, ideally i'd like to run a script which is supplied with the 3 char prefix and that would put all resources that begin with that in to maintenance mode.

Is there a way for me to do this via powercli or via the API (from a python script maybe)?



0 Kudos
0 Replies