Skip to content

Commit 2d46c7b

Browse files
committed
Add Azure programmatic region names
1 parent d79842a commit 2d46c7b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

articles/reliability/regions-list.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,17 @@ Azure provides the most extensive global footprint of any cloud provider and is
8181
| West US 2 | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | West Central US | Washington | United States |
8282
| West US 3 | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | East US | Phoenix | United States |
8383

84+
### Azure programmatic region names
85+
86+
To retrieve a list of regions names directly, including the names that can be used for programming and scripting, you can use the following methods:
87+
88+
- [Azure CLI - az account list-locations](/cli/azure/account?view=azure-cli-latest#az-account-list-locations)
89+
- [Azure PowerShell - Get-AzLocation](/powershell/module/az.resources/get-azlocation?view=azps-13.3.0)
90+
- [Azure Resource Manager REST API](/rest/api/resources/subscriptions/list-locations?view=rest-resources-2022-12-01&tabs=HTTP)
91+
92+
93+
94+
8495
## Related content
8596

8697
- [What are Azure regions](regions-overview.md)

0 commit comments

Comments
 (0)