Thank you for all your generous and detailed replies. So I checked with the HR staff and they told me the minimum 2 year contract is by law. If they are paying for my visa cost and if i leave the company before 2 years i would be liable to pay the remaining employment cost incurred. However in this case, they are hiring me on my spouse's visa but that leads to another question
My dependent visa clearly states that i am not allowed to work on it.
Have there been any changes in law regarding this? Where can i find a detailed version of all the laws n the recent changes?