'Returns the managed object identified by the given inventory path.
:param path: Inventory path
:return: Reference to the managed object'

def get_entity_by_inventory_path(self, path):

    return self._session.invoke_api(self._session.vim, 'FindByInventoryPath', self._session.vim.service_content.searchIndex, inventoryPath=path)
