github.com/sacloud/iaas-api-go@v1.12.0/types/vpc_router_plan.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 // VPCRouterPlans VPCルータのプラン 18 var VPCRouterPlans = struct { 19 // Standard スタンダードプラン シングル構成/最大スループット 80Mbps/一部機能は利用不可 20 Standard ID 21 // Premium プレミアムプラン 冗長構成/最大スループット400Mbps 22 Premium ID 23 // HighSpec ハイスペックプラン 冗長構成/最大スループット1,600Mbps 24 HighSpec ID 25 // HighSpec ハイスペックプラン 冗長構成/最大スループット4,000Mbps 26 HighSpec4000 ID 27 }{ 28 Standard: ID(1), 29 Premium: ID(2), 30 HighSpec: ID(3), 31 HighSpec4000: ID(4), 32 } 33 34 // VPCRouterPlanStrings VPCルータのプランを表す文字列 35 var VPCRouterPlanStrings = []string{"standard", "premium", "highspec", "highspec4000"} 36 37 // VPCRouterPlanIDMap 文字列とVPCルータのプランIDのマップ 38 var VPCRouterPlanIDMap = map[string]ID{ 39 "standard": VPCRouterPlans.Standard, 40 "premium": VPCRouterPlans.Premium, 41 "highspec": VPCRouterPlans.HighSpec, 42 "highspec4000": VPCRouterPlans.HighSpec4000, 43 } 44 45 // VPCRouterPlanNameMap プランIDと文字列のマップ 46 var VPCRouterPlanNameMap = map[ID]string{ 47 VPCRouterPlans.Standard: "standard", 48 VPCRouterPlans.Premium: "premium", 49 VPCRouterPlans.HighSpec: "highspec", 50 VPCRouterPlans.HighSpec4000: "highspec4000", 51 }