Skip to content

Commit 6ed219c

Browse files
Merge pull request #298288 from anaharris-ms/update-region-list-page-region-names
Reliability: Region List - Add Azure programmatic region names section
2 parents 31dd76b + 0ba88cd commit 6ed219c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

articles/reliability/regions-list.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ 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#az-account-list-locations)
89+
- [Azure PowerShell - Get-AzLocation](/powershell/module/az.resources/get-azlocation)
90+
- [Azure Resource Manager REST API](/rest/api/resources/subscriptions/list-locations)
8491
## Related content
8592

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

0 commit comments

Comments
 (0)