Ariz. Rev. Stat. § 42-11006
A court may not issue an injunction, writ of mandamus or any other extraordinary writ in any action or proceeding against the state, a county or municipality or a state, county or municipal officer to prevent or enjoin: