Hi all,
I have a test case as follows:
Enable "require reason for vm maintenance" on Cluster
Shutdown vm
Ensure reason is saved
A similar case for hosts is achieved by the following
hostsService
.hostService(host.id())
.deactivate()
.reason(reason)
.send();
But the shutdown option for vms does not have a reason option. How can I set the reason
for shutdown of a VM through the SDK?
TIA