struct_instance.go 6.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. SerialNumber string `json:"SerialNumber" xml:"SerialNumber"`
  39. RegionId string `json:"RegionId" xml:"RegionId"`
  40. InternetMaxBandwidthOut int `json:"InternetMaxBandwidthOut" xml:"InternetMaxBandwidthOut"`
  41. IoOptimized bool `json:"IoOptimized" xml:"IoOptimized"`
  42. ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
  43. InstanceTypeFamily string `json:"InstanceTypeFamily" xml:"InstanceTypeFamily"`
  44. InstanceId string `json:"InstanceId" xml:"InstanceId"`
  45. DeploymentSetId string `json:"DeploymentSetId" xml:"DeploymentSetId"`
  46. GPUSpec string `json:"GPUSpec" xml:"GPUSpec"`
  47. Description string `json:"Description" xml:"Description"`
  48. Recyclable bool `json:"Recyclable" xml:"Recyclable"`
  49. SaleCycle string `json:"SaleCycle" xml:"SaleCycle"`
  50. ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"`
  51. OSType string `json:"OSType" xml:"OSType"`
  52. Memory int `json:"Memory" xml:"Memory"`
  53. CreationTime string `json:"CreationTime" xml:"CreationTime"`
  54. KeyPairName string `json:"KeyPairName" xml:"KeyPairName"`
  55. HpcClusterId string `json:"HpcClusterId" xml:"HpcClusterId"`
  56. LocalStorageCapacity int `json:"LocalStorageCapacity" xml:"LocalStorageCapacity"`
  57. VlanId string `json:"VlanId" xml:"VlanId"`
  58. StoppedMode string `json:"StoppedMode" xml:"StoppedMode"`
  59. SpotStrategy string `json:"SpotStrategy" xml:"SpotStrategy"`
  60. DeletionProtection bool `json:"DeletionProtection" xml:"DeletionProtection"`
  61. SecurityGroupIds SecurityGroupIdsInDescribeInstances `json:"SecurityGroupIds" xml:"SecurityGroupIds"`
  62. InnerIpAddress InnerIpAddressInDescribeInstances `json:"InnerIpAddress" xml:"InnerIpAddress"`
  63. PublicIpAddress PublicIpAddressInDescribeInstances `json:"PublicIpAddress" xml:"PublicIpAddress"`
  64. RdmaIpAddress RdmaIpAddress `json:"RdmaIpAddress" xml:"RdmaIpAddress"`
  65. EipAddress EipAddress `json:"EipAddress" xml:"EipAddress"`
  66. EcsCapacityReservationAttr EcsCapacityReservationAttr `json:"EcsCapacityReservationAttr" xml:"EcsCapacityReservationAttr"`
  67. DedicatedHostAttribute DedicatedHostAttribute `json:"DedicatedHostAttribute" xml:"DedicatedHostAttribute"`
  68. VpcAttributes VpcAttributes `json:"VpcAttributes" xml:"VpcAttributes"`
  69. NetworkInterfaces NetworkInterfacesInDescribeInstances `json:"NetworkInterfaces" xml:"NetworkInterfaces"`
  70. OperationLocks OperationLocksInDescribeInstances `json:"OperationLocks" xml:"OperationLocks"`
  71. Tags TagsInDescribeInstances `json:"Tags" xml:"Tags"`
  72. }