code: func NewDatacenter(f *Folder) *Datacenter {
  	dc := &Datacenter{
  		isESX: f.Self == esx.RootFolder.Self,
  	}
  
  	if dc.isESX {
  		dc.Datacenter = esx.Datacenter
  	}
  
  	f.putChild(dc)
  
  	dc.createFolders()
  
  	return dc
  }
docs: // NewDatacenter creates a Datacenter and its child folders.