After buying real estate.
Having bought in Dubai or other emirate a living property costing from 1 million dirham, you get a residence permit in the UAE. The validity period of the resident visa in this case is 2 years, but this type of visa does not allow you to take up employment.