The United Arab Emirates is a federal state, like the US or Canada (and notably not like the UK--Scotland is a devolved component of a unitary state, not a member of a federal state). The Emirate of Dubai is thus most closely analogized to a US state or a Canadian province, though I'm not entirely sure off-hand how the power of a UAE Emirate compares to federal subjects in the countries whose politics I'm more familiar with.
Also, Dubai is effectively a city-state, as the vast majority of the population of the Emirate lives in the city itself.