Microsoft Azure how to get a list of locations fro

2019-09-13 05:39发布

Does Azure ARM REST API provide a way to get a list of available regions?

I can see that the classic REST API provides such a list as described here:

https://msdn.microsoft.com/en-us/library/azure/gg441293.aspx

But I can't see its equivalent for ARM.

1条回答
Evening l夕情丶
2楼-- · 2019-09-13 06:22

To list the locations for an Azure Subscription using ARM API, please see this link: https://msdn.microsoft.com/en-us/library/azure/dn790540.aspx.

However please keep in mind that not all resources are available in all locations. If you want to find out the locations where a particular resource type is available, you would need to fetch information about the provider of that resource type. For this, please see this link: https://msdn.microsoft.com/en-us/library/azure/dn790524.aspx

查看更多
登录 后发表回答