'Method returns the value of specified property for a VM.
:param vm_mobj: managed object of the VM whose property is to be
queried
:param property_name: path of the property'

def query_vm_property(self, vm_mobj, property_name):

    session = self._api_session
    return session.invoke_api(vim_util, 'get_object_property', session.vim, vm_mobj, property_name)
