Azerbaijan is an Islamic country. Do you, in all honesty, truly believe that nobody in Azerbaijan notified the Iranians of Israel's military assets there? Really?
I think that because of the distances involved, Israel has to presume that Iran is well aware of gross movements of equipment and personnel. The only things they really cannot know is the time and the plan of attack.
Azerbaijan is no friend of Iran.
The Zero administration leaked the information.
Whether you care to believe it, those are the facts.