struct_instance.go 5.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package ecs
  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 ecs response
  17. type Instance struct {
  18. InstanceId string `json:"InstanceId" xml:"InstanceId"`
  19. InstanceName string `json:"InstanceName" xml:"InstanceName"`
  20. Description string `json:"Description" xml:"Description"`
  21. ImageId string `json:"ImageId" xml:"ImageId"`
  22. OSName string `json:"OSName" xml:"OSName"`
  23. OSType string `json:"OSType" xml:"OSType"`
  24. RegionId string `json:"RegionId" xml:"RegionId"`
  25. ZoneId string `json:"ZoneId" xml:"ZoneId"`
  26. ClusterId string `json:"ClusterId" xml:"ClusterId"`
  27. InstanceType string `json:"InstanceType" xml:"InstanceType"`
  28. Cpu int `json:"Cpu" xml:"Cpu"`
  29. Memory int `json:"Memory" xml:"Memory"`
  30. HostName string `json:"HostName" xml:"HostName"`
  31. Status string `json:"Status" xml:"Status"`
  32. SerialNumber string `json:"SerialNumber" xml:"SerialNumber"`
  33. InternetChargeType string `json:"InternetChargeType" xml:"InternetChargeType"`
  34. InternetMaxBandwidthIn int `json:"InternetMaxBandwidthIn" xml:"InternetMaxBandwidthIn"`
  35. InternetMaxBandwidthOut int `json:"InternetMaxBandwidthOut" xml:"InternetMaxBandwidthOut"`
  36. VlanId string `json:"VlanId" xml:"VlanId"`
  37. CreationTime string `json:"CreationTime" xml:"CreationTime"`
  38. StartTime string `json:"StartTime" xml:"StartTime"`
  39. InstanceNetworkType string `json:"InstanceNetworkType" xml:"InstanceNetworkType"`
  40. InstanceChargeType string `json:"InstanceChargeType" xml:"InstanceChargeType"`
  41. SaleCycle string `json:"SaleCycle" xml:"SaleCycle"`
  42. ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"`
  43. AutoReleaseTime string `json:"AutoReleaseTime" xml:"AutoReleaseTime"`
  44. IoOptimized bool `json:"IoOptimized" xml:"IoOptimized"`
  45. DeviceAvailable bool `json:"DeviceAvailable" xml:"DeviceAvailable"`
  46. InstanceTypeFamily string `json:"InstanceTypeFamily" xml:"InstanceTypeFamily"`
  47. LocalStorageCapacity int `json:"LocalStorageCapacity" xml:"LocalStorageCapacity"`
  48. LocalStorageAmount int `json:"LocalStorageAmount" xml:"LocalStorageAmount"`
  49. GPUAmount int `json:"GPUAmount" xml:"GPUAmount"`
  50. GPUSpec string `json:"GPUSpec" xml:"GPUSpec"`
  51. SpotStrategy string `json:"SpotStrategy" xml:"SpotStrategy"`
  52. SpotPriceLimit float64 `json:"SpotPriceLimit" xml:"SpotPriceLimit"`
  53. ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
  54. KeyPairName string `json:"KeyPairName" xml:"KeyPairName"`
  55. Recyclable bool `json:"Recyclable" xml:"Recyclable"`
  56. HpcClusterId string `json:"HpcClusterId" xml:"HpcClusterId"`
  57. StoppedMode string `json:"StoppedMode" xml:"StoppedMode"`
  58. CreditSpecification string `json:"CreditSpecification" xml:"CreditSpecification"`
  59. SecurityGroupIds SecurityGroupIdsInDescribeInstances `json:"SecurityGroupIds" xml:"SecurityGroupIds"`
  60. PublicIpAddress PublicIpAddressInDescribeInstances `json:"PublicIpAddress" xml:"PublicIpAddress"`
  61. InnerIpAddress InnerIpAddressInDescribeInstances `json:"InnerIpAddress" xml:"InnerIpAddress"`
  62. RdmaIpAddress RdmaIpAddress `json:"RdmaIpAddress" xml:"RdmaIpAddress"`
  63. VpcAttributes VpcAttributes `json:"VpcAttributes" xml:"VpcAttributes"`
  64. EipAddress EipAddress `json:"EipAddress" xml:"EipAddress"`
  65. DedicatedHostAttribute DedicatedHostAttribute `json:"DedicatedHostAttribute" xml:"DedicatedHostAttribute"`
  66. NetworkInterfaces NetworkInterfacesInDescribeInstances `json:"NetworkInterfaces" xml:"NetworkInterfaces"`
  67. OperationLocks OperationLocksInDescribeInstances `json:"OperationLocks" xml:"OperationLocks"`
  68. Tags TagsInDescribeInstances `json:"Tags" xml:"Tags"`
  69. }