ElasticIp.go 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 ElasticIp struct {
  19. /* 弹性公网IP的Id (Optional) */
  20. ElasticIpId string `json:"elasticIpId"`
  21. /* 弹性公网IP的地址 (Optional) */
  22. ElasticIpAddress string `json:"elasticIpAddress"`
  23. /* 弹性公网IP的限速(单位:Mbps) (Optional) */
  24. BandwidthMbps int `json:"bandwidthMbps"`
  25. /* 弹性公网IP的线路,标准公网IP的线路、取值为bgp或no_bgp;边缘公网IP的线路、可通过describeEdgeIpProviders接口获取 (Optional) */
  26. Provider string `json:"provider"`
  27. /* 私有IP的IPV4地址 (Optional) */
  28. PrivateIpAddress string `json:"privateIpAddress"`
  29. /* 配置弹性网卡Id (Optional) */
  30. NetworkInterfaceId string `json:"networkInterfaceId"`
  31. /* 实例Id (Optional) */
  32. InstanceId string `json:"instanceId"`
  33. /* 实例类型,取值为:compute、lb、container、pod (Optional) */
  34. InstanceType string `json:"instanceType"`
  35. /* 计费配置 (Optional) */
  36. Charge charge.Charge `json:"charge"`
  37. /* 弹性公网IP的创建时间 (Optional) */
  38. CreatedTime string `json:"createdTime"`
  39. /* 弹性公网IP的可用区属性,如果为空,表示全可用区 (Optional) */
  40. Az string `json:"az"`
  41. /* Tag信息 (Optional) */
  42. Tags []Tag `json:"tags"`
  43. /* 弹性公网IP的IP类型,取值:standard(标准弹性IP)、edge(边缘弹性IP) (Optional) */
  44. IpType string `json:"ipType"`
  45. }