yunion.io/x/cloudmux@v0.3.10-0-alpha.1/pkg/multicloud/ucloud/consts.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 ucloud 16 17 // https://docs.ucloud.cn/api/summary/regionlist 18 var UCLOUD_REGION_NAMES = map[string]string{ 19 "cn-bj1": "北京一", 20 "cn-bj2": "北京二", 21 "cn-sh": "上海金融云", 22 "cn-sh2": "上海二", 23 "cn-gd": "广州", 24 "hk": "香港", 25 "us-ca": "洛杉矶", 26 "us-ws": "华盛顿", 27 "ge-fra": "法兰克福", 28 "th-bkk": "曼谷", 29 "kr-seoul": "首尔", 30 "sg": "新加坡", 31 "tw-tp": "台北", 32 "tw-kh": "高雄", 33 "jpn-tky": "东京", 34 "rus-mosc": "莫斯科", 35 "uae-dubai": "迪拜", 36 "idn-jakarta": "雅加达", 37 "ind-mumbai": "孟买", 38 "bra-saopaulo": "圣保罗", 39 "uk-london": "伦敦", 40 "afr-nigeria": "拉各斯", 41 "vn-sng": "胡志明市", 42 } 43 44 var UCLOUD_REGION_NAMES_EN = map[string]string{ 45 "cn-bj1": "Beijing 1", 46 "cn-bj2": "Beijing 2", 47 "cn-sh": "Shanghai 1", 48 "cn-sh2": "Shanghai 2", 49 "cn-gd": "Guangzhou", 50 "hk": "Hongkong", 51 "us-ca": "Los Angeles", 52 "us-ws": "Washington", 53 "ge-fra": "Frankfurt", 54 "th-bkk": "Bangkok", 55 "kr-seoul": "Seoul", 56 "sg": "Singapore", 57 "tw-tp": "TaiPei", 58 "tw-kh": "Gaoxiong", 59 "jpn-tky": "Tokyo", 60 "rus-mosc": "Moscow", 61 "uae-dubai": "Dubai", 62 "idn-jakarta": "Jakarta", 63 "ind-mumbai": "Mumbai", 64 "bra-saopaulo": "Sao Paulo", 65 "uk-london": "London", 66 "afr-nigeria": "Lagos", 67 "vn-sng": "Ho Chi Min City", 68 } 69 70 var UCLOUD_ZONE_NAMES = map[string]string{ 71 "cn-bj1-01": "北京一可用区A", 72 "cn-bj2-02": "北京二可用区B", 73 "cn-bj2-03": "北京二可用区C", 74 "cn-bj2-04": "北京二可用区D", 75 "cn-bj2-05": "北京二可用区E", 76 "cn-sh-01": "上海一可用区A", 77 "cn-sh2-01": "上海二可用区A", 78 "cn-sh2-02": "上海二可用区B", 79 "cn-gd-02": "广州可用区B", 80 "hk-01": "香港可用区A", 81 "hk-02": "香港可用区B", 82 "us-ca-01": "洛杉矶可用区A", 83 "us-ws-01": "华盛顿可用区A", 84 "ge-fra-01": "法兰克福可用区A", 85 "th-bkk-01": "曼谷可用区A", 86 "kr-seoul-01": "首尔可用区A", 87 "sg-01": "新加坡可用区A", 88 "tw-kh-01": "高雄可用区A", 89 "tw-tp-01": "台北可用区A", 90 "jpn-tky-01": "东京可用区A", 91 "rus-mosc-01": "莫斯科可用区A", 92 "uae-dubai-01": "迪拜可用区A", 93 "idn-jakarta-01": "雅加达可用区A", 94 "ind-mumbai-01": "孟买可用区A", 95 "bra-saopaulo-01": "圣保罗可用区A", 96 "uk-london-01": "伦敦可用区A", 97 "afr-nigeria-01": "拉各斯可用区A", 98 "vn-sng-01": "胡志明市可用区A", 99 } 100 101 var UCLOUD_ZONE_NAMES_EN = map[string]string{ 102 "cn-bj1-01": "Beijing 1 Zone A", 103 "cn-bj2-02": "Beijing 2 Zone B", 104 "cn-bj2-03": "Beijing 2 Zone C", 105 "cn-bj2-04": "Beijing 2 Zone D", 106 "cn-bj2-05": "Beijing 2 Zone E", 107 "cn-sh-01": "Shanghai 1 Zone A", 108 "cn-sh2-01": "Shanghai 2 Zone A", 109 "cn-sh2-02": "Shanghai 2 Zone B", 110 "cn-gd-02": "Guangzhou Zone B", 111 "hk-01": "Hongkong Zone A", 112 "hk-02": "Hongkong Zone B", 113 "us-ca-01": "Los Angeles Zone A", 114 "us-ws-01": "Washington Zone A", 115 "ge-fra-01": "Frankfurt Zone A", 116 "th-bkk-01": "Bangkok Zone A", 117 "kr-seoul-01": "Seoul Zone A", 118 "sg-01": "Singapore Zone A", 119 "tw-kh-01": "Gaoxiong Zone A", 120 "tw-tp-01": "TaiPei Zone A", 121 "jpn-tky-01": "Tokyo Zone A", 122 "rus-mosc-01": "Moscow Zone A", 123 "uae-dubai-01": "Dubai Zone A", 124 "idn-jakarta-01": "Jakarta Zone A", 125 "ind-mumbai-01": "Mumbai Zone A", 126 "bra-saopaulo-01": "Sao Paulo Zone A", 127 "uk-london-01": "London Zone A", 128 "afr-nigeria-01": "Lagos Zone A", 129 "vn-sng-01": "Ho Chi Min City Zone A", 130 }