I'm curious if it's possible to convert a vCloud:Vmwhost In Parameter to a VC:HostSystem object as part of a comprehensive maintenance mode script. The goal is to first disable the host in vCloud (handled by the "Enable an ESX host" workflow, then call the "Enter maintenance mode" workflow.
Unfortunately, as the vCloud object is different than the VC object I'm running into issues. Is there an intermediary step that I can take to make this work?