|
|
@@ -15,67 +15,64 @@ package ecs
|
|
|
// Code generated by Alibaba Cloud SDK Code Generator.
|
|
|
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
|
|
|
|
-// Instance is a nested struct in ecs response
|
|
|
-type Instance struct {
|
|
|
- ImageId string `json:"ImageId" xml:"ImageId"`
|
|
|
- InstanceType string `json:"InstanceType" xml:"InstanceType"`
|
|
|
- AutoReleaseTime string `json:"AutoReleaseTime" xml:"AutoReleaseTime"`
|
|
|
- OsType string `json:"OsType" xml:"OsType"`
|
|
|
- DeviceAvailable bool `json:"DeviceAvailable" xml:"DeviceAvailable"`
|
|
|
- InstanceNetworkType string `json:"InstanceNetworkType" xml:"InstanceNetworkType"`
|
|
|
- LocalStorageAmount int `json:"LocalStorageAmount" xml:"LocalStorageAmount"`
|
|
|
- NetworkType string `json:"NetworkType" xml:"NetworkType"`
|
|
|
- IsSpot bool `json:"IsSpot" xml:"IsSpot"`
|
|
|
- InstanceChargeType string `json:"InstanceChargeType" xml:"InstanceChargeType"`
|
|
|
- ClusterId string `json:"ClusterId" xml:"ClusterId"`
|
|
|
- InstanceName string `json:"InstanceName" xml:"InstanceName"`
|
|
|
- CreditSpecification string `json:"CreditSpecification" xml:"CreditSpecification"`
|
|
|
- GPUAmount int `json:"GPUAmount" xml:"GPUAmount"`
|
|
|
- StartTime string `json:"StartTime" xml:"StartTime"`
|
|
|
- ZoneId string `json:"ZoneId" xml:"ZoneId"`
|
|
|
- InternetChargeType string `json:"InternetChargeType" xml:"InternetChargeType"`
|
|
|
- InternetMaxBandwidthIn int `json:"InternetMaxBandwidthIn" xml:"InternetMaxBandwidthIn"`
|
|
|
- HostName string `json:"HostName" xml:"HostName"`
|
|
|
- Status string `json:"Status" xml:"Status"`
|
|
|
- CPU int `json:"CPU" xml:"CPU"`
|
|
|
- Cpu int `json:"Cpu" xml:"Cpu"`
|
|
|
- SpotPriceLimit float64 `json:"SpotPriceLimit" xml:"SpotPriceLimit"`
|
|
|
- OSName string `json:"OSName" xml:"OSName"`
|
|
|
- OSNameEn string `json:"OSNameEn" xml:"OSNameEn"`
|
|
|
- SerialNumber string `json:"SerialNumber" xml:"SerialNumber"`
|
|
|
- RegionId string `json:"RegionId" xml:"RegionId"`
|
|
|
- IoOptimized bool `json:"IoOptimized" xml:"IoOptimized"`
|
|
|
- InternetMaxBandwidthOut int `json:"InternetMaxBandwidthOut" xml:"InternetMaxBandwidthOut"`
|
|
|
- ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
|
|
|
- InstanceTypeFamily string `json:"InstanceTypeFamily" xml:"InstanceTypeFamily"`
|
|
|
- InstanceId string `json:"InstanceId" xml:"InstanceId"`
|
|
|
- DeploymentSetId string `json:"DeploymentSetId" xml:"DeploymentSetId"`
|
|
|
- GPUSpec string `json:"GPUSpec" xml:"GPUSpec"`
|
|
|
- Description string `json:"Description" xml:"Description"`
|
|
|
- Recyclable bool `json:"Recyclable" xml:"Recyclable"`
|
|
|
- SaleCycle string `json:"SaleCycle" xml:"SaleCycle"`
|
|
|
- ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"`
|
|
|
- OSType string `json:"OSType" xml:"OSType"`
|
|
|
- Memory int `json:"Memory" xml:"Memory"`
|
|
|
- CreationTime string `json:"CreationTime" xml:"CreationTime"`
|
|
|
- KeyPairName string `json:"KeyPairName" xml:"KeyPairName"`
|
|
|
- HpcClusterId string `json:"HpcClusterId" xml:"HpcClusterId"`
|
|
|
- LocalStorageCapacity int64 `json:"LocalStorageCapacity" xml:"LocalStorageCapacity"`
|
|
|
- VlanId string `json:"VlanId" xml:"VlanId"`
|
|
|
- StoppedMode string `json:"StoppedMode" xml:"StoppedMode"`
|
|
|
- SpotStrategy string `json:"SpotStrategy" xml:"SpotStrategy"`
|
|
|
- DeletionProtection bool `json:"DeletionProtection" xml:"DeletionProtection"`
|
|
|
- SecurityGroupIds SecurityGroupIdsInDescribeInstances `json:"SecurityGroupIds" xml:"SecurityGroupIds"`
|
|
|
- InnerIpAddress InnerIpAddressInDescribeInstances `json:"InnerIpAddress" xml:"InnerIpAddress"`
|
|
|
- PublicIpAddress PublicIpAddressInDescribeInstances `json:"PublicIpAddress" xml:"PublicIpAddress"`
|
|
|
- RdmaIpAddress RdmaIpAddress `json:"RdmaIpAddress" xml:"RdmaIpAddress"`
|
|
|
- EipAddress EipAddressInDescribeInstances `json:"EipAddress" xml:"EipAddress"`
|
|
|
- CpuOptions CpuOptions `json:"CpuOptions" xml:"CpuOptions"`
|
|
|
- EcsCapacityReservationAttr EcsCapacityReservationAttr `json:"EcsCapacityReservationAttr" xml:"EcsCapacityReservationAttr"`
|
|
|
- DedicatedHostAttribute DedicatedHostAttribute `json:"DedicatedHostAttribute" xml:"DedicatedHostAttribute"`
|
|
|
- DedicatedInstanceAttribute DedicatedInstanceAttribute `json:"DedicatedInstanceAttribute" xml:"DedicatedInstanceAttribute"`
|
|
|
- VpcAttributes VpcAttributes `json:"VpcAttributes" xml:"VpcAttributes"`
|
|
|
- NetworkInterfaces NetworkInterfacesInDescribeInstances `json:"NetworkInterfaces" xml:"NetworkInterfaces"`
|
|
|
- OperationLocks OperationLocksInDescribeInstances `json:"OperationLocks" xml:"OperationLocks"`
|
|
|
- Tags TagsInDescribeInstances `json:"Tags" xml:"Tags"`
|
|
|
+// InstanceInDescribeInstances is a nested struct in ecs response
|
|
|
+type InstanceInDescribeInstances struct {
|
|
|
+ InstanceId string `json:"InstanceId" xml:"InstanceId"`
|
|
|
+ InstanceName string `json:"InstanceName" xml:"InstanceName"`
|
|
|
+ Description string `json:"Description" xml:"Description"`
|
|
|
+ ImageId string `json:"ImageId" xml:"ImageId"`
|
|
|
+ OSName string `json:"OSName" xml:"OSName"`
|
|
|
+ OSNameEn string `json:"OSNameEn" xml:"OSNameEn"`
|
|
|
+ OSType string `json:"OSType" xml:"OSType"`
|
|
|
+ RegionId string `json:"RegionId" xml:"RegionId"`
|
|
|
+ ZoneId string `json:"ZoneId" xml:"ZoneId"`
|
|
|
+ ClusterId string `json:"ClusterId" xml:"ClusterId"`
|
|
|
+ InstanceType string `json:"InstanceType" xml:"InstanceType"`
|
|
|
+ Cpu int `json:"Cpu" xml:"Cpu"`
|
|
|
+ Memory int `json:"Memory" xml:"Memory"`
|
|
|
+ HostName string `json:"HostName" xml:"HostName"`
|
|
|
+ DeploymentSetId string `json:"DeploymentSetId" xml:"DeploymentSetId"`
|
|
|
+ Status string `json:"Status" xml:"Status"`
|
|
|
+ SerialNumber string `json:"SerialNumber" xml:"SerialNumber"`
|
|
|
+ InternetChargeType string `json:"InternetChargeType" xml:"InternetChargeType"`
|
|
|
+ InternetMaxBandwidthIn int `json:"InternetMaxBandwidthIn" xml:"InternetMaxBandwidthIn"`
|
|
|
+ InternetMaxBandwidthOut int `json:"InternetMaxBandwidthOut" xml:"InternetMaxBandwidthOut"`
|
|
|
+ VlanId string `json:"VlanId" xml:"VlanId"`
|
|
|
+ CreationTime string `json:"CreationTime" xml:"CreationTime"`
|
|
|
+ StartTime string `json:"StartTime" xml:"StartTime"`
|
|
|
+ InstanceNetworkType string `json:"InstanceNetworkType" xml:"InstanceNetworkType"`
|
|
|
+ InstanceChargeType string `json:"InstanceChargeType" xml:"InstanceChargeType"`
|
|
|
+ SaleCycle string `json:"SaleCycle" xml:"SaleCycle"`
|
|
|
+ ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"`
|
|
|
+ AutoReleaseTime string `json:"AutoReleaseTime" xml:"AutoReleaseTime"`
|
|
|
+ IoOptimized bool `json:"IoOptimized" xml:"IoOptimized"`
|
|
|
+ DeviceAvailable bool `json:"DeviceAvailable" xml:"DeviceAvailable"`
|
|
|
+ InstanceTypeFamily string `json:"InstanceTypeFamily" xml:"InstanceTypeFamily"`
|
|
|
+ LocalStorageCapacity int64 `json:"LocalStorageCapacity" xml:"LocalStorageCapacity"`
|
|
|
+ LocalStorageAmount int `json:"LocalStorageAmount" xml:"LocalStorageAmount"`
|
|
|
+ GPUAmount int `json:"GPUAmount" xml:"GPUAmount"`
|
|
|
+ GPUSpec string `json:"GPUSpec" xml:"GPUSpec"`
|
|
|
+ SpotStrategy string `json:"SpotStrategy" xml:"SpotStrategy"`
|
|
|
+ SpotPriceLimit float64 `json:"SpotPriceLimit" xml:"SpotPriceLimit"`
|
|
|
+ ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
|
|
|
+ KeyPairName string `json:"KeyPairName" xml:"KeyPairName"`
|
|
|
+ Recyclable bool `json:"Recyclable" xml:"Recyclable"`
|
|
|
+ HpcClusterId string `json:"HpcClusterId" xml:"HpcClusterId"`
|
|
|
+ StoppedMode string `json:"StoppedMode" xml:"StoppedMode"`
|
|
|
+ CreditSpecification string `json:"CreditSpecification" xml:"CreditSpecification"`
|
|
|
+ DeletionProtection bool `json:"DeletionProtection" xml:"DeletionProtection"`
|
|
|
+ SecurityGroupIds SecurityGroupIdsInDescribeInstances `json:"SecurityGroupIds" xml:"SecurityGroupIds"`
|
|
|
+ PublicIpAddress PublicIpAddressInDescribeInstances `json:"PublicIpAddress" xml:"PublicIpAddress"`
|
|
|
+ InnerIpAddress InnerIpAddressInDescribeInstances `json:"InnerIpAddress" xml:"InnerIpAddress"`
|
|
|
+ RdmaIpAddress RdmaIpAddress `json:"RdmaIpAddress" xml:"RdmaIpAddress"`
|
|
|
+ VpcAttributes VpcAttributesInDescribeInstances `json:"VpcAttributes" xml:"VpcAttributes"`
|
|
|
+ EipAddress EipAddressInDescribeInstances `json:"EipAddress" xml:"EipAddress"`
|
|
|
+ DedicatedHostAttribute DedicatedHostAttributeInDescribeInstances `json:"DedicatedHostAttribute" xml:"DedicatedHostAttribute"`
|
|
|
+ EcsCapacityReservationAttr EcsCapacityReservationAttr `json:"EcsCapacityReservationAttr" xml:"EcsCapacityReservationAttr"`
|
|
|
+ DedicatedInstanceAttribute DedicatedInstanceAttribute `json:"DedicatedInstanceAttribute" xml:"DedicatedInstanceAttribute"`
|
|
|
+ CpuOptions CpuOptions `json:"CpuOptions" xml:"CpuOptions"`
|
|
|
+ MetadataOptions MetadataOptions `json:"MetadataOptions" xml:"MetadataOptions"`
|
|
|
+ NetworkInterfaces NetworkInterfacesInDescribeInstances `json:"NetworkInterfaces" xml:"NetworkInterfaces"`
|
|
|
+ OperationLocks OperationLocksInDescribeInstances `json:"OperationLocks" xml:"OperationLocks"`
|
|
|
+ Tags TagsInDescribeInstances `json:"Tags" xml:"Tags"`
|
|
|
}
|