github.com/sacloud/iaas-api-go@v1.12.0/types/zone.go (about) 1 // Copyright 2022-2023 The sacloud/iaas-api-go Authors 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 types 16 17 const ( 18 // ZoneTk1aID 東京第1ゾーン 19 ZoneTk1aID = ID(21001) 20 // ZoneTk1bID 東京第2ゾーン 21 ZoneTk1bID = ID(21002) 22 // ZoneIs1aID 石狩第1ゾーン 23 ZoneIs1aID = ID(31001) 24 // ZoneIs1bID 石狩第1ゾーン 25 ZoneIs1bID = ID(31002) 26 // ZoneTk1vID サンドボックスゾーン 27 ZoneTk1vID = ID(29001) 28 ) 29 30 // ZoneNames 利用できるゾーンの一覧 31 var ZoneNames = []string{"tk1a", "tk1b", "is1a", "is1b", "tk1v"} 32 33 // ZoneIDs ゾーンIDと名称のマップ 34 var ZoneIDs = map[string]ID{ 35 "tk1a": ZoneTk1aID, 36 "tk1b": ZoneTk1bID, 37 "is1a": ZoneIs1aID, 38 "is1b": ZoneIs1bID, 39 "tk1v": ZoneTk1vID, 40 }