Subnet.go 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. type Subnet struct {
  18. /* Subnet的Id (Optional) */
  19. SubnetId string `json:"subnetId"`
  20. /* 子网名称 (Optional) */
  21. SubnetName string `json:"subnetName"`
  22. /* 子网所属VPC的Id (Optional) */
  23. VpcId string `json:"vpcId"`
  24. /* 子网网段,vpc内子网网段不能重叠,cidr的取值范围:10.0.0.0/8、172.16.0.0/12和192.168.0.0/16及它们包含的子网,且子网掩码长度为16-28之间,如果VPC含有Cidr,则必须为VPC所在Cidr的子网 (Optional) */
  25. AddressPrefix string `json:"addressPrefix"`
  26. /* 子网可用ip数量 (Optional) */
  27. AvailableIpCount int `json:"availableIpCount"`
  28. /* 子网描述信息 (Optional) */
  29. Description string `json:"description"`
  30. /* 子网关联的路由表Id (Optional) */
  31. RouteTableId string `json:"routeTableId"`
  32. /* 子网关联的acl Id (Optional) */
  33. AclId string `json:"aclId"`
  34. /* 子网的起始地址,子网第1个地位为路由器网关保留,第2个地址为dhcp服务保留 (Optional) */
  35. StartIp string `json:"startIp"`
  36. /* 子网的结束地址,子网第1个地位为路由器网关保留,第2个地址为dhcp服务保留 (Optional) */
  37. EndIp string `json:"endIp"`
  38. /* 子网创建时间 (Optional) */
  39. CreatedTime string `json:"createdTime"`
  40. /* 子网类型,取值:standard(标准子网),edge(边缘子网) (Optional) */
  41. SubnetType string `json:"subnetType"`
  42. /* 子网可用区 (Optional) */
  43. Az string `json:"az"`
  44. }