ElasticIpSpec.go 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. // Copyright 2018 JDCLOUD.COM
  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. // NOTE: This class is auto generated by the jdcloud code generator program.
  16. package models
  17. import charge "github.com/jdcloud-api/jdcloud-sdk-go/services/charge/models"
  18. type ElasticIpSpec struct {
  19. /* 弹性公网IP的限速(单位:Mbps),取值范围为[1-200] */
  20. BandwidthMbps int `json:"bandwidthMbps"`
  21. /* IP线路信息。当IP类型为标准公网IP时,取值为bgp或no_bgp,cn-north-1:bgp;cn-south-1:bgp;cn-east-1:bgp;cn-east-2:bgp。当IP类型为边缘公网IP时,其值可通过调用describeEdgeIpProviders、获取不同边缘节点的边缘公网IP线路信息 */
  22. Provider string `json:"provider"`
  23. /* 计费配置。边缘公网IP支持包年包月、按配置;标准公网IP支持包年包月、按配置、按流量 (Optional) */
  24. ChargeSpec *charge.ChargeSpec `json:"chargeSpec"`
  25. }