For independent accommodation it is between you and the landlord. The landlord is expected to hand you accommodation in good condition and ensure the upkeep. There's a contract and it will include all details.

However landlords are landlords. If an A/C stops working and it came with the place the lanlord should fix it. But will he do it quickly enough. Will he claim abuse?

Compounds have a maintenance budget and many have their own maintenance staff who should be on call all the time.

If I were to rent independent accommodation I'd prefer to rent from a landlord who rents many such properties rather than just the odd 1 or 2.