Iran is in no position to continue this war. Lets take the win when you have it. Its a war of attrition and while Iran may have a lot of missiles it is going to struggle to launch them in the long run. Similarly, Israel would have had to accept the fact that the war has come home and is clearly visible but to sustaint it would have been difficult.
So, both were not keen to be in a position for such an outcome. Iran has lost strategically which is probably the far bigger concern because after this ceasefire will come the nuclear talks and supposed negotiations. Irans is now in a far weaker position should it still try to negotiate its right to use nuclear technology. However, Iran could come out and say that there is no need for anything because everything has been destroyed

...kind of create strategic ambiguity. Irans strategy of proxy war has been shown the door....so...it now needs to determine whether India was indeed the right partner or would it be beneficial to improve ties with Pakistan and China for its defence.
I can tell one thing is that with Beidu, HQ9, HQ19 and a range of other AD for IADs plu coupled with JF17s, J10s and J35s would make Iran a highly contested air space such that Israeil would need to accept some very high attrition if it were to even attempt air superiority over Iran.