I looked at the parameters specified in CreateVM_Task api but its not clear which one of those would take a ovf file. Any sample code or pointers will be helpful.
The VirtualMachineConfigSpec doesnt clearly say which of its several parameters would take an ovf file as input to create the vm from.