geographicinfo.go 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. // Copyright 2019 Yunion
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. package azure
  15. import (
  16. api "yunion.io/x/cloudmux/pkg/apis/compute"
  17. "yunion.io/x/cloudmux/pkg/cloudprovider"
  18. )
  19. var AzureGeographicInfo = map[string]cloudprovider.SGeographicInfo{
  20. "southafricanorth": api.RegionPretoria, //比勒陀利亚, 南非
  21. "southafricawest": api.RegionCapeTown, //开普敦 南非
  22. "australiacentral2": api.RegionYarralumla, //亚拉伦拉 澳大利亚
  23. "koreasouth": api.RegionBusan, //釜山 韩国
  24. "canadacentral": api.RegionToronto, //加拿大 多伦多
  25. "northeurope": api.RegionDublin, //都柏林 爱尔兰
  26. "australiacentral": api.RegionYarralumla, //亚拉伦拉 澳大利亚
  27. "francecentral": api.RegionAllier, //阿利埃河 法国
  28. "westus": api.RegionSanFrancisco, //旧金山 美国
  29. "japanwest": api.RegionOsaka, //大阪市 日本
  30. "francesouth": api.RegionTarn, //塔恩 法国
  31. "eastus": api.RegionVirginia, // 美国 弗吉尼亚
  32. "westindia": api.RegionMumbai, //印度 孟买
  33. "westcentralus": api.RegionUtah, //美国 犹他州
  34. "southeastasia": api.RegionSingapore, //新加坡
  35. "eastasia": api.RegionHongkong,
  36. "eastus2": api.RegionVirginia, // 美国 弗吉尼亚
  37. "japaneast": api.RegionTokyo, // 日本 东京
  38. "ukwest": api.RegionHalton, //英国 哈尔顿
  39. "australiasoutheast": api.RegionMelbourne, // 澳大利亚 墨尔本
  40. "uksouth": api.RegionSussex, //英国 西苏塞克斯
  41. "westus2": api.RegionWashington, //美国 华盛顿
  42. "southcentralus": api.RegionTexas, //美国 德克萨斯
  43. "brazilsouth": api.RegionSaoPaulo, //巴西 圣保罗
  44. "koreacentral": api.RegionSeoul, //韩国 汉城 -> 首尔
  45. "centralindia": api.RegionMaharashtra, //印度 马哈拉施特拉邦
  46. "northcentralus": api.RegionChicago, //美国 芝加哥
  47. "centralus": api.RegionIowa, //美国 爱荷华
  48. "australiaeast": api.RegionSydney, //澳大利亚 悉尼
  49. "westeurope": api.RegionHolland, //荷兰
  50. "canadaeast": api.RegionQuebec, //加拿大 魁北克市
  51. "southindia": api.RegionKanchipuram, //印度 甘吉布勒姆
  52. "uaenorth": api.RegionDubai,
  53. "uaecentral": api.RegionDubai,
  54. "switzerlandwest": api.RegionGeneva, // 日内瓦
  55. "switzerlandnorth": api.RegionZurich, // 苏黎世
  56. "norwaywest": api.RegionStavanger, // 斯塔万格
  57. "norwayeast": api.RegionOslo, // 奥斯陆
  58. "germanywestcentral": api.RegionFrankfurt, // 法兰克福
  59. "germanynorth": api.RegionDelmenhorst, // 代尔门霍斯特
  60. "westus3": api.RegionPhoenix,
  61. "brazilsoutheast": api.RegionRioDeJaneiro, // 里约热内卢
  62. "jioindiawest": api.RegionJioIndiaWest, // 贾姆讷格尔
  63. "jioindiacentral": api.RegionJioIndiaCentral, // 那格浦尔
  64. "swedencentral": api.RegionSandviken,
  65. "qatarcentral": api.RegionDoha,
  66. "polandcentral": api.RegionWarsaw,
  67. "italynorth": api.RegionMilan,
  68. "israelcentral": api.RegionTelAviv,
  69. "brazilus": api.RegionIndianapolis,
  70. "chinaeast": api.RegionShanghai,
  71. "chinaeast2": api.RegionShanghai,
  72. "chinanorth": api.RegionBeijing,
  73. "chinanorth2": api.RegionBeijing,
  74. "chinanorth3": api.RegionZhangjiakou,
  75. }