You can get the list of Azure Regions via following AZ CLI command;
Bashaz account list-locations -o table
Then it will give you following Table (Dec-2024)
Is There an API to List All Azure Regions?
If you’re working with Microsoft Azure, you might need to list all available Azure regions programmatically....