struct_instance.go 6.6 KB

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