yunion.io/x/cloudmux@v0.3.10-0-alpha.1/pkg/apis/compute/cloudregions_const.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 compute
    16  
    17  const (
    18  	CLOUD_REGION_STATUS_INSERVER     = "inservice"
    19  	CLOUD_REGION_STATUS_OUTOFSERVICE = "outofservice"
    20  
    21  	DEFAULT_REGION_ID = "default"
    22  
    23  	// 中国
    24  	CITY_QING_DAO       = "Qingdao"      //青岛
    25  	CITY_BEI_JING       = "Beijing"      //北京
    26  	CITY_ZHANG_JIA_KOU  = "Zhangjiakou"  //张家口
    27  	CITY_HU_HE_HAO_TE   = "Huhehaote"    //呼和浩特
    28  	CITY_HANG_ZHOU      = "Hangzhou"     //杭州
    29  	CITY_SHANG_HAI      = "Shanghai"     //上海
    30  	CITY_SHEN_ZHEN      = "Shenzhen"     //深圳
    31  	CITY_HONG_KONG      = "Hongkong"     //香港
    32  	CITY_NING_XIA       = "Ningxia"      //宁夏
    33  	CITY_GUANG_ZHOU     = "Guangzhou"    //广州
    34  	CITY_TAI_WAN        = "Taiwan"       //台湾
    35  	CITY_GUI_YANG       = "Guiyang"      //贵阳
    36  	CITY_TAIPEI         = "Taipei"       //台北市
    37  	CITY_KAOHSIUNG      = "Kaohsiung"    //高雄市
    38  	CITY_CHENG_DU       = "Chengdu"      //成都
    39  	CITY_HE_YUAN        = "HeYuan"       //河源
    40  	CITY_CHONG_QING     = "Chongqing"    //重庆
    41  	CITY_LAN_ZHOU       = "Lanzhou"      //兰州
    42  	CITY_TAI_YUAN       = "Taiyuan"      //太原
    43  	CITY_TIAN_JIN       = "Tianjin"      //天津
    44  	CITY_WU_LU_MU_QI    = "Wulumuqi"     //乌鲁木齐
    45  	CITY_NAN_NING       = "Nanning"      //南宁
    46  	CITY_ZHENG_ZHOU     = "Zhengzhou"    //郑州
    47  	CITY_KUN_MING       = "Kunming"      //昆明
    48  	CITY_XI_AN          = "Xian"         //西安
    49  	CITY_HAI_KOU        = "Haikou"       //海口
    50  	CITY_WU_HU          = "Wuhu"         //芜湖
    51  	CITY_FU_ZHOU        = "Fuzhou"       //福州
    52  	CITY_WU_HAN         = "Wuhan"        //武汉
    53  	CITY_CHANG_SHA      = "Changsha"     //长沙
    54  	CITY_SU_ZHOU        = "Suzhou"       //苏州
    55  	CITY_BAO_DING       = "Baoding"      //保定
    56  	CITY_NAN_JING       = "Nanjing"      //南京
    57  	CITY_FO_SHAN        = "Foshan"       //佛山
    58  	CITY_QUAN_ZHOU      = "Quanzhou"     //泉州
    59  	CITY_NEI_MENG_GU    = "Neimenggu"    //内蒙古
    60  	CITY_WU_LAN_CHA_BU  = "Wulanchabu"   //乌兰察布
    61  	CITY_JI_NAM         = "JiNan"        //济南
    62  	CITY_CHANG_CHUN     = "ChangChun"    //长春
    63  	CITY_XIANG_YANG     = "XiangYang"    //襄阳
    64  	CITY_NAN_CHANG      = "NanChang"     //南昌
    65  	CITY_SHEN_YANG      = "ShenYang"     //沈阳
    66  	CITY_SHI_JIA_ZHUANG = "ShiJiaZhuang" //石家庄
    67  	CITY_XIA_MEN        = "XiaMen"       //厦门
    68  	CITY_HUAI_NAN       = "HuaiNan"      //淮南
    69  	CITY_SU_QIAN        = "SuQian"       //宿迁
    70  	CITY_DA_LIAN        = "Dalian"       //大连
    71  
    72  	// 日本
    73  	CITY_TOKYO = "Tokyo" //东京
    74  	CITY_OSAKA = "Osaka" //大阪市
    75  
    76  	// 新加坡
    77  	CITY_SINGAPORE = "Singapore" //新加坡
    78  
    79  	// 澳大利亚
    80  	CITY_SYDNEY     = "Sydney"     //悉尼
    81  	CITY_YARRALUMLA = "Yarralumla" //亚拉伦拉
    82  	CITY_MELBOURNE  = "Melbourne"  //墨尔本
    83  
    84  	//芬兰
    85  	CITY_FINLAND = "Finland"
    86  
    87  	//比利时
    88  	CITY_BELGIUM = "Belgium" //比利时
    89  
    90  	//瑞士
    91  	CITY_ZURICH = "Zurich" //苏黎世
    92  	CITY_GENEVA = "Geneva" //日内瓦
    93  
    94  	// 挪威
    95  	CITY_STAVANGER = "Stavanger" //斯塔万格
    96  	CITY_OSLO      = "Oslo"      // 奥斯陆
    97  
    98  	// 马来西亚
    99  	CITY_KUALA_LUMPUR = "Kuala Lumpur" //吉隆坡
   100  
   101  	// 印度尼西亚
   102  	CITY_JAKARTA = "Jakarta" //雅加达
   103  
   104  	// 印度
   105  	CITY_DELHI       = "Delhi"       // 德里
   106  	CITY_MUMBAI      = "Mumbai"      //孟买
   107  	CITY_KANCHIPURAM = "Kanchipuram" //甘吉布勒姆
   108  	CITY_MAHARASHTRA = "Maharashtra" //马哈拉施特拉邦
   109  	CITY_JAMNAGAR    = "Jamnagar"    //贾姆讷格尔
   110  	CITY_NAGPUR      = "Nagpur"      //那格浦尔
   111  
   112  	// 美国
   113  	CITY_VIRGINIA       = "Virginia"       //弗吉尼亚
   114  	CITY_SILICONVALLEY  = "Siliconvalley"  //硅谷
   115  	CITY_OHIO           = "Ohio"           //俄亥俄州
   116  	CITY_N_VIRGINIA     = "N. Virginia"    //北弗吉尼亚
   117  	CITY_N_CALIFORNIA   = "N. California"  //北加州
   118  	CITY_OREGON         = "Oregon"         //俄勒冈州
   119  	CITY_LOS_ANGELES    = "Los Angeles"    //洛杉矶
   120  	CITY_SAN_FRANCISCO  = "San Francisco"  //旧金山
   121  	CITY_UTAH           = "Utah"           //犹他州
   122  	CITY_WASHINGTON     = "Washington"     //华盛顿
   123  	CITY_TEXAS          = "Texas"          //德克萨斯
   124  	CITY_CHICAGO        = "Chicago"        //芝加哥
   125  	CITY_IOWA           = "Iowa"           //爱荷华
   126  	CITY_US_GOV_WEST    = "us-gov-west"    //???
   127  	CITY_SOUTH_CAROLINA = "South Carolina" //南卡罗来纳州
   128  	CITY_SALT_LAKE_CITY = "Salt Lake City" //盐湖城
   129  	CITY_LAS_VEGAS      = "Las Vegas"      //拉斯维加斯
   130  	CITY_PHOENIX        = "Phoenix"        //菲尼克斯
   131  
   132  	// 英国
   133  	CITY_LONDON      = "London"      //伦敦
   134  	CITY_HALTON      = "Halton"      //哈尔顿
   135  	CITY_WEST_SUSSEX = "West Sussex" //西苏塞克斯
   136  
   137  	// 阿拉伯联合酋长国
   138  	CITY_DUBAI = "Dubai" //迪拜
   139  
   140  	// 德国
   141  	CITY_FRANKFURT   = "Frankfurt"   // 法兰克福
   142  	CITY_DELMENHORST = "Delmenhorst" // 代尔门霍斯特
   143  
   144  	// 韩国
   145  	CITY_SEOUL = "Seoul" //首尔
   146  	CITY_BUSAN = "Busan" //釜山
   147  
   148  	// 加拿大
   149  	CITY_CANADA_CENTRAL = "Canada Central" //加拿大中部
   150  	CITY_QUEBEC         = "Quebec"         //魁北克市
   151  	CITY_TORONTO        = "Toronto"        //多伦多
   152  	CITY_MONTREAL       = "Montreal"       //蒙特利尔
   153  
   154  	// 爱尔兰
   155  	CITY_IRELAND = "Ireland" //爱尔兰
   156  	CITY_DUBLIN  = "Dublin"  //都柏林
   157  
   158  	// 法国
   159  	CITY_PARIS  = "Paris"  //巴黎
   160  	CITY_ALLIER = "Allier" //阿利埃河
   161  	CITY_TARN   = "Tarn"   //塔恩
   162  
   163  	// 瑞典
   164  	CITY_STOCKHOLM = "Stockholm" //斯德哥尔摩
   165  
   166  	// 波兰
   167  	CITY_WARSAW = "Warsaw" // 华沙
   168  
   169  	// 巴西
   170  	CITY_SAO_PAULO      = "Sao Paulo"      //圣保罗
   171  	CITY_RIO_DE_JANEIRO = "Rio de Janeiro" // 里约热内卢
   172  
   173  	// 智利
   174  	CITY_SANTIAGO = "Santiago" // 圣地亚哥
   175  
   176  	// 墨西哥
   177  	CITY_MEXICO = "Mexico" // 墨西哥
   178  
   179  	// 荷兰
   180  	CITY_HOLLAND = "Holland" //荷兰
   181  
   182  	// 南非
   183  	CITY_PRETORIA     = "Pretoria"     //比勒陀利亚
   184  	CITY_CAPE_TOWN    = "Cape Town"    //开普敦
   185  	CITY_JOHANNESBURG = "Johannesburg" //约翰内斯堡
   186  
   187  	// 泰国
   188  	CITY_BANGKOK = "Bangkok" //曼谷
   189  
   190  	// 俄罗斯
   191  	CITY_MOSCOW = "Moscow" //莫斯科
   192  
   193  	// 尼日利亚
   194  	CITY_LAGOS = "Lagos" //拉哥斯
   195  
   196  	// 巴林王国 (中东国家)
   197  	CITY_BAHRAIN = "Bahrain" // 巴林
   198  
   199  	// 越南
   200  	CITY_HO_CHI_MINH = "Ho Chi Minh" //???
   201  
   202  	COUNTRY_CODE_CN = "CN" //中国
   203  	COUNTRY_CODE_JP = "JP" //日本
   204  	COUNTRY_CODE_SG = "SG" //新加坡
   205  	COUNTRY_CODE_AU = "AU" //澳大利亚
   206  	COUNTRY_CODE_MY = "MY" //马来西亚
   207  	COUNTRY_CODE_ID = "ID" //印度尼西亚
   208  	COUNTRY_CODE_IN = "IN" //印度
   209  	COUNTRY_CODE_US = "US" //美国
   210  	COUNTRY_CODE_GB = "GB" //英国
   211  	COUNTRY_CODE_AE = "AE" //阿拉伯联合酋长国
   212  	COUNTRY_CODE_DE = "DE" //德国
   213  	COUNTRY_CODE_KR = "KR" //韩国
   214  	COUNTRY_CODE_CA = "CA" //加拿大
   215  	COUNTRY_CODE_IE = "IE" //爱尔兰
   216  	COUNTRY_CODE_FR = "FR" //法国
   217  	COUNTRY_CODE_SE = "SE" //瑞典
   218  	COUNTRY_CODE_BR = "BR" //巴西
   219  	COUNTRY_CODE_NL = "NL" //荷兰
   220  	COUNTRY_CODE_ZA = "ZA" //南非
   221  	COUNTRY_CODE_TH = "TH" //泰国
   222  	COUNTRY_CODE_RU = "RU" //俄罗斯
   223  	COUNTRY_CODE_NG = "NG" //尼日利亚
   224  	COUNTRY_CODE_VN = "VN" //越南
   225  	COUNTRY_CODE_CH = "CH" //瑞士
   226  	COUNTRY_CODE_NO = "NO" //挪威
   227  	COUNTRY_CODE_MX = "MX" //墨西哥
   228  	COUNTRY_CODE_CL = "CL" //智利
   229  	COUNTRY_CODE_BH = "BH" //巴林
   230  	COUNTRY_CODE_PL = "PL" //波兰
   231  	COUNTRY_CODE_FI = "FI" //芬兰
   232  	COUNTRY_CODE_BE = "BE" //比利时
   233  )