This is solar eclipse (or eclipse of the Sun).
When the Moon casts shadow on Earth, the Moon, naturally, blocks all or some light from the Sun, and we cannot see the Sun, completely or partially.
In contrast, during lunar eclipse Earth casts shadow on the Moon and the Moon becomes invisible.
So eclipses are named after the object that becomes invisible, not the object casting shadow.
The answer: solar.