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"`
	AutoReleaseTime         string                               `json:"AutoReleaseTime" xml:"AutoReleaseTime"`
	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"`
	ServiceStatus           string                               `json:"ServiceStatus" xml:"ServiceStatus"`
	StartTime               string                               `json:"StartTime" xml:"StartTime"`
	KeyPairName             string                               `json:"KeyPairName" xml:"KeyPairName"`
	InternetMaxBandwidthIn  int                                  `json:"InternetMaxBandwidthIn" xml:"InternetMaxBandwidthIn"`
	Disk                    int                                  `json:"Disk" xml:"Disk"`
	HostName                string                               `json:"HostName" xml:"HostName"`
	Status                  string                               `json:"Status" xml:"Status"`
	SpotStrategy            string                               `json:"SpotStrategy" xml:"SpotStrategy"`
	SecurityGroupIds        SecurityGroupIdsInDescribeInstances  `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"`
	Tags                    Tags                                 `json:"Tags" xml:"Tags"`
	PublicIpAddresses       PublicIpAddresses                    `json:"PublicIpAddresses" xml:"PublicIpAddresses"`
	NetworkInterfaces       NetworkInterfaces                    `json:"NetworkInterfaces" xml:"NetworkInterfaces"`
	PrivateIpAddresses      PrivateIpAddresses                   `json:"PrivateIpAddresses" xml:"PrivateIpAddresses"`
}
