yunion.io/x/cloudmux@v0.3.10-0-alpha.1/pkg/multicloud/aws/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 aws
    16  
    17  import (
    18  	api "yunion.io/x/cloudmux/pkg/apis/compute"
    19  	"yunion.io/x/cloudmux/pkg/cloudprovider"
    20  )
    21  
    22  // https://docs.aws.amazon.com/general/latest/gr/rande.html
    23  
    24  var LatitudeAndLongitude = map[string]cloudprovider.SGeographicInfo{
    25  	"us-east-1":      api.RegionNothVirginia,
    26  	"us-east-2":      api.RegionOhio,
    27  	"us-west-1":      api.RegionNorthCalifornia,
    28  	"us-west-2":      api.RegionOregon,
    29  	"ap-south-1":     api.RegionMumbai,
    30  	"ap-northeast-3": api.RegionOsaka,
    31  	"ap-northeast-2": api.RegionSeoul,
    32  	"ap-southeast-1": api.RegionSingapore,
    33  	"ap-southeast-2": api.RegionSydney,
    34  	"ap-northeast-1": api.RegionTokyo,
    35  	"ap-east-1":      api.RegionHongkong,
    36  	"ca-central-1":   api.RegionCanadaCentral,
    37  	"cn-north-1":     api.RegionBeijing,
    38  	"cn-northwest-1": api.RegionNingxia,
    39  	"eu-central-1":   api.RegionFrankfurt,
    40  	"eu-west-1":      api.RegionIreland,
    41  	"eu-west-2":      api.RegionLondon,
    42  	"eu-west-3":      api.RegionParis,
    43  	"eu-north-1":     api.RegionStockholm,
    44  	"sa-east-1":      api.RegionSaoPaulo,
    45  	"us-gov-west-1":  api.RegionUSGOVWest,
    46  
    47  	"af-south-1": api.RegionCapeTown,
    48  	"me-south-1": api.RegionBahrain,
    49  }