code: func (l VirtualDeviceList) Type(device types.BaseVirtualDevice) string {
  	switch device.(type) {
  	case types.BaseVirtualEthernetCard:
  		return DeviceTypeEthernet
  	case *types.ParaVirtualSCSIController:
  		return "pvscsi"
  	case *types.VirtualLsiLogicSASController:
  		return "lsilogic-sas"
  	case *types.VirtualNVMEController:
  		return "nvme"
  	default:
  		return l.deviceName(device)
  	}
  }
docs: // Type returns a human-readable name for the given device