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 {
	InstanceId              string                             `json:"InstanceId" xml:"InstanceId"`
	InstanceName            string                             `json:"InstanceName" xml:"InstanceName"`
	EnsRegionId             string                             `json:"EnsRegionId" xml:"EnsRegionId"`
	Cpu                     string                             `json:"Cpu" xml:"Cpu"`
	Memory                  int                                `json:"Memory" xml:"Memory"`
	Disk                    int                                `json:"Disk" xml:"Disk"`
	InternetMaxBandwidthIn  int                                `json:"InternetMaxBandwidthIn" xml:"InternetMaxBandwidthIn"`
	InternetMaxBandwidthOut int                                `json:"InternetMaxBandwidthOut" xml:"InternetMaxBandwidthOut"`
	CreationTime            string                             `json:"CreationTime" xml:"CreationTime"`
	Status                  string                             `json:"Status" xml:"Status"`
	ImageId                 string                             `json:"ImageId" xml:"ImageId"`
	ExpiredTime             string                             `json:"ExpiredTime" xml:"ExpiredTime"`
	InstanceResourceType    string                             `json:"InstanceResourceType" xml:"InstanceResourceType"`
	SpecName                string                             `json:"SpecName" xml:"SpecName"`
	OSName                  string                             `json:"OSName" xml:"OSName"`
	InnerIpAddress          InnerIpAddress                     `json:"InnerIpAddress" xml:"InnerIpAddress"`
	PublicIpAddress         PublicIpAddressInDescribeInstances `json:"PublicIpAddress" xml:"PublicIpAddress"`
	SystemDisk              SystemDisk                         `json:"SystemDisk" xml:"SystemDisk"`
	DataDisk                DataDisk                           `json:"DataDisk" xml:"DataDisk"`
	PublicIpAddresses       PublicIpAddresses                  `json:"PublicIpAddresses" xml:"PublicIpAddresses"`
	PrivateIpAddresses      PrivateIpAddresses                 `json:"PrivateIpAddresses" xml:"PrivateIpAddresses"`
}
