docs: def show_instance(name, session=None, call=None):
      '''
      Show information about a specific VM or template
  
          .. code-block:: bash
  
              salt-cloud -a show_instance xenvm01
  
      .. note:: memory is memory_dynamic_max
  
      '''
      if call == 'function':
          raise SaltCloudException(
              'The show_instnce function must be called with -a or --action.'
          )
      log.debug('show_instance-> name: %s session: %s', name, session)
      if session is None:
          session = _get_session()
      vm = _get_vm(name, session=session)
      record = session.xenapi.VM.get_record(vm)
      if not record['is_a_template'] and not record['is_control_domain']:
          try:
              base_template_name = record['other_config']['base_template_name']
          except Exception:
              base_template_name = None
              log.debug(
                  'VM %s, doesnt have base_template_name attribute',
                  record['name_label']
              )
          ret = {'id': record['uuid'],
                 'image': base_template_name,
                 'name': record['name_label'],
                 'size': record['memory_dynamic_max'],
                 'state': record['power_state'],
                 'private_ips': get_vm_ip(name, session),
                 'public_ips': None}
  
          __utils__['cloud.cache_node'](
              ret,
              __active_provider_name__,
              __opts__
          )
      return ret