Merge pull request #10265 from ioito/hotfix/qx-azure-new-region

fix(region): add azure new region
This commit is contained in:
Zexi Li
2021-02-25 11:22:59 +08:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -114,6 +114,7 @@ const (
CITY_SOUTH_CAROLINA = "South Carolina" //南卡罗来纳州
CITY_SALT_LAKE_CITY = "Salt Lake City" //盐湖城
CITY_LAS_VEGAS = "Las Vegas" //拉斯维加斯
CITY_PHOENIX = "Phoenix" //菲尼克斯
// 英国
CITY_LONDON = "London" //伦敦
@@ -150,7 +151,8 @@ const (
CITY_STOCKHOLM = "Stockholm" //斯德哥尔摩
// 巴西
CITY_SAO_PAULO = "Sao Paulo" //圣保罗
CITY_SAO_PAULO = "Sao Paulo" //圣保罗
CITY_RIO_DE_JANEIRO = "Rio de Janeiro" // 里约热内卢
// 智利
CITY_SANTIAGO = "Santiago" // 圣地亚哥
+2
View File
@@ -60,6 +60,8 @@ var AzureGeographicInfo = map[string]cloudprovider.SGeographicInfo{
"norwayeast": {City: api.CITY_OSLO, CountryCode: api.COUNTRY_CODE_NO}, // 奥斯陆
"germanywestcentral": {City: api.CITY_FRANKFURT, CountryCode: api.COUNTRY_CODE_DE}, // 法兰克福
"germanynorth": {City: api.CITY_DELMENHORST, CountryCode: api.COUNTRY_CODE_DE}, // 代尔门霍斯特
"westus3": {City: api.CITY_PHOENIX, CountryCode: api.COUNTRY_CODE_US},
"brazilsoutheast": {City: api.CITY_RIO_DE_JANEIRO, CountryCode: api.COUNTRY_CODE_BR},
"chinaeast": {City: api.CITY_SHANG_HAI, CountryCode: api.COUNTRY_CODE_CN},
"chinaeast2": {City: api.CITY_SHANG_HAI, CountryCode: api.COUNTRY_CODE_CN},