code: func CreateDefaultESX(f *Folder) {
  	dc := NewDatacenter(f)
  
  	host := NewHostSystem(esx.HostSystem)
  
  	summary := new(types.ComputeResourceSummary)
  	addComputeResource(summary, host)
  
  	cr := &mo.ComputeResource{
  		Summary: summary,
  		Network: esx.Datacenter.Network,
  	}
  	cr.EnvironmentBrowser = newEnvironmentBrowser()
  	cr.Self = *host.Parent
  	cr.Name = host.Name
  	cr.Host = append(cr.Host, host.Reference())
  	host.Network = cr.Network
  	Map.PutEntity(cr, host)
  
  	pool := NewResourcePool()
  	cr.ResourcePool = &pool.Self
  	Map.PutEntity(cr, pool)
  	pool.Owner = cr.Self
  
  	Map.Get(dc.HostFolder).(*Folder).putChild(cr)
  }
docs: // CreateDefaultESX creates a standalone ESX
  // Adds objects of type: Datacenter, Network, ComputeResource, ResourcePool and HostSystem