It was sometimes helpful in ye olde Azure CLI to list available locations, their short names, and their features with the azure location list command. Would it be possible to include an equivalent here?
An informational page might be sufficient too. I found this page, but it's not particularly developer-friendly and it doesn't include short names.
Thank you!
never mind - I found az account list-locations. Thanks!
"az account list-locations -o table"
to get it in an easy readable format
DisplayName Latitude Longitude Name
------------------- ---------- ----------- ------------------
East Asia 22.267 114.188 eastasia
Southeast Asia 1.283 103.833 southeastasia
Central US 41.5908 -93.6208 centralus
East US 37.3719 -79.8164 eastus
East US 2 36.6681 -78.3889 eastus2
West US 37.783 -122.417 westus
North Central US 41.8819 -87.6278 northcentralus
South Central US 29.4167 -98.5 southcentralus
North Europe 53.3478 -6.2597 northeurope
West Europe 52.3667 4.9 westeurope
Japan West 34.6939 135.5022 japanwest
Japan East 35.68 139.77 japaneast
Brazil South -23.55 -46.633 brazilsouth
Australia East -33.86 151.2094 australiaeast
Australia Southeast -37.8136 144.9631 australiasoutheast
South India 12.9822 80.1636 southindia
Central India 18.5822 73.9197 centralindia
West India 19.088 72.868 westindia
Canada Central 43.653 -79.383 canadacentral
Canada East 46.817 -71.217 canadaeast
UK South 50.941 -0.799 uksouth
UK West 53.427 -3.084 ukwest
West Central US 40.890 -110.234 westcentralus
West US 2 47.233 -119.852 westus2
Korea Central 37.5665 126.9780 koreacentral
Korea South 35.1796 129.0756 koreasouth
France Central 46.3772 2.3730 francecentral
France South 43.8345 2.1972 francesouth
Australia Central -35.3075 149.1244 australiacentral
Australia Central 2 -35.3075 149.1244 australiacentral2
South Africa North -25.731340 28.218370 southafricanorth
South Africa West -34.075691 18.843266 southafricawest
I prefer az account list-locations --query "[].{DisplayName:displayName, Name:name}" -o table. There's really no need to pair it up with latlong values.
DisplayName Name
------------------- ------------------
East Asia eastasia
Southeast Asia southeastasia
Central US centralus
East US eastus
East US 2 eastus2
West US westus
North Central US northcentralus
South Central US southcentralus
North Europe northeurope
West Europe westeurope
Japan West japanwest
Japan East japaneast
Brazil South brazilsouth
Australia East australiaeast
Australia Southeast australiasoutheast
South India southindia
Central India centralindia
West India westindia
Canada Central canadacentral
Canada East canadaeast
UK South uksouth
UK West ukwest
West Central US westcentralus
West US 2 westus2
Korea Central koreacentral
Korea South koreasouth
France Central francecentral
France South francesouth
Australia Central australiacentral
Australia Central 2 australiacentral2
UAE Central uaecentral
UAE North uaenorth
South Africa North southafricanorth
South Africa West southafricawest
Sort by DisplayName:
az account list-locations --query "sort_by([].{DisplayName:displayName, Name:name}, &DisplayName)" --output table
Most helpful comment
never mind - I found
az account list-locations. Thanks!