yunion.io/x/cloudmux@v0.3.10-0-alpha.1/pkg/multicloud/google/latitude_and_longitude.go (about)

     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  
    15  package google
    16  
    17  import (
    18  	api "yunion.io/x/cloudmux/pkg/apis/compute"
    19  	"yunion.io/x/cloudmux/pkg/cloudprovider"
    20  )
    21  
    22  var LatitudeAndLongitude = map[string]cloudprovider.SGeographicInfo{
    23  	"asia-east1":           api.RegionTaiwan,
    24  	"asia-east2":           api.RegionHongkong,
    25  	"asia-northeast1":      api.RegionTokyo,
    26  	"asia-northeast2":      api.RegionOsaka,
    27  	"asia-northeast3":      api.RegionSeoul,
    28  	"asia-south1":          api.RegionMumbai,
    29  	"asia-south2":          api.RegionDelhi,
    30  	"asia-southeast1":      api.RegionSingapore,
    31  	"asia-southeast2":      api.RegionJakarta,
    32  	"australia-southeast1": api.RegionSydney,
    33  	"australia-southeast2": api.RegionMelbourne,
    34  
    35  	"europe-north1":   api.RegionFinland,
    36  	"europe-west1":    api.RegionBelgium,
    37  	"europe-west2":    api.RegionLondon,
    38  	"europe-west3":    api.RegionFrankfurt,
    39  	"europe-west4":    api.RegionHolland,
    40  	"europe-west6":    api.RegionZurich,
    41  	"europe-central2": api.RegionWarsaw,
    42  
    43  	"northamerica-northeast1": api.RegionMontreal,
    44  	"northamerica-northeast2": api.RegionToronto,
    45  	"southamerica-east1":      api.RegionSaoPaulo,
    46  	"us-central1":             api.RegionIowa,
    47  	"us-east1":                api.RegionCarolina,
    48  	"us-east4":                api.RegionNothVirginia,
    49  	"us-west1":                api.RegionOregon,
    50  	"us-west2":                api.RegionLosAngeles,
    51  	"us-west3":                api.RegionSaltLakeCity,
    52  	"us-west4":                api.RegionLasVegas,
    53  	"southamerica-west1":      api.RegionSantiago,
    54  }
    55  
    56  var RegionNames = map[string]string{
    57  	"asia-east1":           "台湾",
    58  	"asia-east2":           "香港",
    59  	"asia-northeast1":      "东京",
    60  	"asia-northeast2":      "大阪",
    61  	"asia-northeast3":      "首尔",
    62  	"asia-south1":          "孟买",
    63  	"asia-south2":          "德里",
    64  	"asia-southeast1":      "新加坡",
    65  	"asia-southeast2":      "雅加达",
    66  	"australia-southeast1": "悉尼",
    67  	"australia-southeast2": "墨尔本",
    68  
    69  	"europe-north1":   "芬兰",
    70  	"europe-west1":    "比利时",
    71  	"europe-west2":    "伦敦",
    72  	"europe-west3":    "法兰克福",
    73  	"europe-west4":    "荷兰",
    74  	"europe-west6":    "苏黎世",
    75  	"europe-central2": "华沙",
    76  
    77  	"northamerica-northeast1": "蒙特利尔",
    78  	"northamerica-northeast2": "多伦多",
    79  	"southamerica-east1":      "圣保罗",
    80  	"southamerica-west1":      "圣地亚哥",
    81  	"us-central1":             "爱荷华",
    82  	"us-east1":                "南卡罗来纳州",
    83  	"us-east4":                "北弗吉尼亚",
    84  	"us-west1":                "俄勒冈州",
    85  	"us-west2":                "洛杉矶",
    86  	"us-west3":                "盐湖城",
    87  	"us-west4":                "拉斯维加斯",
    88  
    89  	// Multi-region
    90  	"us":   "美国的多区域",
    91  	"eu":   "欧盟的多区域",
    92  	"asia": "亚洲的多区域",
    93  
    94  	// Dual-region
    95  	"nam4": "爱荷华和南卡罗来纳",
    96  	"eur4": "荷兰和芬兰",
    97  }