Our Windows Azure roles need to know programmatically which datacenter the roles are in.
I know a REST API ( http://msdn.microsoft.com/en-us/library/ee460806.aspx) return location property. And if I deploy to, let’s say, West US, the REST API returns West US as location property. However, if I deploy to Anywhere US, the property is Anywhere US. I would like to know which datacenter our roles are in even if location property is Anywhere US.
The reason why I ask is our roles need to download some data from Windows Azure storage. The cost of downloading data from the same datacenter is free but the that of downloading data from the different datacenter is not free.