marcinl_ax's Posts

How can I determine if I can shutdown the virtual machine using the endpoint ".../{vm}/guest/power?action=shutdown", or the only option to use is ".../{vm}/power?action=stop"? These two endpoints ... See more...
How can I determine if I can shutdown the virtual machine using the endpoint ".../{vm}/guest/power?action=shutdown", or the only option to use is ".../{vm}/power?action=stop"? These two endpoints are marked as "deprecated" in the documentation. What functions should be used instead of these. Are there any other endpoints?   Docs: https://developer.vmware.com/apis/vsphere-automation/latest/vcenter/api/vcenter/vm/vm/guest/poweractionshutdown/post/