VMware {code} Community
singhs39
Contributor
Contributor

REST API command for Querying if Host is in Maintenance Mode

I have been working to collect some info on ESXi Host level, however I am not able to throw REST API command to vCenter to know what hosts in the clusters managed by vCenter are in Maintenance Mode?

The one that I had does not work- its mentioned below:

GET https://{{vc}}/rest/vcenter/cluster/{cluster}/edrs/maintenance-mode

The response I am getting is attached as screenshot.

Can anybody point me to the right direction?

vCenter Version: 7.0b Build 16386335

Tool Used: POSTMAN 

0 Kudos
0 Replies