struct_instance.go 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package ens
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // Instance is a nested struct in ens response
  17. type Instance struct {
  18. InstanceId string `json:"InstanceId" xml:"InstanceId"`
  19. InstanceName string `json:"InstanceName" xml:"InstanceName"`
  20. EnsRegionId string `json:"EnsRegionId" xml:"EnsRegionId"`
  21. Cpu string `json:"Cpu" xml:"Cpu"`
  22. Memory int `json:"Memory" xml:"Memory"`
  23. Disk int `json:"Disk" xml:"Disk"`
  24. InternetMaxBandwidthIn int `json:"InternetMaxBandwidthIn" xml:"InternetMaxBandwidthIn"`
  25. InternetMaxBandwidthOut int `json:"InternetMaxBandwidthOut" xml:"InternetMaxBandwidthOut"`
  26. CreationTime string `json:"CreationTime" xml:"CreationTime"`
  27. Status string `json:"Status" xml:"Status"`
  28. ImageId string `json:"ImageId" xml:"ImageId"`
  29. ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"`
  30. InstanceResourceType string `json:"InstanceResourceType" xml:"InstanceResourceType"`
  31. SpecName string `json:"SpecName" xml:"SpecName"`
  32. OSName string `json:"OSName" xml:"OSName"`
  33. InnerIpAddress InnerIpAddress `json:"InnerIpAddress" xml:"InnerIpAddress"`
  34. PublicIpAddress PublicIpAddressInDescribeInstances `json:"PublicIpAddress" xml:"PublicIpAddress"`
  35. SystemDisk SystemDisk `json:"SystemDisk" xml:"SystemDisk"`
  36. DataDisk DataDisk `json:"DataDisk" xml:"DataDisk"`
  37. PublicIpAddresses PublicIpAddresses `json:"PublicIpAddresses" xml:"PublicIpAddresses"`
  38. PrivateIpAddresses PrivateIpAddresses `json:"PrivateIpAddresses" xml:"PrivateIpAddresses"`
  39. }