Israel’s military chief of staff says the attack by Iran “will be met with a response”, as allies urge restraint.