InternalInstance.go 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 InternalInstance struct {
  18. /* 云主机ID (Optional) */
  19. InstanceId string `json:"instanceId"`
  20. /* 云主机名称 (Optional) */
  21. InstanceName string `json:"instanceName"`
  22. /* 实例规格 (Optional) */
  23. InstanceType string `json:"instanceType"`
  24. /* 主网卡所属VPC的ID (Optional) */
  25. VpcId string `json:"vpcId"`
  26. /* 主网卡所属子网的ID (Optional) */
  27. SubnetId string `json:"subnetId"`
  28. /* 主网卡主IP地址 (Optional) */
  29. PrivateIpAddress string `json:"privateIpAddress"`
  30. /* 云主机状态,<a href="http://docs.jdcloud.com/virtual-machines/api/vm_status">参考云主机状态</a> (Optional) */
  31. Status string `json:"status"`
  32. /* 云主机描述 (Optional) */
  33. Description string `json:"description"`
  34. /* 镜像ID (Optional) */
  35. ImageId string `json:"imageId"`
  36. /* 系统盘配置 (Optional) */
  37. SystemDisk BriefInstanceDiskAttachment `json:"systemDisk"`
  38. /* 数据盘配置 (Optional) */
  39. DataDisks []BriefInstanceDiskAttachment `json:"dataDisks"`
  40. /* 主网卡配置 (Optional) */
  41. PrimaryNetworkInterface BriefInstanceNetworkInterfaceAttachment `json:"primaryNetworkInterface"`
  42. /* 辅助网卡配置 (Optional) */
  43. SecondaryNetworkInterfaces []BriefInstanceNetworkInterfaceAttachment `json:"secondaryNetworkInterfaces"`
  44. /* 创建时间 (Optional) */
  45. LaunchTime string `json:"launchTime"`
  46. /* 云主机所在可用区 (Optional) */
  47. Az string `json:"az"`
  48. /* 密钥对名称 (Optional) */
  49. KeyNames []string `json:"keyNames"`
  50. /* 高可用组中的错误域 (Optional) */
  51. FaultDomain string `json:"faultDomain"`
  52. /* 关机模式,只支持云盘做系统盘的按配置计费云主机。KeepCharging:关机后继续计费;StopCharging:关机后停止计费。 (Optional) */
  53. ChargeOnStopped string `json:"chargeOnStopped"`
  54. /* 实例所属的专有宿主机池 (Optional) */
  55. DedicatedPoolId string `json:"dedicatedPoolId"`
  56. /* 专有宿主机ID (Optional) */
  57. DedicatedHostId string `json:"dedicatedHostId"`
  58. /* 实例的物理机 IP (Optional) */
  59. HostIp string `json:"hostIp"`
  60. /* 机架信息 (Optional) */
  61. Rack string `json:"rack"`
  62. }