pguizeline 2018-05-08 17:07:27 -03:00 committed by Dan Guido
parent 616b849b98
commit 499c195129

118
algo
View file

@ -108,68 +108,76 @@ Name the vpn server:
read -p " read -p "
What region should the server be located in? (https://azure.microsoft.com/en-us/regions/) What region should the server be located in? (https://azure.microsoft.com/en-us/regions/)
1. South Central US 1. East US (Virginia)
2. Central US 2. East US 2 (Virginia)
3. North Europe 3. Central US (Iowa)
4. West Europe 4. North Central US (Illinois)
5. Southeast Asia 5. South Central US (Texas)
6. Japan West 6. West Central US (Wyoming)
7. Japan East 7. West US (California)
8. Australia Southeast 8. West US 2 (Washington)
9. Australia East 9. Canada East (Quebec City)
10. Canada Central 10. Canada Central (Toronto)
11. West US 2 11. Brazil South (Sao Paulo State)
12. West Central US 12. North Europe (Ireland)
13. UK South 13. West Europe (Netherlands)
14. UK West 14. France Central (Paris)
15. West US 15. France South (Marseille)
16. Brazil South 16. UK West (Cardiff)
17. Canada East 17. UK South (London)
18. Central India 18. Germany Central (Frankfurt)
19. East Asia 19. Germany Northeast (Magdeburg)
20. Germany Central 20. Southeast Asia (Singapore)
21. Germany Northeast 21. East Asia (Hong Kong)
22. Korea Central 22. Australia East (New South Wales)
23. Korea South 23. Australia Southeast (Victoria)
24. North Central US 24. Australia Central (Canberra)
25. South India 25. Australia Central 2 (Canberra)
26. West India 26. Central India (Pune)
27. East US 27. West India (Mumbai)
28. East US 2 28. South India (Chennai)
29. Japan East (Tokyo, Saitama)
30. Japan West (Osaka)
31. Korea Central (Seoul)
32. Korea South (Busan)
Enter the number of your desired region: Enter the number of your desired region:
[1]: " -r azure_region [1]: " -r azure_region
azure_region=${azure_region:-1} azure_region=${azure_region:-1}
case "$azure_region" in case "$azure_region" in
1) region="southcentralus" ;; 1) region="eastus" ;;
2) region="centralus" ;; 2) region="eastus2" ;;
3) region="northeurope" ;; 3) region="centralus" ;;
4) region="westeurope" ;; 4) region="northcentralus" ;;
5) region="southeastasia" ;; 5) region="southcentralus" ;;
6) region="japanwest" ;; 6) region="westcentralus" ;;
7) region="japaneast" ;; 7) region="westus" ;;
8) region="australiasoutheast" ;; 8) region="westus2" ;;
9) region="australiaeast" ;; 9) region="canadaeast" ;;
10) region="canadacentral" ;; 10) region="canadacentral" ;;
11) region="westus2" ;; 11) region="brazilsouth" ;;
12) region="westcentralus" ;; 12) region="northeurope" ;;
13) region="uksouth" ;; 13) region="westeurope" ;;
14) region="ukwest" ;; 14) region="francecentral" ;;
15) region="westus" ;; 15) region="francesouth" ;;
16) region="brazilsouth" ;; 16) region="ukwest" ;;
17) region="canadaeast" ;; 17) region="uksouth" ;;
18) region="centralindia" ;; 18) region="germanycentral" ;;
19) region="eastasia" ;; 19) region="germanynortheast" ;;
20) region="germanycentral" ;; 20) region="southeastasia" ;;
21) region="germanynortheast" ;; 21) region="eastasia" ;;
22) region="koreacentral" ;; 22) region="australiaeast" ;;
23) region="koreasouth" ;; 23) region="australiasoutheast" ;;
24) region="northcentralus" ;; 24) region="australiacentral" ;;
25) region="southindia" ;; 25) region="australiacentral2" ;;
26) region="westindia" ;; 26) region="centralindia" ;;
27) region="eastus" ;; 27) region="westindia" ;;
28) region="eastus2" ;; 28) region="southindia" ;;
29) region="japaneast" ;;
30) region="japanwest" ;;
31) region="koreacentral" ;;
32) region="koreasouth" ;;
esac esac
ROLES="azure vpn cloud" ROLES="azure vpn cloud"