docs: def get_inventory(self, context):
          """
          Will locate vm in vcenter and fill its uuid
          :type context: cloudshell.shell.core.context.ResourceCommandContext
          """
          vcenter_vm_name = context.resource.attributes['vCenter VM']
          vcenter_vm_name = vcenter_vm_name.replace('\\', '/')
          vcenter_name = context.resource.attributes['vCenter Name']
  
          self.logger.info('start autoloading vm_path: {0} on vcenter: {1}'.format(vcenter_vm_name, vcenter_name))
  
          with CloudShellSessionContext(context) as cloudshell_session:
              session = cloudshell_session
  
          vcenter_api_res = session.GetResourceDetails(vcenter_name)
          vcenter_resource = self.model_parser.convert_to_vcenter_model(vcenter_api_res)
  
          si = None
  
          try:
              self.logger.info('connecting to vcenter ({0})'.format(vcenter_api_res.Address))
              si = self._get_connection_to_vcenter(self.pv_service, session, vcenter_resource, vcenter_api_res.Address)
  
              self.logger.info('loading vm uuid')
              vm_loader = VMLoader(self.pv_service)
              uuid = vm_loader.load_vm_uuid_by_name(si, vcenter_resource, vcenter_vm_name)
              self.logger.info('vm uuid: {0}'.format(uuid))
              self.logger.info('loading the ip of the vm')
              ip = self._try_get_ip(self.pv_service, si, uuid, vcenter_resource)
              if ip:
                  session.UpdateResourceAddress(context.resource.name, ip)
  
          except Exception:
              self.logger.exception("Get inventory command failed")
              raise
          finally:
              if si:
                  self.pv_service.disconnect(si)
  
          return self._get_auto_load_response(uuid, vcenter_name, context.resource)