'Get the backing based on name.
:param name: Name of the backing
:return: Managed object reference to the backing'

def get_backing(self, name):

    retrieve_result = self._session.invoke_api(vim_util, 'get_objects', self._session.vim, 'VirtualMachine', self._max_objects)
    while retrieve_result:
        vms = retrieve_result.objects
        for vm in vms:
            if (vm.propSet[0].val == name):
                self.cancel_retrieval(retrieve_result)
                return vm.obj
        retrieve_result = self.continue_retrieval(retrieve_result)
    LOG.debug('Did    not    find    any    backing    with    name:    %s', name)
