yunion.io/x/cloudmux@v0.3.10-0-alpha.1/pkg/multicloud/aliyun/latitud_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 aliyun
    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  	"cn-qingdao":            api.RegionQingdao,
    24  	"cn-beijing":            api.RegionBeijing,
    25  	"cn-zhangjiakou":        api.RegionZhangjiakou,
    26  	"cn-huhehaote":          api.RegionHuhehaote,
    27  	"cn-huhehaote-nebula-1": api.RegionHuhehaote,
    28  	"cn-hangzhou":           api.RegionHangzhou,
    29  	"cn-shanghai":           api.RegionShanghai,
    30  	"cn-shanghai-finance-1": api.RegionShanghai,
    31  	"cn-shenzhen":           api.RegionShenzhen,
    32  	"cn-shenzhen-finance-1": api.RegionShenzhen,
    33  	"cn-hongkong":           api.RegionHongkong,
    34  	"cn-chengdu":            api.RegionChengdu,
    35  	"cn-heyuan":             api.RegionHeyuan,
    36  	"ap-northeast-1":        api.RegionTokyo,
    37  	"ap-southeast-1":        api.RegionSingapore,
    38  	"ap-southeast-2":        api.RegionSydney,
    39  	"ap-southeast-3":        api.RegionKualaLumpur,
    40  	"ap-southeast-5":        api.RegionJakarta,
    41  	"ap-south-1":            api.RegionMumbai,
    42  	"us-east-1":             api.RegionVirginia,
    43  	"us-west-1":             api.RegionSiliconValley,
    44  	"eu-west-1":             api.RegionLondon,
    45  	"me-east-1":             api.RegionDubai,
    46  	"eu-central-1":          api.RegionFrankfurt,
    47  	"cn-wulanchabu":         api.RegionWulanchabu,
    48  	"cn-guangzhou":          api.RegionGuangzhou,
    49  }