-
Notifications
You must be signed in to change notification settings - Fork 273
/
struct_instance.go
48 lines (46 loc) · 3.57 KB
/
struct_instance.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package ens
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// 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 ens response
type Instance struct {
SpecName string `json:"SpecName" xml:"SpecName"`
InstanceResourceType string `json:"InstanceResourceType" xml:"InstanceResourceType"`
ImageId string `json:"ImageId" xml:"ImageId"`
OSName string `json:"OSName" xml:"OSName"`
InternetMaxBandwidthOut int `json:"InternetMaxBandwidthOut" xml:"InternetMaxBandwidthOut"`
InstanceTypeFamily string `json:"InstanceTypeFamily" xml:"InstanceTypeFamily"`
InstanceId string `json:"InstanceId" xml:"InstanceId"`
StatusDescrip string `json:"StatusDescrip" xml:"StatusDescrip"`
Cpu string `json:"Cpu" xml:"Cpu"`
ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"`
UpdateTime string `json:"UpdateTime" xml:"UpdateTime"`
Memory int `json:"Memory" xml:"Memory"`
InstanceName string `json:"InstanceName" xml:"InstanceName"`
CreationTime string `json:"CreationTime" xml:"CreationTime"`
EnsRegionId string `json:"EnsRegionId" xml:"EnsRegionId"`
StartTime string `json:"StartTime" xml:"StartTime"`
InternetMaxBandwidthIn int `json:"InternetMaxBandwidthIn" xml:"InternetMaxBandwidthIn"`
Disk int `json:"Disk" xml:"Disk"`
HostName string `json:"HostName" xml:"HostName"`
Status string `json:"Status" xml:"Status"`
SecurityGroupIds SecurityGroupIds `json:"SecurityGroupIds" xml:"SecurityGroupIds"`
InnerIpAddress InnerIpAddress `json:"InnerIpAddress" xml:"InnerIpAddress"`
PublicIpAddress PublicIpAddressInDescribeInstances `json:"PublicIpAddress" xml:"PublicIpAddress"`
SystemDisk SystemDisk `json:"SystemDisk" xml:"SystemDisk"`
NetworkAttributes NetworkAttributesInDescribeInstances `json:"NetworkAttributes" xml:"NetworkAttributes"`
DataDisk DataDisk `json:"DataDisk" xml:"DataDisk"`
PublicIpAddresses PublicIpAddresses `json:"PublicIpAddresses" xml:"PublicIpAddresses"`
PrivateIpAddresses PrivateIpAddresses `json:"PrivateIpAddresses" xml:"PrivateIpAddresses"`
}