Browse Source

Generated 2014-05-26 for Ecs.

sdk-team 5 năm trước cách đây
mục cha
commit
a336b507e6
100 tập tin đã thay đổi với 1195 bổ sung412 xóa
  1. 4 0
      ChangeLog.txt
  2. 14 7
      services/ecs/create_auto_snapshot_policy.go
  3. 3 0
      services/ecs/create_instance.go
  4. 2 2
      services/ecs/create_network_interface_permission.go
  5. 14 7
      services/ecs/describe_auto_snapshot_policy_ex.go
  6. 2 2
      services/ecs/describe_image_from_family.go
  7. 32 32
      services/ecs/describe_instance_attribute.go
  8. 45 41
      services/ecs/describe_instances.go
  9. 2 2
      services/ecs/describe_invocation_results.go
  10. 1 0
      services/ecs/describe_network_interfaces.go
  11. 2 2
      services/ecs/describe_price.go
  12. 2 2
      services/ecs/describe_renewal_price.go
  13. 109 0
      services/ecs/modify_instance_metadata_options.go
  14. 3 0
      services/ecs/run_instances.go
  15. 2 2
      services/ecs/struct_associated_public_ip_in_describe_network_interfaces.go
  16. 11 10
      services/ecs/struct_auto_snapshot_policy.go
  17. 2 2
      services/ecs/struct_available_resource_in_describe_available_resource.go
  18. 22 0
      services/ecs/struct_available_resource_in_describe_resources_modification.go
  19. 1 1
      services/ecs/struct_available_resources_in_describe_available_resource.go
  20. 1 1
      services/ecs/struct_available_resources_in_describe_resources_modification.go
  21. 3 3
      services/ecs/struct_available_zone_in_describe_available_resource.go
  22. 25 0
      services/ecs/struct_available_zone_in_describe_resources_modification.go
  23. 1 1
      services/ecs/struct_available_zones_in_describe_available_resource.go
  24. 1 1
      services/ecs/struct_available_zones_in_describe_resources_modification.go
  25. 22 0
      services/ecs/struct_dedicated_host_attribute_in_describe_instance_attribute.go
  26. 3 3
      services/ecs/struct_dedicated_host_attribute_in_describe_instances.go
  27. 1 1
      services/ecs/struct_detail_infos_in_describe_price.go
  28. 1 1
      services/ecs/struct_detail_infos_in_describe_renewal_price.go
  29. 27 0
      services/ecs/struct_disk_device_mapping_in_describe_image_from_family.go
  30. 9 9
      services/ecs/struct_disk_device_mapping_in_describe_images.go
  31. 1 1
      services/ecs/struct_disk_device_mappings_in_describe_image_from_family.go
  32. 1 1
      services/ecs/struct_disk_device_mappings_in_describe_images.go
  33. 4 4
      services/ecs/struct_disk_event_type.go
  34. 6 6
      services/ecs/struct_disk_full_status_type.go
  35. 29 29
      services/ecs/struct_disk_in_describe_disks.go
  36. 28 0
      services/ecs/struct_disk_in_describe_storage_set_details.go
  37. 1 1
      services/ecs/struct_disks_in_describe_disks.go
  38. 1 1
      services/ecs/struct_disks_in_describe_storage_set_details.go
  39. 9 9
      services/ecs/struct_eip_address_in_describe_eip_addresses.go
  40. 1 1
      services/ecs/struct_eip_addresses.go
  41. 6 6
      services/ecs/struct_eip_monitor_data_in_describe_eip_monitor_data.go
  42. 26 0
      services/ecs/struct_eip_monitor_data_in_describe_new_project_eip_monitor_data.go
  43. 1 1
      services/ecs/struct_eip_monitor_datas_in_describe_eip_monitor_data.go
  44. 1 1
      services/ecs/struct_eip_monitor_datas_in_describe_new_project_eip_monitor_data.go
  45. 22 0
      services/ecs/struct_event_cycle_status_in_describe_instance_history_events.go
  46. 22 0
      services/ecs/struct_event_cycle_status_in_describe_instances_full_status.go
  47. 3 3
      services/ecs/struct_event_type_in_describe_disks_full_status.go
  48. 22 0
      services/ecs/struct_event_type_in_describe_instance_history_events.go
  49. 22 0
      services/ecs/struct_event_type_in_describe_instances_full_status.go
  50. 3 3
      services/ecs/struct_extended_attribute_in_describe_instance_history_events.go
  51. 23 0
      services/ecs/struct_extended_attribute_in_describe_instances_full_status.go
  52. 3 3
      services/ecs/struct_health_status_in_describe_disks_full_status.go
  53. 22 0
      services/ecs/struct_health_status_in_describe_instances_full_status.go
  54. 43 0
      services/ecs/struct_image_in_describe_image_from_family.go
  55. 18 18
      services/ecs/struct_image_in_describe_images.go
  56. 1 1
      services/ecs/struct_images.go
  57. 25 0
      services/ecs/struct_inactive_disk_in_describe_instance_history_events.go
  58. 4 4
      services/ecs/struct_inactive_disk_in_describe_instances_full_status.go
  59. 1 1
      services/ecs/struct_inactive_disks_in_describe_instance_history_events.go
  60. 1 1
      services/ecs/struct_inactive_disks_in_describe_instances_full_status.go
  61. 4 4
      services/ecs/struct_instance_full_status_type.go
  62. 32 0
      services/ecs/struct_instance_in_describe_auto_provisioning_group_instances.go
  63. 22 0
      services/ecs/struct_instance_in_describe_dedicated_hosts.go
  64. 60 63
      services/ecs/struct_instance_in_describe_instances.go
  65. 22 0
      services/ecs/struct_instance_ram_role_set_in_describe_instance_ram_role.go
  66. 2 2
      services/ecs/struct_instance_ram_role_set_in_detach_instance_ram_role.go
  67. 1 1
      services/ecs/struct_instance_ram_role_sets_in_describe_instance_ram_role.go
  68. 1 1
      services/ecs/struct_instance_ram_role_sets_in_detach_instance_ram_role.go
  69. 9 9
      services/ecs/struct_instance_system_event_type.go
  70. 24 0
      services/ecs/struct_instance_type_in_describe_image_support_instance_types.go
  71. 16 20
      services/ecs/struct_instance_type_in_describe_instance_types.go
  72. 26 0
      services/ecs/struct_instance_type_in_describe_recommend_instance_type.go
  73. 1 1
      services/ecs/struct_instance_types_in_describe_image_support_instance_types.go
  74. 1 1
      services/ecs/struct_instance_types_in_describe_instance_types.go
  75. 1 1
      services/ecs/struct_instances_in_describe_auto_provisioning_group_instances.go
  76. 1 1
      services/ecs/struct_instances_in_describe_dedicated_hosts.go
  77. 1 1
      services/ecs/struct_instances_in_describe_instances.go
  78. 0 35
      services/ecs/struct_invocation.go
  79. 24 0
      services/ecs/struct_invocation_in_describe_invocation_results.go
  80. 31 0
      services/ecs/struct_invocation_in_describe_invocations.go
  81. 1 1
      services/ecs/struct_invocations.go
  82. 21 0
      services/ecs/struct_lock_reason_in_describe_eip_addresses.go
  83. 21 0
      services/ecs/struct_lock_reason_in_describe_instance_attribute.go
  84. 2 2
      services/ecs/struct_lock_reason_in_describe_instances.go
  85. 23 0
      services/ecs/struct_metadata_options.go
  86. 23 0
      services/ecs/struct_network_interface_in_describe_instances.go
  87. 5 7
      services/ecs/struct_network_interface_in_describe_launch_template_versions.go
  88. 4 4
      services/ecs/struct_network_interface_permission_in_create_network_interface_permission.go
  89. 26 0
      services/ecs/struct_network_interface_permission_in_describe_network_interface_permissions.go
  90. 1 1
      services/ecs/struct_network_interface_permissions.go
  91. 22 22
      services/ecs/struct_network_interface_set.go
  92. 1 1
      services/ecs/struct_network_interfaces_in_describe_instances.go
  93. 1 1
      services/ecs/struct_network_interfaces_in_describe_launch_template_versions.go
  94. 21 0
      services/ecs/struct_operation_lock_in_describe_dedicated_hosts.go
  95. 2 2
      services/ecs/struct_operation_lock_in_describe_disks.go
  96. 21 0
      services/ecs/struct_operation_lock_in_describe_reserved_instances.go
  97. 1 1
      services/ecs/struct_operation_locks_in_describe_dedicated_hosts.go
  98. 1 1
      services/ecs/struct_operation_locks_in_describe_disks.go
  99. 1 1
      services/ecs/struct_operation_locks_in_describe_eip_addresses.go
  100. 1 1
      services/ecs/struct_operation_locks_in_describe_instance_attribute.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2020-03-24 Version: v1.61.76
+- Generated 2014-05-26 for `Ecs`.
+- DescribeInstanceTypes Supports EniIpv6AddressQuantity.
+
 2020-03-24 Version: v1.61.75
 - Generated 2019-09-01 for `ahas-openapi`.
 

+ 14 - 7
services/ecs/create_auto_snapshot_policy.go

@@ -76,13 +76,20 @@ func (client *Client) CreateAutoSnapshotPolicyWithCallback(request *CreateAutoSn
 // CreateAutoSnapshotPolicyRequest is the request struct for api CreateAutoSnapshotPolicy
 type CreateAutoSnapshotPolicyRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId        requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	TimePoints             string           `position:"Query" name:"timePoints"`
-	RepeatWeekdays         string           `position:"Query" name:"repeatWeekdays"`
-	ResourceOwnerAccount   string           `position:"Query" name:"ResourceOwnerAccount"`
-	OwnerId                requests.Integer `position:"Query" name:"OwnerId"`
-	AutoSnapshotPolicyName string           `position:"Query" name:"autoSnapshotPolicyName"`
-	RetentionDays          requests.Integer `position:"Query" name:"retentionDays"`
+	ResourceOwnerId        requests.Integer               `position:"Query" name:"ResourceOwnerId"`
+	TimePoints             string                         `position:"Query" name:"timePoints"`
+	RepeatWeekdays         string                         `position:"Query" name:"repeatWeekdays"`
+	Tag                    *[]CreateAutoSnapshotPolicyTag `position:"Query" name:"Tag"  type:"Repeated"`
+	ResourceOwnerAccount   string                         `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId                requests.Integer               `position:"Query" name:"OwnerId"`
+	AutoSnapshotPolicyName string                         `position:"Query" name:"autoSnapshotPolicyName"`
+	RetentionDays          requests.Integer               `position:"Query" name:"retentionDays"`
+}
+
+// CreateAutoSnapshotPolicyTag is a repeated param struct in CreateAutoSnapshotPolicyRequest
+type CreateAutoSnapshotPolicyTag struct {
+	Value string `name:"Value"`
+	Key   string `name:"Key"`
 }
 
 // CreateAutoSnapshotPolicyResponse is the response struct for api CreateAutoSnapshotPolicy

+ 3 - 0
services/ecs/create_instance.go

@@ -78,6 +78,7 @@ type CreateInstanceRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId               requests.Integer          `position:"Query" name:"ResourceOwnerId"`
 	HpcClusterId                  string                    `position:"Query" name:"HpcClusterId"`
+	HttpPutResponseHopLimit       requests.Integer          `position:"Query" name:"HttpPutResponseHopLimit"`
 	SecurityEnhancementStrategy   string                    `position:"Query" name:"SecurityEnhancementStrategy"`
 	KeyPairName                   string                    `position:"Query" name:"KeyPairName"`
 	SpotPriceLimit                requests.Float            `position:"Query" name:"SpotPriceLimit"`
@@ -117,6 +118,7 @@ type CreateInstanceRequest struct {
 	SystemDiskPerformanceLevel    string                    `position:"Query" name:"SystemDisk.PerformanceLevel"`
 	UserData                      string                    `position:"Query" name:"UserData"`
 	PasswordInherit               requests.Boolean          `position:"Query" name:"PasswordInherit"`
+	HttpEndpoint                  string                    `position:"Query" name:"HttpEndpoint"`
 	InstanceType                  string                    `position:"Query" name:"InstanceType"`
 	Arn                           *[]CreateInstanceArn      `position:"Query" name:"Arn"  type:"Repeated"`
 	InstanceChargeType            string                    `position:"Query" name:"InstanceChargeType"`
@@ -135,6 +137,7 @@ type CreateInstanceRequest struct {
 	StorageSetId                  string                    `position:"Query" name:"StorageSetId"`
 	SystemDiskSize                requests.Integer          `position:"Query" name:"SystemDisk.Size"`
 	ImageFamily                   string                    `position:"Query" name:"ImageFamily"`
+	HttpTokens                    string                    `position:"Query" name:"HttpTokens"`
 	SystemDiskDescription         string                    `position:"Query" name:"SystemDisk.Description"`
 }
 

+ 2 - 2
services/ecs/create_network_interface_permission.go

@@ -88,8 +88,8 @@ type CreateNetworkInterfacePermissionRequest struct {
 // CreateNetworkInterfacePermissionResponse is the response struct for api CreateNetworkInterfacePermission
 type CreateNetworkInterfacePermissionResponse struct {
 	*responses.BaseResponse
-	RequestId                  string                     `json:"RequestId" xml:"RequestId"`
-	NetworkInterfacePermission NetworkInterfacePermission `json:"NetworkInterfacePermission" xml:"NetworkInterfacePermission"`
+	RequestId                  string                                                       `json:"RequestId" xml:"RequestId"`
+	NetworkInterfacePermission NetworkInterfacePermissionInCreateNetworkInterfacePermission `json:"NetworkInterfacePermission" xml:"NetworkInterfacePermission"`
 }
 
 // CreateCreateNetworkInterfacePermissionRequest creates a request to invoke CreateNetworkInterfacePermission API

+ 14 - 7
services/ecs/describe_auto_snapshot_policy_ex.go

@@ -76,13 +76,20 @@ func (client *Client) DescribeAutoSnapshotPolicyExWithCallback(request *Describe
 // DescribeAutoSnapshotPolicyExRequest is the request struct for api DescribeAutoSnapshotPolicyEx
 type DescribeAutoSnapshotPolicyExRequest struct {
 	*requests.RpcRequest
-	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	AutoSnapshotPolicyId string           `position:"Query" name:"AutoSnapshotPolicyId"`
-	PageNumber           requests.Integer `position:"Query" name:"PageNumber"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	ResourceOwnerId      requests.Integer                   `position:"Query" name:"ResourceOwnerId"`
+	AutoSnapshotPolicyId string                             `position:"Query" name:"AutoSnapshotPolicyId"`
+	PageNumber           requests.Integer                   `position:"Query" name:"PageNumber"`
+	PageSize             requests.Integer                   `position:"Query" name:"PageSize"`
+	Tag                  *[]DescribeAutoSnapshotPolicyExTag `position:"Query" name:"Tag"  type:"Repeated"`
+	ResourceOwnerAccount string                             `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string                             `position:"Query" name:"OwnerAccount"`
+	OwnerId              requests.Integer                   `position:"Query" name:"OwnerId"`
+}
+
+// DescribeAutoSnapshotPolicyExTag is a repeated param struct in DescribeAutoSnapshotPolicyExRequest
+type DescribeAutoSnapshotPolicyExTag struct {
+	Value string `name:"Value"`
+	Key   string `name:"Key"`
 }
 
 // DescribeAutoSnapshotPolicyExResponse is the response struct for api DescribeAutoSnapshotPolicyEx

+ 2 - 2
services/ecs/describe_image_from_family.go

@@ -86,8 +86,8 @@ type DescribeImageFromFamilyRequest struct {
 // DescribeImageFromFamilyResponse is the response struct for api DescribeImageFromFamily
 type DescribeImageFromFamilyResponse struct {
 	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Image     Image  `json:"Image" xml:"Image"`
+	RequestId string                         `json:"RequestId" xml:"RequestId"`
+	Image     ImageInDescribeImageFromFamily `json:"Image" xml:"Image"`
 }
 
 // CreateDescribeImageFromFamilyRequest creates a request to invoke DescribeImageFromFamily API

+ 32 - 32
services/ecs/describe_instance_attribute.go

@@ -86,38 +86,38 @@ type DescribeInstanceAttributeRequest struct {
 // DescribeInstanceAttributeResponse is the response struct for api DescribeInstanceAttribute
 type DescribeInstanceAttributeResponse struct {
 	*responses.BaseResponse
-	RequestId               string                                      `json:"RequestId" xml:"RequestId"`
-	InstanceId              string                                      `json:"InstanceId" xml:"InstanceId"`
-	InstanceName            string                                      `json:"InstanceName" xml:"InstanceName"`
-	ImageId                 string                                      `json:"ImageId" xml:"ImageId"`
-	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"`
-	Status                  string                                      `json:"Status" xml:"Status"`
-	InternetChargeType      string                                      `json:"InternetChargeType" xml:"InternetChargeType"`
-	InternetMaxBandwidthIn  int                                         `json:"InternetMaxBandwidthIn" xml:"InternetMaxBandwidthIn"`
-	InternetMaxBandwidthOut int                                         `json:"InternetMaxBandwidthOut" xml:"InternetMaxBandwidthOut"`
-	VlanId                  string                                      `json:"VlanId" xml:"VlanId"`
-	SerialNumber            string                                      `json:"SerialNumber" xml:"SerialNumber"`
-	CreationTime            string                                      `json:"CreationTime" xml:"CreationTime"`
-	Description             string                                      `json:"Description" xml:"Description"`
-	InstanceNetworkType     string                                      `json:"InstanceNetworkType" xml:"InstanceNetworkType"`
-	IoOptimized             string                                      `json:"IoOptimized" xml:"IoOptimized"`
-	InstanceChargeType      string                                      `json:"InstanceChargeType" xml:"InstanceChargeType"`
-	ExpiredTime             string                                      `json:"ExpiredTime" xml:"ExpiredTime"`
-	StoppedMode             string                                      `json:"StoppedMode" xml:"StoppedMode"`
-	CreditSpecification     string                                      `json:"CreditSpecification" xml:"CreditSpecification"`
-	SecurityGroupIds        SecurityGroupIdsInDescribeInstanceAttribute `json:"SecurityGroupIds" xml:"SecurityGroupIds"`
-	PublicIpAddress         PublicIpAddressInDescribeInstanceAttribute  `json:"PublicIpAddress" xml:"PublicIpAddress"`
-	InnerIpAddress          InnerIpAddressInDescribeInstanceAttribute   `json:"InnerIpAddress" xml:"InnerIpAddress"`
-	VpcAttributes           VpcAttributes                               `json:"VpcAttributes" xml:"VpcAttributes"`
-	EipAddress              EipAddressInDescribeInstanceAttribute       `json:"EipAddress" xml:"EipAddress"`
-	DedicatedHostAttribute  DedicatedHostAttribute                      `json:"DedicatedHostAttribute" xml:"DedicatedHostAttribute"`
-	OperationLocks          OperationLocksInDescribeInstanceAttribute   `json:"OperationLocks" xml:"OperationLocks"`
+	RequestId               string                                            `json:"RequestId" xml:"RequestId"`
+	InstanceId              string                                            `json:"InstanceId" xml:"InstanceId"`
+	InstanceName            string                                            `json:"InstanceName" xml:"InstanceName"`
+	ImageId                 string                                            `json:"ImageId" xml:"ImageId"`
+	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"`
+	Status                  string                                            `json:"Status" xml:"Status"`
+	InternetChargeType      string                                            `json:"InternetChargeType" xml:"InternetChargeType"`
+	InternetMaxBandwidthIn  int                                               `json:"InternetMaxBandwidthIn" xml:"InternetMaxBandwidthIn"`
+	InternetMaxBandwidthOut int                                               `json:"InternetMaxBandwidthOut" xml:"InternetMaxBandwidthOut"`
+	VlanId                  string                                            `json:"VlanId" xml:"VlanId"`
+	SerialNumber            string                                            `json:"SerialNumber" xml:"SerialNumber"`
+	CreationTime            string                                            `json:"CreationTime" xml:"CreationTime"`
+	Description             string                                            `json:"Description" xml:"Description"`
+	InstanceNetworkType     string                                            `json:"InstanceNetworkType" xml:"InstanceNetworkType"`
+	IoOptimized             string                                            `json:"IoOptimized" xml:"IoOptimized"`
+	InstanceChargeType      string                                            `json:"InstanceChargeType" xml:"InstanceChargeType"`
+	ExpiredTime             string                                            `json:"ExpiredTime" xml:"ExpiredTime"`
+	StoppedMode             string                                            `json:"StoppedMode" xml:"StoppedMode"`
+	CreditSpecification     string                                            `json:"CreditSpecification" xml:"CreditSpecification"`
+	SecurityGroupIds        SecurityGroupIdsInDescribeInstanceAttribute       `json:"SecurityGroupIds" xml:"SecurityGroupIds"`
+	PublicIpAddress         PublicIpAddressInDescribeInstanceAttribute        `json:"PublicIpAddress" xml:"PublicIpAddress"`
+	InnerIpAddress          InnerIpAddressInDescribeInstanceAttribute         `json:"InnerIpAddress" xml:"InnerIpAddress"`
+	VpcAttributes           VpcAttributesInDescribeInstanceAttribute          `json:"VpcAttributes" xml:"VpcAttributes"`
+	EipAddress              EipAddressInDescribeInstanceAttribute             `json:"EipAddress" xml:"EipAddress"`
+	DedicatedHostAttribute  DedicatedHostAttributeInDescribeInstanceAttribute `json:"DedicatedHostAttribute" xml:"DedicatedHostAttribute"`
+	OperationLocks          OperationLocksInDescribeInstanceAttribute         `json:"OperationLocks" xml:"OperationLocks"`
 }
 
 // CreateDescribeInstanceAttributeRequest creates a request to invoke DescribeInstanceAttribute API

+ 45 - 41
services/ecs/describe_instances.go

@@ -76,47 +76,51 @@ func (client *Client) DescribeInstancesWithCallback(request *DescribeInstancesRe
 // DescribeInstancesRequest is the request struct for api DescribeInstances
 type DescribeInstancesRequest struct {
 	*requests.RpcRequest
-	InnerIpAddresses     string                  `position:"Query" name:"InnerIpAddresses"`
-	ResourceOwnerId      requests.Integer        `position:"Query" name:"ResourceOwnerId"`
-	PrivateIpAddresses   string                  `position:"Query" name:"PrivateIpAddresses"`
-	HpcClusterId         string                  `position:"Query" name:"HpcClusterId"`
-	Filter2Value         string                  `position:"Query" name:"Filter.2.Value"`
-	KeyPairName          string                  `position:"Query" name:"KeyPairName"`
-	ResourceGroupId      string                  `position:"Query" name:"ResourceGroupId"`
-	LockReason           string                  `position:"Query" name:"LockReason"`
-	Filter1Key           string                  `position:"Query" name:"Filter.1.Key"`
-	DeviceAvailable      requests.Boolean        `position:"Query" name:"DeviceAvailable"`
-	Tag                  *[]DescribeInstancesTag `position:"Query" name:"Tag"  type:"Repeated"`
-	Filter3Value         string                  `position:"Query" name:"Filter.3.Value"`
-	DryRun               requests.Boolean        `position:"Query" name:"DryRun"`
-	Filter1Value         string                  `position:"Query" name:"Filter.1.Value"`
-	NeedSaleCycle        requests.Boolean        `position:"Query" name:"NeedSaleCycle"`
-	OwnerId              requests.Integer        `position:"Query" name:"OwnerId"`
-	VSwitchId            string                  `position:"Query" name:"VSwitchId"`
-	InstanceName         string                  `position:"Query" name:"InstanceName"`
-	InstanceIds          string                  `position:"Query" name:"InstanceIds"`
-	InternetChargeType   string                  `position:"Query" name:"InternetChargeType"`
-	ZoneId               string                  `position:"Query" name:"ZoneId"`
-	InstanceNetworkType  string                  `position:"Query" name:"InstanceNetworkType"`
-	Status               string                  `position:"Query" name:"Status"`
-	ImageId              string                  `position:"Query" name:"ImageId"`
-	Filter4Value         string                  `position:"Query" name:"Filter.4.Value"`
-	IoOptimized          requests.Boolean        `position:"Query" name:"IoOptimized"`
-	SecurityGroupId      string                  `position:"Query" name:"SecurityGroupId"`
-	Filter4Key           string                  `position:"Query" name:"Filter.4.Key"`
-	PageNumber           requests.Integer        `position:"Query" name:"PageNumber"`
-	RdmaIpAddresses      string                  `position:"Query" name:"RdmaIpAddresses"`
-	PageSize             requests.Integer        `position:"Query" name:"PageSize"`
-	PublicIpAddresses    string                  `position:"Query" name:"PublicIpAddresses"`
-	InstanceType         string                  `position:"Query" name:"InstanceType"`
-	InstanceChargeType   string                  `position:"Query" name:"InstanceChargeType"`
-	ResourceOwnerAccount string                  `position:"Query" name:"ResourceOwnerAccount"`
-	OwnerAccount         string                  `position:"Query" name:"OwnerAccount"`
-	InstanceTypeFamily   string                  `position:"Query" name:"InstanceTypeFamily"`
-	Filter2Key           string                  `position:"Query" name:"Filter.2.Key"`
-	EipAddresses         string                  `position:"Query" name:"EipAddresses"`
-	VpcId                string                  `position:"Query" name:"VpcId"`
-	Filter3Key           string                  `position:"Query" name:"Filter.3.Key"`
+	InnerIpAddresses        string                  `position:"Query" name:"InnerIpAddresses"`
+	ResourceOwnerId         requests.Integer        `position:"Query" name:"ResourceOwnerId"`
+	PrivateIpAddresses      string                  `position:"Query" name:"PrivateIpAddresses"`
+	HpcClusterId            string                  `position:"Query" name:"HpcClusterId"`
+	HttpPutResponseHopLimit requests.Integer        `position:"Query" name:"HttpPutResponseHopLimit"`
+	Filter2Value            string                  `position:"Query" name:"Filter.2.Value"`
+	KeyPairName             string                  `position:"Query" name:"KeyPairName"`
+	ResourceGroupId         string                  `position:"Query" name:"ResourceGroupId"`
+	LockReason              string                  `position:"Query" name:"LockReason"`
+	Filter1Key              string                  `position:"Query" name:"Filter.1.Key"`
+	DeviceAvailable         requests.Boolean        `position:"Query" name:"DeviceAvailable"`
+	Tag                     *[]DescribeInstancesTag `position:"Query" name:"Tag"  type:"Repeated"`
+	Filter3Value            string                  `position:"Query" name:"Filter.3.Value"`
+	DryRun                  requests.Boolean        `position:"Query" name:"DryRun"`
+	Filter1Value            string                  `position:"Query" name:"Filter.1.Value"`
+	NeedSaleCycle           requests.Boolean        `position:"Query" name:"NeedSaleCycle"`
+	OwnerId                 requests.Integer        `position:"Query" name:"OwnerId"`
+	VSwitchId               string                  `position:"Query" name:"VSwitchId"`
+	AdditionalAttributes    *[]string               `position:"Query" name:"AdditionalAttributes"  type:"Repeated"`
+	InstanceName            string                  `position:"Query" name:"InstanceName"`
+	InstanceIds             string                  `position:"Query" name:"InstanceIds"`
+	InternetChargeType      string                  `position:"Query" name:"InternetChargeType"`
+	ZoneId                  string                  `position:"Query" name:"ZoneId"`
+	InstanceNetworkType     string                  `position:"Query" name:"InstanceNetworkType"`
+	Status                  string                  `position:"Query" name:"Status"`
+	ImageId                 string                  `position:"Query" name:"ImageId"`
+	Filter4Value            string                  `position:"Query" name:"Filter.4.Value"`
+	IoOptimized             requests.Boolean        `position:"Query" name:"IoOptimized"`
+	SecurityGroupId         string                  `position:"Query" name:"SecurityGroupId"`
+	Filter4Key              string                  `position:"Query" name:"Filter.4.Key"`
+	PageNumber              requests.Integer        `position:"Query" name:"PageNumber"`
+	RdmaIpAddresses         string                  `position:"Query" name:"RdmaIpAddresses"`
+	HttpEndpoint            string                  `position:"Query" name:"HttpEndpoint"`
+	PageSize                requests.Integer        `position:"Query" name:"PageSize"`
+	PublicIpAddresses       string                  `position:"Query" name:"PublicIpAddresses"`
+	InstanceType            string                  `position:"Query" name:"InstanceType"`
+	InstanceChargeType      string                  `position:"Query" name:"InstanceChargeType"`
+	ResourceOwnerAccount    string                  `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount            string                  `position:"Query" name:"OwnerAccount"`
+	InstanceTypeFamily      string                  `position:"Query" name:"InstanceTypeFamily"`
+	Filter2Key              string                  `position:"Query" name:"Filter.2.Key"`
+	EipAddresses            string                  `position:"Query" name:"EipAddresses"`
+	VpcId                   string                  `position:"Query" name:"VpcId"`
+	HttpTokens              string                  `position:"Query" name:"HttpTokens"`
+	Filter3Key              string                  `position:"Query" name:"Filter.3.Key"`
 }
 
 // DescribeInstancesTag is a repeated param struct in DescribeInstancesRequest

+ 2 - 2
services/ecs/describe_invocation_results.go

@@ -92,8 +92,8 @@ type DescribeInvocationResultsRequest struct {
 // DescribeInvocationResultsResponse is the response struct for api DescribeInvocationResults
 type DescribeInvocationResultsResponse struct {
 	*responses.BaseResponse
-	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	Invocation Invocation `json:"Invocation" xml:"Invocation"`
+	RequestId  string                                `json:"RequestId" xml:"RequestId"`
+	Invocation InvocationInDescribeInvocationResults `json:"Invocation" xml:"Invocation"`
 }
 
 // CreateDescribeInvocationResultsRequest creates a request to invoke DescribeInvocationResults API

+ 1 - 0
services/ecs/describe_network_interfaces.go

@@ -96,6 +96,7 @@ type DescribeNetworkInterfacesRequest struct {
 	PrimaryIpAddress     string                          `position:"Query" name:"PrimaryIpAddress"`
 	MaxResults           requests.Integer                `position:"Query" name:"MaxResults"`
 	NetworkInterfaceId   *[]string                       `position:"Query" name:"NetworkInterfaceId"  type:"Repeated"`
+	Status               string                          `position:"Query" name:"Status"`
 }
 
 // DescribeNetworkInterfacesTag is a repeated param struct in DescribeNetworkInterfacesRequest

+ 2 - 2
services/ecs/describe_price.go

@@ -115,8 +115,8 @@ type DescribePriceRequest struct {
 // DescribePriceResponse is the response struct for api DescribePrice
 type DescribePriceResponse struct {
 	*responses.BaseResponse
-	RequestId string    `json:"RequestId" xml:"RequestId"`
-	PriceInfo PriceInfo `json:"PriceInfo" xml:"PriceInfo"`
+	RequestId string                   `json:"RequestId" xml:"RequestId"`
+	PriceInfo PriceInfoInDescribePrice `json:"PriceInfo" xml:"PriceInfo"`
 }
 
 // CreateDescribePriceRequest creates a request to invoke DescribePrice API

+ 2 - 2
services/ecs/describe_renewal_price.go

@@ -89,8 +89,8 @@ type DescribeRenewalPriceRequest struct {
 // DescribeRenewalPriceResponse is the response struct for api DescribeRenewalPrice
 type DescribeRenewalPriceResponse struct {
 	*responses.BaseResponse
-	RequestId string    `json:"RequestId" xml:"RequestId"`
-	PriceInfo PriceInfo `json:"PriceInfo" xml:"PriceInfo"`
+	RequestId string                          `json:"RequestId" xml:"RequestId"`
+	PriceInfo PriceInfoInDescribeRenewalPrice `json:"PriceInfo" xml:"PriceInfo"`
 }
 
 // CreateDescribeRenewalPriceRequest creates a request to invoke DescribeRenewalPrice API

+ 109 - 0
services/ecs/modify_instance_metadata_options.go

@@ -0,0 +1,109 @@
+package ecs
+
+//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.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ModifyInstanceMetadataOptions invokes the ecs.ModifyInstanceMetadataOptions API synchronously
+// api document: https://help.aliyun.com/api/ecs/modifyinstancemetadataoptions.html
+func (client *Client) ModifyInstanceMetadataOptions(request *ModifyInstanceMetadataOptionsRequest) (response *ModifyInstanceMetadataOptionsResponse, err error) {
+	response = CreateModifyInstanceMetadataOptionsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ModifyInstanceMetadataOptionsWithChan invokes the ecs.ModifyInstanceMetadataOptions API asynchronously
+// api document: https://help.aliyun.com/api/ecs/modifyinstancemetadataoptions.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceMetadataOptionsWithChan(request *ModifyInstanceMetadataOptionsRequest) (<-chan *ModifyInstanceMetadataOptionsResponse, <-chan error) {
+	responseChan := make(chan *ModifyInstanceMetadataOptionsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ModifyInstanceMetadataOptions(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ModifyInstanceMetadataOptionsWithCallback invokes the ecs.ModifyInstanceMetadataOptions API asynchronously
+// api document: https://help.aliyun.com/api/ecs/modifyinstancemetadataoptions.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ModifyInstanceMetadataOptionsWithCallback(request *ModifyInstanceMetadataOptionsRequest, callback func(response *ModifyInstanceMetadataOptionsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ModifyInstanceMetadataOptionsResponse
+		var err error
+		defer close(result)
+		response, err = client.ModifyInstanceMetadataOptions(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ModifyInstanceMetadataOptionsRequest is the request struct for api ModifyInstanceMetadataOptions
+type ModifyInstanceMetadataOptionsRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId         requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	HttpPutResponseHopLimit requests.Integer `position:"Query" name:"HttpPutResponseHopLimit"`
+	HttpEndpoint            string           `position:"Query" name:"HttpEndpoint"`
+	ResourceOwnerAccount    string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId                 requests.Integer `position:"Query" name:"OwnerId"`
+	InstanceId              string           `position:"Query" name:"InstanceId"`
+	HttpTokens              string           `position:"Query" name:"HttpTokens"`
+}
+
+// ModifyInstanceMetadataOptionsResponse is the response struct for api ModifyInstanceMetadataOptions
+type ModifyInstanceMetadataOptionsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+}
+
+// CreateModifyInstanceMetadataOptionsRequest creates a request to invoke ModifyInstanceMetadataOptions API
+func CreateModifyInstanceMetadataOptionsRequest() (request *ModifyInstanceMetadataOptionsRequest) {
+	request = &ModifyInstanceMetadataOptionsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Ecs", "2014-05-26", "ModifyInstanceMetadataOptions", "ecs", "openAPI")
+	return
+}
+
+// CreateModifyInstanceMetadataOptionsResponse creates a response to parse from ModifyInstanceMetadataOptions response
+func CreateModifyInstanceMetadataOptionsResponse() (response *ModifyInstanceMetadataOptionsResponse) {
+	response = &ModifyInstanceMetadataOptionsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 0
services/ecs/run_instances.go

@@ -80,6 +80,7 @@ type RunInstancesRequest struct {
 	ResourceOwnerId                requests.Integer                `position:"Query" name:"ResourceOwnerId"`
 	UniqueSuffix                   requests.Boolean                `position:"Query" name:"UniqueSuffix"`
 	HpcClusterId                   string                          `position:"Query" name:"HpcClusterId"`
+	HttpPutResponseHopLimit        requests.Integer                `position:"Query" name:"HttpPutResponseHopLimit"`
 	SecurityEnhancementStrategy    string                          `position:"Query" name:"SecurityEnhancementStrategy"`
 	KeyPairName                    string                          `position:"Query" name:"KeyPairName"`
 	MinAmount                      requests.Integer                `position:"Query" name:"MinAmount"`
@@ -124,6 +125,7 @@ type RunInstancesRequest struct {
 	SystemDiskPerformanceLevel     string                          `position:"Query" name:"SystemDisk.PerformanceLevel"`
 	UserData                       string                          `position:"Query" name:"UserData"`
 	PasswordInherit                requests.Boolean                `position:"Query" name:"PasswordInherit"`
+	HttpEndpoint                   string                          `position:"Query" name:"HttpEndpoint"`
 	InstanceType                   string                          `position:"Query" name:"InstanceType"`
 	HibernationConfigured          requests.Boolean                `position:"Query" name:"HibernationConfigured"`
 	InstanceChargeType             string                          `position:"Query" name:"InstanceChargeType"`
@@ -145,6 +147,7 @@ type RunInstancesRequest struct {
 	StorageSetId                   string                          `position:"Query" name:"StorageSetId"`
 	SystemDiskSize                 string                          `position:"Query" name:"SystemDisk.Size"`
 	ImageFamily                    string                          `position:"Query" name:"ImageFamily"`
+	HttpTokens                     string                          `position:"Query" name:"HttpTokens"`
 	SystemDiskDescription          string                          `position:"Query" name:"SystemDisk.Description"`
 }
 

+ 2 - 2
services/ecs/struct_associated_public_ip.go → services/ecs/struct_associated_public_ip_in_describe_network_interfaces.go

@@ -15,8 +15,8 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// AssociatedPublicIp is a nested struct in ecs response
-type AssociatedPublicIp struct {
+// AssociatedPublicIpInDescribeNetworkInterfaces is a nested struct in ecs response
+type AssociatedPublicIpInDescribeNetworkInterfaces struct {
 	PublicIpAddress string `json:"PublicIpAddress" xml:"PublicIpAddress"`
 	AllocationId    string `json:"AllocationId" xml:"AllocationId"`
 }

+ 11 - 10
services/ecs/struct_auto_snapshot_policy.go

@@ -17,14 +17,15 @@ package ecs
 
 // AutoSnapshotPolicy is a nested struct in ecs response
 type AutoSnapshotPolicy struct {
-	AutoSnapshotPolicyId   string `json:"AutoSnapshotPolicyId" xml:"AutoSnapshotPolicyId"`
-	RegionId               string `json:"RegionId" xml:"RegionId"`
-	AutoSnapshotPolicyName string `json:"AutoSnapshotPolicyName" xml:"AutoSnapshotPolicyName"`
-	TimePoints             string `json:"TimePoints" xml:"TimePoints"`
-	RepeatWeekdays         string `json:"RepeatWeekdays" xml:"RepeatWeekdays"`
-	RetentionDays          int    `json:"RetentionDays" xml:"RetentionDays"`
-	DiskNums               int    `json:"DiskNums" xml:"DiskNums"`
-	VolumeNums             int    `json:"VolumeNums" xml:"VolumeNums"`
-	CreationTime           string `json:"CreationTime" xml:"CreationTime"`
-	Status                 string `json:"Status" xml:"Status"`
+	AutoSnapshotPolicyId   string                             `json:"AutoSnapshotPolicyId" xml:"AutoSnapshotPolicyId"`
+	RegionId               string                             `json:"RegionId" xml:"RegionId"`
+	AutoSnapshotPolicyName string                             `json:"AutoSnapshotPolicyName" xml:"AutoSnapshotPolicyName"`
+	TimePoints             string                             `json:"TimePoints" xml:"TimePoints"`
+	RepeatWeekdays         string                             `json:"RepeatWeekdays" xml:"RepeatWeekdays"`
+	RetentionDays          int                                `json:"RetentionDays" xml:"RetentionDays"`
+	DiskNums               int                                `json:"DiskNums" xml:"DiskNums"`
+	VolumeNums             int                                `json:"VolumeNums" xml:"VolumeNums"`
+	CreationTime           string                             `json:"CreationTime" xml:"CreationTime"`
+	Status                 string                             `json:"Status" xml:"Status"`
+	Tags                   TagsInDescribeAutoSnapshotPolicyEx `json:"Tags" xml:"Tags"`
 }

+ 2 - 2
services/ecs/struct_available_resource.go → services/ecs/struct_available_resource_in_describe_available_resource.go

@@ -15,8 +15,8 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// AvailableResource is a nested struct in ecs response
-type AvailableResource struct {
+// AvailableResourceInDescribeAvailableResource is a nested struct in ecs response
+type AvailableResourceInDescribeAvailableResource struct {
 	Type               string                                        `json:"Type" xml:"Type"`
 	SupportedResources SupportedResourcesInDescribeAvailableResource `json:"SupportedResources" xml:"SupportedResources"`
 }

+ 22 - 0
services/ecs/struct_available_resource_in_describe_resources_modification.go

@@ -0,0 +1,22 @@
+package ecs
+
+//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.
+
+// AvailableResourceInDescribeResourcesModification is a nested struct in ecs response
+type AvailableResourceInDescribeResourcesModification struct {
+	Type               string                                            `json:"Type" xml:"Type"`
+	SupportedResources SupportedResourcesInDescribeResourcesModification `json:"SupportedResources" xml:"SupportedResources"`
+}

+ 1 - 1
services/ecs/struct_available_resources_in_describe_available_resource.go

@@ -17,5 +17,5 @@ package ecs
 
 // AvailableResourcesInDescribeAvailableResource is a nested struct in ecs response
 type AvailableResourcesInDescribeAvailableResource struct {
-	AvailableResource []AvailableResource `json:"AvailableResource" xml:"AvailableResource"`
+	AvailableResource []AvailableResourceInDescribeAvailableResource `json:"AvailableResource" xml:"AvailableResource"`
 }

+ 1 - 1
services/ecs/struct_available_resources_in_describe_resources_modification.go

@@ -17,5 +17,5 @@ package ecs
 
 // AvailableResourcesInDescribeResourcesModification is a nested struct in ecs response
 type AvailableResourcesInDescribeResourcesModification struct {
-	AvailableResource []AvailableResource `json:"AvailableResource" xml:"AvailableResource"`
+	AvailableResource []AvailableResourceInDescribeResourcesModification `json:"AvailableResource" xml:"AvailableResource"`
 }

+ 3 - 3
services/ecs/struct_available_zone.go → services/ecs/struct_available_zone_in_describe_available_resource.go

@@ -15,11 +15,11 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// AvailableZone is a nested struct in ecs response
-type AvailableZone struct {
+// AvailableZoneInDescribeAvailableResource is a nested struct in ecs response
+type AvailableZoneInDescribeAvailableResource struct {
 	RegionId           string                                        `json:"RegionId" xml:"RegionId"`
 	ZoneId             string                                        `json:"ZoneId" xml:"ZoneId"`
-	StatusCategory     string                                        `json:"StatusCategory" xml:"StatusCategory"`
 	Status             string                                        `json:"Status" xml:"Status"`
+	StatusCategory     string                                        `json:"StatusCategory" xml:"StatusCategory"`
 	AvailableResources AvailableResourcesInDescribeAvailableResource `json:"AvailableResources" xml:"AvailableResources"`
 }

+ 25 - 0
services/ecs/struct_available_zone_in_describe_resources_modification.go

@@ -0,0 +1,25 @@
+package ecs
+
+//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.
+
+// AvailableZoneInDescribeResourcesModification is a nested struct in ecs response
+type AvailableZoneInDescribeResourcesModification struct {
+	RegionId           string                                            `json:"RegionId" xml:"RegionId"`
+	ZoneId             string                                            `json:"ZoneId" xml:"ZoneId"`
+	Status             string                                            `json:"Status" xml:"Status"`
+	StatusCategory     string                                            `json:"StatusCategory" xml:"StatusCategory"`
+	AvailableResources AvailableResourcesInDescribeResourcesModification `json:"AvailableResources" xml:"AvailableResources"`
+}

+ 1 - 1
services/ecs/struct_available_zones_in_describe_available_resource.go

@@ -17,5 +17,5 @@ package ecs
 
 // AvailableZonesInDescribeAvailableResource is a nested struct in ecs response
 type AvailableZonesInDescribeAvailableResource struct {
-	AvailableZone []AvailableZone `json:"AvailableZone" xml:"AvailableZone"`
+	AvailableZone []AvailableZoneInDescribeAvailableResource `json:"AvailableZone" xml:"AvailableZone"`
 }

+ 1 - 1
services/ecs/struct_available_zones_in_describe_resources_modification.go

@@ -17,5 +17,5 @@ package ecs
 
 // AvailableZonesInDescribeResourcesModification is a nested struct in ecs response
 type AvailableZonesInDescribeResourcesModification struct {
-	AvailableZone []AvailableZone `json:"AvailableZone" xml:"AvailableZone"`
+	AvailableZone []AvailableZoneInDescribeResourcesModification `json:"AvailableZone" xml:"AvailableZone"`
 }

+ 22 - 0
services/ecs/struct_dedicated_host_attribute_in_describe_instance_attribute.go

@@ -0,0 +1,22 @@
+package ecs
+
+//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.
+
+// DedicatedHostAttributeInDescribeInstanceAttribute is a nested struct in ecs response
+type DedicatedHostAttributeInDescribeInstanceAttribute struct {
+	DedicatedHostId   string `json:"DedicatedHostId" xml:"DedicatedHostId"`
+	DedicatedHostName string `json:"DedicatedHostName" xml:"DedicatedHostName"`
+}

+ 3 - 3
services/ecs/struct_dedicated_host_attribute.go → services/ecs/struct_dedicated_host_attribute_in_describe_instances.go

@@ -15,8 +15,8 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// DedicatedHostAttribute is a nested struct in ecs response
-type DedicatedHostAttribute struct {
-	DedicatedHostName string `json:"DedicatedHostName" xml:"DedicatedHostName"`
+// DedicatedHostAttributeInDescribeInstances is a nested struct in ecs response
+type DedicatedHostAttributeInDescribeInstances struct {
 	DedicatedHostId   string `json:"DedicatedHostId" xml:"DedicatedHostId"`
+	DedicatedHostName string `json:"DedicatedHostName" xml:"DedicatedHostName"`
 }

+ 1 - 1
services/ecs/struct_detail_infos_in_describe_price.go

@@ -17,5 +17,5 @@ package ecs
 
 // DetailInfosInDescribePrice is a nested struct in ecs response
 type DetailInfosInDescribePrice struct {
-	ResourcePriceModel []ResourcePriceModel `json:"ResourcePriceModel" xml:"ResourcePriceModel"`
+	ResourcePriceModel []ResourcePriceModelInDescribePrice `json:"ResourcePriceModel" xml:"ResourcePriceModel"`
 }

+ 1 - 1
services/ecs/struct_detail_infos_in_describe_renewal_price.go

@@ -17,5 +17,5 @@ package ecs
 
 // DetailInfosInDescribeRenewalPrice is a nested struct in ecs response
 type DetailInfosInDescribeRenewalPrice struct {
-	ResourcePriceModel []ResourcePriceModel `json:"ResourcePriceModel" xml:"ResourcePriceModel"`
+	ResourcePriceModel []ResourcePriceModelInDescribeRenewalPrice `json:"ResourcePriceModel" xml:"ResourcePriceModel"`
 }

+ 27 - 0
services/ecs/struct_disk_device_mapping_in_describe_image_from_family.go

@@ -0,0 +1,27 @@
+package ecs
+
+//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.
+
+// DiskDeviceMappingInDescribeImageFromFamily is a nested struct in ecs response
+type DiskDeviceMappingInDescribeImageFromFamily struct {
+	SnapshotId      string `json:"SnapshotId" xml:"SnapshotId"`
+	Size            string `json:"Size" xml:"Size"`
+	Device          string `json:"Device" xml:"Device"`
+	Type            string `json:"Type" xml:"Type"`
+	Format          string `json:"Format" xml:"Format"`
+	ImportOSSBucket string `json:"ImportOSSBucket" xml:"ImportOSSBucket"`
+	ImportOSSObject string `json:"ImportOSSObject" xml:"ImportOSSObject"`
+}

+ 9 - 9
services/ecs/struct_disk_device_mapping.go → services/ecs/struct_disk_device_mapping_in_describe_images.go

@@ -15,15 +15,15 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// DiskDeviceMapping is a nested struct in ecs response
-type DiskDeviceMapping struct {
-	Progress        string `json:"Progress" xml:"Progress"`
-	Format          string `json:"Format" xml:"Format"`
-	Device          string `json:"Device" xml:"Device"`
-	Size            string `json:"Size" xml:"Size"`
-	RemainTime      int    `json:"RemainTime" xml:"RemainTime"`
+// DiskDeviceMappingInDescribeImages is a nested struct in ecs response
+type DiskDeviceMappingInDescribeImages struct {
 	SnapshotId      string `json:"SnapshotId" xml:"SnapshotId"`
-	ImportOSSObject string `json:"ImportOSSObject" xml:"ImportOSSObject"`
-	ImportOSSBucket string `json:"ImportOSSBucket" xml:"ImportOSSBucket"`
+	Size            string `json:"Size" xml:"Size"`
+	Device          string `json:"Device" xml:"Device"`
 	Type            string `json:"Type" xml:"Type"`
+	Format          string `json:"Format" xml:"Format"`
+	ImportOSSBucket string `json:"ImportOSSBucket" xml:"ImportOSSBucket"`
+	ImportOSSObject string `json:"ImportOSSObject" xml:"ImportOSSObject"`
+	Progress        string `json:"Progress" xml:"Progress"`
+	RemainTime      int    `json:"RemainTime" xml:"RemainTime"`
 }

+ 1 - 1
services/ecs/struct_disk_device_mappings_in_describe_image_from_family.go

@@ -17,5 +17,5 @@ package ecs
 
 // DiskDeviceMappingsInDescribeImageFromFamily is a nested struct in ecs response
 type DiskDeviceMappingsInDescribeImageFromFamily struct {
-	DiskDeviceMapping []DiskDeviceMapping `json:"DiskDeviceMapping" xml:"DiskDeviceMapping"`
+	DiskDeviceMapping []DiskDeviceMappingInDescribeImageFromFamily `json:"DiskDeviceMapping" xml:"DiskDeviceMapping"`
 }

+ 1 - 1
services/ecs/struct_disk_device_mappings_in_describe_images.go

@@ -17,5 +17,5 @@ package ecs
 
 // DiskDeviceMappingsInDescribeImages is a nested struct in ecs response
 type DiskDeviceMappingsInDescribeImages struct {
-	DiskDeviceMapping []DiskDeviceMapping `json:"DiskDeviceMapping" xml:"DiskDeviceMapping"`
+	DiskDeviceMapping []DiskDeviceMappingInDescribeImages `json:"DiskDeviceMapping" xml:"DiskDeviceMapping"`
 }

+ 4 - 4
services/ecs/struct_disk_event_type.go

@@ -17,8 +17,8 @@ package ecs
 
 // DiskEventType is a nested struct in ecs response
 type DiskEventType struct {
-	EventId      string    `json:"EventId" xml:"EventId"`
-	EventTime    string    `json:"EventTime" xml:"EventTime"`
-	EventEndTime string    `json:"EventEndTime" xml:"EventEndTime"`
-	EventType    EventType `json:"EventType" xml:"EventType"`
+	EventId      string                             `json:"EventId" xml:"EventId"`
+	EventTime    string                             `json:"EventTime" xml:"EventTime"`
+	EventEndTime string                             `json:"EventEndTime" xml:"EventEndTime"`
+	EventType    EventTypeInDescribeDisksFullStatus `json:"EventType" xml:"EventType"`
 }

+ 6 - 6
services/ecs/struct_disk_full_status_type.go

@@ -17,10 +17,10 @@ package ecs
 
 // DiskFullStatusType is a nested struct in ecs response
 type DiskFullStatusType struct {
-	DiskId       string       `json:"DiskId" xml:"DiskId"`
-	InstanceId   string       `json:"InstanceId" xml:"InstanceId"`
-	Device       string       `json:"Device" xml:"Device"`
-	Status       Status       `json:"Status" xml:"Status"`
-	HealthStatus HealthStatus `json:"HealthStatus" xml:"HealthStatus"`
-	DiskEventSet DiskEventSet `json:"DiskEventSet" xml:"DiskEventSet"`
+	DiskId       string                                `json:"DiskId" xml:"DiskId"`
+	InstanceId   string                                `json:"InstanceId" xml:"InstanceId"`
+	Device       string                                `json:"Device" xml:"Device"`
+	Status       StatusInDescribeDisksFullStatus       `json:"Status" xml:"Status"`
+	HealthStatus HealthStatusInDescribeDisksFullStatus `json:"HealthStatus" xml:"HealthStatus"`
+	DiskEventSet DiskEventSet                          `json:"DiskEventSet" xml:"DiskEventSet"`
 }

+ 29 - 29
services/ecs/struct_disk.go → services/ecs/struct_disk_in_describe_disks.go

@@ -15,45 +15,45 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// Disk is a nested struct in ecs response
-type Disk struct {
-	Category                      string                        `json:"Category" xml:"Category"`
-	BdfId                         string                        `json:"BdfId" xml:"BdfId"`
-	ImageId                       string                        `json:"ImageId" xml:"ImageId"`
-	AutoSnapshotPolicyId          string                        `json:"AutoSnapshotPolicyId" xml:"AutoSnapshotPolicyId"`
-	DeleteAutoSnapshot            bool                          `json:"DeleteAutoSnapshot" xml:"DeleteAutoSnapshot"`
-	EnableAutomatedSnapshotPolicy bool                          `json:"EnableAutomatedSnapshotPolicy" xml:"EnableAutomatedSnapshotPolicy"`
+// DiskInDescribeDisks is a nested struct in ecs response
+type DiskInDescribeDisks struct {
 	DiskId                        string                        `json:"DiskId" xml:"DiskId"`
-	Size                          int                           `json:"Size" xml:"Size"`
-	IOPS                          int                           `json:"IOPS" xml:"IOPS"`
 	RegionId                      string                        `json:"RegionId" xml:"RegionId"`
-	MountInstanceNum              int                           `json:"MountInstanceNum" xml:"MountInstanceNum"`
-	ResourceGroupId               string                        `json:"ResourceGroupId" xml:"ResourceGroupId"`
-	StorageSetId                  string                        `json:"StorageSetId" xml:"StorageSetId"`
-	InstanceId                    string                        `json:"InstanceId" xml:"InstanceId"`
+	ZoneId                        string                        `json:"ZoneId" xml:"ZoneId"`
+	DiskName                      string                        `json:"DiskName" xml:"DiskName"`
 	Description                   string                        `json:"Description" xml:"Description"`
 	Type                          string                        `json:"Type" xml:"Type"`
-	ExpiredTime                   string                        `json:"ExpiredTime" xml:"ExpiredTime"`
-	Device                        string                        `json:"Device" xml:"Device"`
-	CreationTime                  string                        `json:"CreationTime" xml:"CreationTime"`
-	IOPSRead                      int                           `json:"IOPSRead" xml:"IOPSRead"`
+	Category                      string                        `json:"Category" xml:"Category"`
+	Size                          int                           `json:"Size" xml:"Size"`
+	ImageId                       string                        `json:"ImageId" xml:"ImageId"`
 	SourceSnapshotId              string                        `json:"SourceSnapshotId" xml:"SourceSnapshotId"`
-	StorageSetPartitionNumber     int                           `json:"StorageSetPartitionNumber" xml:"StorageSetPartitionNumber"`
+	AutoSnapshotPolicyId          string                        `json:"AutoSnapshotPolicyId" xml:"AutoSnapshotPolicyId"`
 	ProductCode                   string                        `json:"ProductCode" xml:"ProductCode"`
 	Portable                      bool                          `json:"Portable" xml:"Portable"`
-	KMSKeyId                      string                        `json:"KMSKeyId" xml:"KMSKeyId"`
-	Encrypted                     bool                          `json:"Encrypted" xml:"Encrypted"`
+	Status                        string                        `json:"Status" xml:"Status"`
+	InstanceId                    string                        `json:"InstanceId" xml:"InstanceId"`
+	Device                        string                        `json:"Device" xml:"Device"`
+	DeleteWithInstance            bool                          `json:"DeleteWithInstance" xml:"DeleteWithInstance"`
+	DeleteAutoSnapshot            bool                          `json:"DeleteAutoSnapshot" xml:"DeleteAutoSnapshot"`
 	EnableAutoSnapshot            bool                          `json:"EnableAutoSnapshot" xml:"EnableAutoSnapshot"`
+	EnableAutomatedSnapshotPolicy bool                          `json:"EnableAutomatedSnapshotPolicy" xml:"EnableAutomatedSnapshotPolicy"`
+	CreationTime                  string                        `json:"CreationTime" xml:"CreationTime"`
+	AttachedTime                  string                        `json:"AttachedTime" xml:"AttachedTime"`
 	DetachedTime                  string                        `json:"DetachedTime" xml:"DetachedTime"`
-	DeleteWithInstance            bool                          `json:"DeleteWithInstance" xml:"DeleteWithInstance"`
-	ZoneId                        string                        `json:"ZoneId" xml:"ZoneId"`
 	DiskChargeType                string                        `json:"DiskChargeType" xml:"DiskChargeType"`
-	PerformanceLevel              string                        `json:"PerformanceLevel" xml:"PerformanceLevel"`
-	DiskName                      string                        `json:"DiskName" xml:"DiskName"`
-	Status                        string                        `json:"Status" xml:"Status"`
-	AttachedTime                  string                        `json:"AttachedTime" xml:"AttachedTime"`
+	ExpiredTime                   string                        `json:"ExpiredTime" xml:"ExpiredTime"`
+	ResourceGroupId               string                        `json:"ResourceGroupId" xml:"ResourceGroupId"`
+	Encrypted                     bool                          `json:"Encrypted" xml:"Encrypted"`
+	StorageSetId                  string                        `json:"StorageSetId" xml:"StorageSetId"`
+	StorageSetPartitionNumber     int                           `json:"StorageSetPartitionNumber" xml:"StorageSetPartitionNumber"`
+	MountInstanceNum              int                           `json:"MountInstanceNum" xml:"MountInstanceNum"`
+	IOPS                          int                           `json:"IOPS" xml:"IOPS"`
+	IOPSRead                      int                           `json:"IOPSRead" xml:"IOPSRead"`
 	IOPSWrite                     int                           `json:"IOPSWrite" xml:"IOPSWrite"`
-	Tags                          TagsInDescribeDisks           `json:"Tags" xml:"Tags"`
-	MountInstances                MountInstances                `json:"MountInstances" xml:"MountInstances"`
+	KMSKeyId                      string                        `json:"KMSKeyId" xml:"KMSKeyId"`
+	PerformanceLevel              string                        `json:"PerformanceLevel" xml:"PerformanceLevel"`
+	BdfId                         string                        `json:"BdfId" xml:"BdfId"`
 	OperationLocks                OperationLocksInDescribeDisks `json:"OperationLocks" xml:"OperationLocks"`
+	MountInstances                MountInstances                `json:"MountInstances" xml:"MountInstances"`
+	Tags                          TagsInDescribeDisks           `json:"Tags" xml:"Tags"`
 }

+ 28 - 0
services/ecs/struct_disk_in_describe_storage_set_details.go

@@ -0,0 +1,28 @@
+package ecs
+
+//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.
+
+// DiskInDescribeStorageSetDetails is a nested struct in ecs response
+type DiskInDescribeStorageSetDetails struct {
+	DiskId                    string `json:"DiskId" xml:"DiskId"`
+	DiskName                  string `json:"DiskName" xml:"DiskName"`
+	Category                  string `json:"Category" xml:"Category"`
+	StorageSetId              string `json:"StorageSetId" xml:"StorageSetId"`
+	CreationTime              string `json:"CreationTime" xml:"CreationTime"`
+	StorageSetPartitionNumber int    `json:"StorageSetPartitionNumber" xml:"StorageSetPartitionNumber"`
+	RegionId                  string `json:"RegionId" xml:"RegionId"`
+	ZoneId                    string `json:"ZoneId" xml:"ZoneId"`
+}

+ 1 - 1
services/ecs/struct_disks_in_describe_disks.go

@@ -17,5 +17,5 @@ package ecs
 
 // DisksInDescribeDisks is a nested struct in ecs response
 type DisksInDescribeDisks struct {
-	Disk []Disk `json:"Disk" xml:"Disk"`
+	Disk []DiskInDescribeDisks `json:"Disk" xml:"Disk"`
 }

+ 1 - 1
services/ecs/struct_disks_in_describe_storage_set_details.go

@@ -17,5 +17,5 @@ package ecs
 
 // DisksInDescribeStorageSetDetails is a nested struct in ecs response
 type DisksInDescribeStorageSetDetails struct {
-	Disk []Disk `json:"Disk" xml:"Disk"`
+	Disk []DiskInDescribeStorageSetDetails `json:"Disk" xml:"Disk"`
 }

+ 9 - 9
services/ecs/struct_eip_address.go → services/ecs/struct_eip_address_in_describe_eip_addresses.go

@@ -15,19 +15,19 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// EipAddress is a nested struct in ecs response
-type EipAddress struct {
-	ExpiredTime        string                               `json:"ExpiredTime" xml:"ExpiredTime"`
+// EipAddressInDescribeEipAddresses is a nested struct in ecs response
+type EipAddressInDescribeEipAddresses struct {
+	RegionId           string                               `json:"RegionId" xml:"RegionId"`
 	IpAddress          string                               `json:"IpAddress" xml:"IpAddress"`
-	EipBandwidth       string                               `json:"EipBandwidth" xml:"EipBandwidth"`
-	ChargeType         string                               `json:"ChargeType" xml:"ChargeType"`
-	AllocationTime     string                               `json:"AllocationTime" xml:"AllocationTime"`
-	InstanceType       string                               `json:"InstanceType" xml:"InstanceType"`
 	AllocationId       string                               `json:"AllocationId" xml:"AllocationId"`
-	RegionId           string                               `json:"RegionId" xml:"RegionId"`
+	Status             string                               `json:"Status" xml:"Status"`
 	InstanceId         string                               `json:"InstanceId" xml:"InstanceId"`
 	Bandwidth          string                               `json:"Bandwidth" xml:"Bandwidth"`
+	EipBandwidth       string                               `json:"EipBandwidth" xml:"EipBandwidth"`
 	InternetChargeType string                               `json:"InternetChargeType" xml:"InternetChargeType"`
-	Status             string                               `json:"Status" xml:"Status"`
+	AllocationTime     string                               `json:"AllocationTime" xml:"AllocationTime"`
+	InstanceType       string                               `json:"InstanceType" xml:"InstanceType"`
+	ChargeType         string                               `json:"ChargeType" xml:"ChargeType"`
+	ExpiredTime        string                               `json:"ExpiredTime" xml:"ExpiredTime"`
 	OperationLocks     OperationLocksInDescribeEipAddresses `json:"OperationLocks" xml:"OperationLocks"`
 }

+ 1 - 1
services/ecs/struct_eip_addresses.go

@@ -17,5 +17,5 @@ package ecs
 
 // EipAddresses is a nested struct in ecs response
 type EipAddresses struct {
-	EipAddress []EipAddress `json:"EipAddress" xml:"EipAddress"`
+	EipAddress []EipAddressInDescribeEipAddresses `json:"EipAddress" xml:"EipAddress"`
 }

+ 6 - 6
services/ecs/struct_eip_monitor_data.go → services/ecs/struct_eip_monitor_data_in_describe_eip_monitor_data.go

@@ -15,12 +15,12 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// EipMonitorData is a nested struct in ecs response
-type EipMonitorData struct {
-	EipPackets   int    `json:"EipPackets" xml:"EipPackets"`
-	TimeStamp    string `json:"TimeStamp" xml:"TimeStamp"`
-	EipFlow      int    `json:"EipFlow" xml:"EipFlow"`
+// EipMonitorDataInDescribeEipMonitorData is a nested struct in ecs response
+type EipMonitorDataInDescribeEipMonitorData struct {
 	EipRX        int    `json:"EipRX" xml:"EipRX"`
-	EipBandwidth int    `json:"EipBandwidth" xml:"EipBandwidth"`
 	EipTX        int    `json:"EipTX" xml:"EipTX"`
+	EipFlow      int    `json:"EipFlow" xml:"EipFlow"`
+	EipBandwidth int    `json:"EipBandwidth" xml:"EipBandwidth"`
+	EipPackets   int    `json:"EipPackets" xml:"EipPackets"`
+	TimeStamp    string `json:"TimeStamp" xml:"TimeStamp"`
 }

+ 26 - 0
services/ecs/struct_eip_monitor_data_in_describe_new_project_eip_monitor_data.go

@@ -0,0 +1,26 @@
+package ecs
+
+//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.
+
+// EipMonitorDataInDescribeNewProjectEipMonitorData is a nested struct in ecs response
+type EipMonitorDataInDescribeNewProjectEipMonitorData struct {
+	EipRX        int    `json:"EipRX" xml:"EipRX"`
+	EipTX        int    `json:"EipTX" xml:"EipTX"`
+	EipFlow      int    `json:"EipFlow" xml:"EipFlow"`
+	EipBandwidth int    `json:"EipBandwidth" xml:"EipBandwidth"`
+	EipPackets   int    `json:"EipPackets" xml:"EipPackets"`
+	TimeStamp    string `json:"TimeStamp" xml:"TimeStamp"`
+}

+ 1 - 1
services/ecs/struct_eip_monitor_datas_in_describe_eip_monitor_data.go

@@ -17,5 +17,5 @@ package ecs
 
 // EipMonitorDatasInDescribeEipMonitorData is a nested struct in ecs response
 type EipMonitorDatasInDescribeEipMonitorData struct {
-	EipMonitorData []EipMonitorData `json:"EipMonitorData" xml:"EipMonitorData"`
+	EipMonitorData []EipMonitorDataInDescribeEipMonitorData `json:"EipMonitorData" xml:"EipMonitorData"`
 }

+ 1 - 1
services/ecs/struct_eip_monitor_datas_in_describe_new_project_eip_monitor_data.go

@@ -17,5 +17,5 @@ package ecs
 
 // EipMonitorDatasInDescribeNewProjectEipMonitorData is a nested struct in ecs response
 type EipMonitorDatasInDescribeNewProjectEipMonitorData struct {
-	EipMonitorData []EipMonitorData `json:"EipMonitorData" xml:"EipMonitorData"`
+	EipMonitorData []EipMonitorDataInDescribeNewProjectEipMonitorData `json:"EipMonitorData" xml:"EipMonitorData"`
 }

+ 22 - 0
services/ecs/struct_event_cycle_status_in_describe_instance_history_events.go

@@ -0,0 +1,22 @@
+package ecs
+
+//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.
+
+// EventCycleStatusInDescribeInstanceHistoryEvents is a nested struct in ecs response
+type EventCycleStatusInDescribeInstanceHistoryEvents struct {
+	Code int    `json:"Code" xml:"Code"`
+	Name string `json:"Name" xml:"Name"`
+}

+ 22 - 0
services/ecs/struct_event_cycle_status_in_describe_instances_full_status.go

@@ -0,0 +1,22 @@
+package ecs
+
+//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.
+
+// EventCycleStatusInDescribeInstancesFullStatus is a nested struct in ecs response
+type EventCycleStatusInDescribeInstancesFullStatus struct {
+	Code int    `json:"Code" xml:"Code"`
+	Name string `json:"Name" xml:"Name"`
+}

+ 3 - 3
services/ecs/struct_event_type.go → services/ecs/struct_event_type_in_describe_disks_full_status.go

@@ -15,8 +15,8 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// EventType is a nested struct in ecs response
-type EventType struct {
-	Name string `json:"Name" xml:"Name"`
+// EventTypeInDescribeDisksFullStatus is a nested struct in ecs response
+type EventTypeInDescribeDisksFullStatus struct {
 	Code int    `json:"Code" xml:"Code"`
+	Name string `json:"Name" xml:"Name"`
 }

+ 22 - 0
services/ecs/struct_event_type_in_describe_instance_history_events.go

@@ -0,0 +1,22 @@
+package ecs
+
+//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.
+
+// EventTypeInDescribeInstanceHistoryEvents is a nested struct in ecs response
+type EventTypeInDescribeInstanceHistoryEvents struct {
+	Code int    `json:"Code" xml:"Code"`
+	Name string `json:"Name" xml:"Name"`
+}

+ 22 - 0
services/ecs/struct_event_type_in_describe_instances_full_status.go

@@ -0,0 +1,22 @@
+package ecs
+
+//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.
+
+// EventTypeInDescribeInstancesFullStatus is a nested struct in ecs response
+type EventTypeInDescribeInstancesFullStatus struct {
+	Code int    `json:"Code" xml:"Code"`
+	Name string `json:"Name" xml:"Name"`
+}

+ 3 - 3
services/ecs/struct_extended_attribute.go → services/ecs/struct_extended_attribute_in_describe_instance_history_events.go

@@ -15,9 +15,9 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// ExtendedAttribute is a nested struct in ecs response
-type ExtendedAttribute struct {
-	Device        string                                       `json:"Device" xml:"Device"`
+// ExtendedAttributeInDescribeInstanceHistoryEvents is a nested struct in ecs response
+type ExtendedAttributeInDescribeInstanceHistoryEvents struct {
 	DiskId        string                                       `json:"DiskId" xml:"DiskId"`
+	Device        string                                       `json:"Device" xml:"Device"`
 	InactiveDisks InactiveDisksInDescribeInstanceHistoryEvents `json:"InactiveDisks" xml:"InactiveDisks"`
 }

+ 23 - 0
services/ecs/struct_extended_attribute_in_describe_instances_full_status.go

@@ -0,0 +1,23 @@
+package ecs
+
+//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.
+
+// ExtendedAttributeInDescribeInstancesFullStatus is a nested struct in ecs response
+type ExtendedAttributeInDescribeInstancesFullStatus struct {
+	DiskId        string                                     `json:"DiskId" xml:"DiskId"`
+	Device        string                                     `json:"Device" xml:"Device"`
+	InactiveDisks InactiveDisksInDescribeInstancesFullStatus `json:"InactiveDisks" xml:"InactiveDisks"`
+}

+ 3 - 3
services/ecs/struct_health_status.go → services/ecs/struct_health_status_in_describe_disks_full_status.go

@@ -15,8 +15,8 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// HealthStatus is a nested struct in ecs response
-type HealthStatus struct {
-	Name string `json:"Name" xml:"Name"`
+// HealthStatusInDescribeDisksFullStatus is a nested struct in ecs response
+type HealthStatusInDescribeDisksFullStatus struct {
 	Code int    `json:"Code" xml:"Code"`
+	Name string `json:"Name" xml:"Name"`
 }

+ 22 - 0
services/ecs/struct_health_status_in_describe_instances_full_status.go

@@ -0,0 +1,22 @@
+package ecs
+
+//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.
+
+// HealthStatusInDescribeInstancesFullStatus is a nested struct in ecs response
+type HealthStatusInDescribeInstancesFullStatus struct {
+	Code int    `json:"Code" xml:"Code"`
+	Name string `json:"Name" xml:"Name"`
+}

+ 43 - 0
services/ecs/struct_image_in_describe_image_from_family.go

@@ -0,0 +1,43 @@
+package ecs
+
+//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.
+
+// ImageInDescribeImageFromFamily is a nested struct in ecs response
+type ImageInDescribeImageFromFamily struct {
+	Progress             string                                      `json:"Progress" xml:"Progress"`
+	ImageId              string                                      `json:"ImageId" xml:"ImageId"`
+	ImageName            string                                      `json:"ImageName" xml:"ImageName"`
+	ImageFamily          string                                      `json:"ImageFamily" xml:"ImageFamily"`
+	ImageVersion         string                                      `json:"ImageVersion" xml:"ImageVersion"`
+	Description          string                                      `json:"Description" xml:"Description"`
+	Size                 int                                         `json:"Size" xml:"Size"`
+	ImageOwnerAlias      string                                      `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
+	IsSupportIoOptimized bool                                        `json:"IsSupportIoOptimized" xml:"IsSupportIoOptimized"`
+	IsSupportCloudinit   bool                                        `json:"IsSupportCloudinit" xml:"IsSupportCloudinit"`
+	OSName               string                                      `json:"OSName" xml:"OSName"`
+	Architecture         string                                      `json:"Architecture" xml:"Architecture"`
+	Status               string                                      `json:"Status" xml:"Status"`
+	ProductCode          string                                      `json:"ProductCode" xml:"ProductCode"`
+	IsSubscribed         bool                                        `json:"IsSubscribed" xml:"IsSubscribed"`
+	CreationTime         string                                      `json:"CreationTime" xml:"CreationTime"`
+	IsSelfShared         string                                      `json:"IsSelfShared" xml:"IsSelfShared"`
+	OSType               string                                      `json:"OSType" xml:"OSType"`
+	Platform             string                                      `json:"Platform" xml:"Platform"`
+	Usage                string                                      `json:"Usage" xml:"Usage"`
+	IsCopied             bool                                        `json:"IsCopied" xml:"IsCopied"`
+	DiskDeviceMappings   DiskDeviceMappingsInDescribeImageFromFamily `json:"DiskDeviceMappings" xml:"DiskDeviceMappings"`
+	Tags                 TagsInDescribeImageFromFamily               `json:"Tags" xml:"Tags"`
+}

+ 18 - 18
services/ecs/struct_image.go → services/ecs/struct_image_in_describe_images.go

@@ -15,31 +15,31 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// Image is a nested struct in ecs response
-type Image struct {
+// ImageInDescribeImages is a nested struct in ecs response
+type ImageInDescribeImages struct {
+	Progress             string                             `json:"Progress" xml:"Progress"`
 	ImageId              string                             `json:"ImageId" xml:"ImageId"`
+	ImageName            string                             `json:"ImageName" xml:"ImageName"`
+	ImageFamily          string                             `json:"ImageFamily" xml:"ImageFamily"`
+	ImageVersion         string                             `json:"ImageVersion" xml:"ImageVersion"`
+	Description          string                             `json:"Description" xml:"Description"`
+	Size                 int                                `json:"Size" xml:"Size"`
 	ImageOwnerAlias      string                             `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
+	IsSupportIoOptimized bool                               `json:"IsSupportIoOptimized" xml:"IsSupportIoOptimized"`
+	IsSupportCloudinit   bool                               `json:"IsSupportCloudinit" xml:"IsSupportCloudinit"`
 	OSName               string                             `json:"OSName" xml:"OSName"`
 	OSNameEn             string                             `json:"OSNameEn" xml:"OSNameEn"`
-	ImageFamily          string                             `json:"ImageFamily" xml:"ImageFamily"`
 	Architecture         string                             `json:"Architecture" xml:"Architecture"`
-	Size                 int                                `json:"Size" xml:"Size"`
-	IsSupportIoOptimized bool                               `json:"IsSupportIoOptimized" xml:"IsSupportIoOptimized"`
-	ResourceGroupId      string                             `json:"ResourceGroupId" xml:"ResourceGroupId"`
-	Description          string                             `json:"Description" xml:"Description"`
-	Usage                string                             `json:"Usage" xml:"Usage"`
-	IsCopied             bool                               `json:"IsCopied" xml:"IsCopied"`
-	ImageVersion         string                             `json:"ImageVersion" xml:"ImageVersion"`
-	OSType               string                             `json:"OSType" xml:"OSType"`
+	Status               string                             `json:"Status" xml:"Status"`
+	ProductCode          string                             `json:"ProductCode" xml:"ProductCode"`
 	IsSubscribed         bool                               `json:"IsSubscribed" xml:"IsSubscribed"`
-	IsSupportCloudinit   bool                               `json:"IsSupportCloudinit" xml:"IsSupportCloudinit"`
 	CreationTime         string                             `json:"CreationTime" xml:"CreationTime"`
-	ProductCode          string                             `json:"ProductCode" xml:"ProductCode"`
-	Progress             string                             `json:"Progress" xml:"Progress"`
-	Platform             string                             `json:"Platform" xml:"Platform"`
 	IsSelfShared         string                             `json:"IsSelfShared" xml:"IsSelfShared"`
-	ImageName            string                             `json:"ImageName" xml:"ImageName"`
-	Status               string                             `json:"Status" xml:"Status"`
-	Tags                 TagsInDescribeImageFromFamily      `json:"Tags" xml:"Tags"`
+	OSType               string                             `json:"OSType" xml:"OSType"`
+	Platform             string                             `json:"Platform" xml:"Platform"`
+	Usage                string                             `json:"Usage" xml:"Usage"`
+	IsCopied             bool                               `json:"IsCopied" xml:"IsCopied"`
+	ResourceGroupId      string                             `json:"ResourceGroupId" xml:"ResourceGroupId"`
 	DiskDeviceMappings   DiskDeviceMappingsInDescribeImages `json:"DiskDeviceMappings" xml:"DiskDeviceMappings"`
+	Tags                 TagsInDescribeImages               `json:"Tags" xml:"Tags"`
 }

+ 1 - 1
services/ecs/struct_images.go

@@ -17,5 +17,5 @@ package ecs
 
 // Images is a nested struct in ecs response
 type Images struct {
-	Image []Image `json:"Image" xml:"Image"`
+	Image []ImageInDescribeImages `json:"Image" xml:"Image"`
 }

+ 25 - 0
services/ecs/struct_inactive_disk_in_describe_instance_history_events.go

@@ -0,0 +1,25 @@
+package ecs
+
+//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.
+
+// InactiveDiskInDescribeInstanceHistoryEvents is a nested struct in ecs response
+type InactiveDiskInDescribeInstanceHistoryEvents struct {
+	CreationTime   string `json:"CreationTime" xml:"CreationTime"`
+	ReleaseTime    string `json:"ReleaseTime" xml:"ReleaseTime"`
+	DeviceType     string `json:"DeviceType" xml:"DeviceType"`
+	DeviceCategory string `json:"DeviceCategory" xml:"DeviceCategory"`
+	DeviceSize     string `json:"DeviceSize" xml:"DeviceSize"`
+}

+ 4 - 4
services/ecs/struct_inactive_disk.go → services/ecs/struct_inactive_disk_in_describe_instances_full_status.go

@@ -15,11 +15,11 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// InactiveDisk is a nested struct in ecs response
-type InactiveDisk struct {
-	DeviceCategory string `json:"DeviceCategory" xml:"DeviceCategory"`
-	ReleaseTime    string `json:"ReleaseTime" xml:"ReleaseTime"`
+// InactiveDiskInDescribeInstancesFullStatus is a nested struct in ecs response
+type InactiveDiskInDescribeInstancesFullStatus struct {
 	CreationTime   string `json:"CreationTime" xml:"CreationTime"`
+	ReleaseTime    string `json:"ReleaseTime" xml:"ReleaseTime"`
 	DeviceType     string `json:"DeviceType" xml:"DeviceType"`
+	DeviceCategory string `json:"DeviceCategory" xml:"DeviceCategory"`
 	DeviceSize     string `json:"DeviceSize" xml:"DeviceSize"`
 }

+ 1 - 1
services/ecs/struct_inactive_disks_in_describe_instance_history_events.go

@@ -17,5 +17,5 @@ package ecs
 
 // InactiveDisksInDescribeInstanceHistoryEvents is a nested struct in ecs response
 type InactiveDisksInDescribeInstanceHistoryEvents struct {
-	InactiveDisk []InactiveDisk `json:"InactiveDisk" xml:"InactiveDisk"`
+	InactiveDisk []InactiveDiskInDescribeInstanceHistoryEvents `json:"InactiveDisk" xml:"InactiveDisk"`
 }

+ 1 - 1
services/ecs/struct_inactive_disks_in_describe_instances_full_status.go

@@ -17,5 +17,5 @@ package ecs
 
 // InactiveDisksInDescribeInstancesFullStatus is a nested struct in ecs response
 type InactiveDisksInDescribeInstancesFullStatus struct {
-	InactiveDisk []InactiveDisk `json:"InactiveDisk" xml:"InactiveDisk"`
+	InactiveDisk []InactiveDiskInDescribeInstancesFullStatus `json:"InactiveDisk" xml:"InactiveDisk"`
 }

+ 4 - 4
services/ecs/struct_instance_full_status_type.go

@@ -17,8 +17,8 @@ package ecs
 
 // InstanceFullStatusType is a nested struct in ecs response
 type InstanceFullStatusType struct {
-	InstanceId              string                  `json:"InstanceId" xml:"InstanceId"`
-	Status                  Status                  `json:"Status" xml:"Status"`
-	HealthStatus            HealthStatus            `json:"HealthStatus" xml:"HealthStatus"`
-	ScheduledSystemEventSet ScheduledSystemEventSet `json:"ScheduledSystemEventSet" xml:"ScheduledSystemEventSet"`
+	InstanceId              string                                    `json:"InstanceId" xml:"InstanceId"`
+	Status                  StatusInDescribeInstancesFullStatus       `json:"Status" xml:"Status"`
+	HealthStatus            HealthStatusInDescribeInstancesFullStatus `json:"HealthStatus" xml:"HealthStatus"`
+	ScheduledSystemEventSet ScheduledSystemEventSet                   `json:"ScheduledSystemEventSet" xml:"ScheduledSystemEventSet"`
 }

+ 32 - 0
services/ecs/struct_instance_in_describe_auto_provisioning_group_instances.go

@@ -0,0 +1,32 @@
+package ecs
+
+//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.
+
+// InstanceInDescribeAutoProvisioningGroupInstances is a nested struct in ecs response
+type InstanceInDescribeAutoProvisioningGroupInstances struct {
+	InstanceId   string `json:"InstanceId" xml:"InstanceId"`
+	Status       string `json:"Status" xml:"Status"`
+	RegionId     string `json:"RegionId" xml:"RegionId"`
+	ZoneId       string `json:"ZoneId" xml:"ZoneId"`
+	CPU          int    `json:"CPU" xml:"CPU"`
+	Memory       int    `json:"Memory" xml:"Memory"`
+	InstanceType string `json:"InstanceType" xml:"InstanceType"`
+	IsSpot       bool   `json:"IsSpot" xml:"IsSpot"`
+	IoOptimized  bool   `json:"IoOptimized" xml:"IoOptimized"`
+	NetworkType  string `json:"NetworkType" xml:"NetworkType"`
+	OsType       string `json:"OsType" xml:"OsType"`
+	CreationTime string `json:"CreationTime" xml:"CreationTime"`
+}

+ 22 - 0
services/ecs/struct_instance_in_describe_dedicated_hosts.go

@@ -0,0 +1,22 @@
+package ecs
+
+//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.
+
+// InstanceInDescribeDedicatedHosts is a nested struct in ecs response
+type InstanceInDescribeDedicatedHosts struct {
+	InstanceId   string `json:"InstanceId" xml:"InstanceId"`
+	InstanceType string `json:"InstanceType" xml:"InstanceType"`
+}

+ 60 - 63
services/ecs/struct_instance.go → services/ecs/struct_instance_in_describe_instances.go

@@ -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"`
 }

+ 22 - 0
services/ecs/struct_instance_ram_role_set_in_describe_instance_ram_role.go

@@ -0,0 +1,22 @@
+package ecs
+
+//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.
+
+// InstanceRamRoleSetInDescribeInstanceRamRole is a nested struct in ecs response
+type InstanceRamRoleSetInDescribeInstanceRamRole struct {
+	InstanceId  string `json:"InstanceId" xml:"InstanceId"`
+	RamRoleName string `json:"RamRoleName" xml:"RamRoleName"`
+}

+ 2 - 2
services/ecs/struct_instance_ram_role_set.go → services/ecs/struct_instance_ram_role_set_in_detach_instance_ram_role.go

@@ -15,8 +15,8 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// InstanceRamRoleSet is a nested struct in ecs response
-type InstanceRamRoleSet struct {
+// InstanceRamRoleSetInDetachInstanceRamRole is a nested struct in ecs response
+type InstanceRamRoleSetInDetachInstanceRamRole struct {
 	InstanceId  string `json:"InstanceId" xml:"InstanceId"`
 	RamRoleName string `json:"RamRoleName" xml:"RamRoleName"`
 }

+ 1 - 1
services/ecs/struct_instance_ram_role_sets_in_describe_instance_ram_role.go

@@ -17,5 +17,5 @@ package ecs
 
 // InstanceRamRoleSetsInDescribeInstanceRamRole is a nested struct in ecs response
 type InstanceRamRoleSetsInDescribeInstanceRamRole struct {
-	InstanceRamRoleSet []InstanceRamRoleSet `json:"InstanceRamRoleSet" xml:"InstanceRamRoleSet"`
+	InstanceRamRoleSet []InstanceRamRoleSetInDescribeInstanceRamRole `json:"InstanceRamRoleSet" xml:"InstanceRamRoleSet"`
 }

+ 1 - 1
services/ecs/struct_instance_ram_role_sets_in_detach_instance_ram_role.go

@@ -17,5 +17,5 @@ package ecs
 
 // InstanceRamRoleSetsInDetachInstanceRamRole is a nested struct in ecs response
 type InstanceRamRoleSetsInDetachInstanceRamRole struct {
-	InstanceRamRoleSet []InstanceRamRoleSet `json:"InstanceRamRoleSet" xml:"InstanceRamRoleSet"`
+	InstanceRamRoleSet []InstanceRamRoleSetInDetachInstanceRamRole `json:"InstanceRamRoleSet" xml:"InstanceRamRoleSet"`
 }

+ 9 - 9
services/ecs/struct_instance_system_event_type.go

@@ -17,13 +17,13 @@ package ecs
 
 // InstanceSystemEventType is a nested struct in ecs response
 type InstanceSystemEventType struct {
-	InstanceId        string            `json:"InstanceId" xml:"InstanceId"`
-	EventId           string            `json:"EventId" xml:"EventId"`
-	EventPublishTime  string            `json:"EventPublishTime" xml:"EventPublishTime"`
-	NotBefore         string            `json:"NotBefore" xml:"NotBefore"`
-	EventFinishTime   string            `json:"EventFinishTime" xml:"EventFinishTime"`
-	Reason            string            `json:"Reason" xml:"Reason"`
-	EventType         EventType         `json:"EventType" xml:"EventType"`
-	EventCycleStatus  EventCycleStatus  `json:"EventCycleStatus" xml:"EventCycleStatus"`
-	ExtendedAttribute ExtendedAttribute `json:"ExtendedAttribute" xml:"ExtendedAttribute"`
+	InstanceId        string                                           `json:"InstanceId" xml:"InstanceId"`
+	EventId           string                                           `json:"EventId" xml:"EventId"`
+	EventPublishTime  string                                           `json:"EventPublishTime" xml:"EventPublishTime"`
+	NotBefore         string                                           `json:"NotBefore" xml:"NotBefore"`
+	EventFinishTime   string                                           `json:"EventFinishTime" xml:"EventFinishTime"`
+	Reason            string                                           `json:"Reason" xml:"Reason"`
+	EventType         EventTypeInDescribeInstanceHistoryEvents         `json:"EventType" xml:"EventType"`
+	EventCycleStatus  EventCycleStatusInDescribeInstanceHistoryEvents  `json:"EventCycleStatus" xml:"EventCycleStatus"`
+	ExtendedAttribute ExtendedAttributeInDescribeInstanceHistoryEvents `json:"ExtendedAttribute" xml:"ExtendedAttribute"`
 }

+ 24 - 0
services/ecs/struct_instance_type_in_describe_image_support_instance_types.go

@@ -0,0 +1,24 @@
+package ecs
+
+//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.
+
+// InstanceTypeInDescribeImageSupportInstanceTypes is a nested struct in ecs response
+type InstanceTypeInDescribeImageSupportInstanceTypes struct {
+	InstanceTypeId     string  `json:"InstanceTypeId" xml:"InstanceTypeId"`
+	CpuCoreCount       int     `json:"CpuCoreCount" xml:"CpuCoreCount"`
+	MemorySize         float64 `json:"MemorySize" xml:"MemorySize"`
+	InstanceTypeFamily string  `json:"InstanceTypeFamily" xml:"InstanceTypeFamily"`
+}

+ 16 - 20
services/ecs/struct_instance_type.go → services/ecs/struct_instance_type_in_describe_instance_types.go

@@ -15,29 +15,25 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// InstanceType is a nested struct in ecs response
-type InstanceType struct {
-	MemorySize                  float64 `json:"MemorySize" xml:"MemorySize"`
-	EniPrivateIpAddressQuantity int     `json:"EniPrivateIpAddressQuantity" xml:"EniPrivateIpAddressQuantity"`
-	InstancePpsRx               int64   `json:"InstancePpsRx" xml:"InstancePpsRx"`
-	CpuCoreCount                int     `json:"CpuCoreCount" xml:"CpuCoreCount"`
-	Cores                       int     `json:"Cores" xml:"Cores"`
-	Memory                      int     `json:"Memory" xml:"Memory"`
+// InstanceTypeInDescribeInstanceTypes is a nested struct in ecs response
+type InstanceTypeInDescribeInstanceTypes struct {
 	InstanceTypeId              string  `json:"InstanceTypeId" xml:"InstanceTypeId"`
-	InstanceBandwidthRx         int     `json:"InstanceBandwidthRx" xml:"InstanceBandwidthRx"`
-	BaselineCredit              int     `json:"BaselineCredit" xml:"BaselineCredit"`
-	InstanceType                string  `json:"InstanceType" xml:"InstanceType"`
-	EniQuantity                 int     `json:"EniQuantity" xml:"EniQuantity"`
-	GPUAmount                   int     `json:"GPUAmount" xml:"GPUAmount"`
-	Generation                  string  `json:"Generation" xml:"Generation"`
-	SupportIoOptimized          string  `json:"SupportIoOptimized" xml:"SupportIoOptimized"`
+	CpuCoreCount                int     `json:"CpuCoreCount" xml:"CpuCoreCount"`
+	MemorySize                  float64 `json:"MemorySize" xml:"MemorySize"`
 	InstanceTypeFamily          string  `json:"InstanceTypeFamily" xml:"InstanceTypeFamily"`
-	InitialCredit               int     `json:"InitialCredit" xml:"InitialCredit"`
-	InstancePpsTx               int64   `json:"InstancePpsTx" xml:"InstancePpsTx"`
-	LocalStorageAmount          int     `json:"LocalStorageAmount" xml:"LocalStorageAmount"`
-	InstanceFamilyLevel         string  `json:"InstanceFamilyLevel" xml:"InstanceFamilyLevel"`
 	LocalStorageCapacity        int64   `json:"LocalStorageCapacity" xml:"LocalStorageCapacity"`
-	GPUSpec                     string  `json:"GPUSpec" xml:"GPUSpec"`
+	LocalStorageAmount          int     `json:"LocalStorageAmount" xml:"LocalStorageAmount"`
 	LocalStorageCategory        string  `json:"LocalStorageCategory" xml:"LocalStorageCategory"`
+	GPUAmount                   int     `json:"GPUAmount" xml:"GPUAmount"`
+	GPUSpec                     string  `json:"GPUSpec" xml:"GPUSpec"`
+	InitialCredit               int     `json:"InitialCredit" xml:"InitialCredit"`
+	BaselineCredit              int     `json:"BaselineCredit" xml:"BaselineCredit"`
+	EniQuantity                 int     `json:"EniQuantity" xml:"EniQuantity"`
+	EniPrivateIpAddressQuantity int     `json:"EniPrivateIpAddressQuantity" xml:"EniPrivateIpAddressQuantity"`
+	EniIpv6AddressQuantity      int     `json:"EniIpv6AddressQuantity" xml:"EniIpv6AddressQuantity"`
+	InstanceBandwidthRx         int     `json:"InstanceBandwidthRx" xml:"InstanceBandwidthRx"`
 	InstanceBandwidthTx         int     `json:"InstanceBandwidthTx" xml:"InstanceBandwidthTx"`
+	InstancePpsRx               int64   `json:"InstancePpsRx" xml:"InstancePpsRx"`
+	InstancePpsTx               int64   `json:"InstancePpsTx" xml:"InstancePpsTx"`
+	InstanceFamilyLevel         string  `json:"InstanceFamilyLevel" xml:"InstanceFamilyLevel"`
 }

+ 26 - 0
services/ecs/struct_instance_type_in_describe_recommend_instance_type.go

@@ -0,0 +1,26 @@
+package ecs
+
+//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.
+
+// InstanceTypeInDescribeRecommendInstanceType is a nested struct in ecs response
+type InstanceTypeInDescribeRecommendInstanceType struct {
+	Generation         string `json:"Generation" xml:"Generation"`
+	InstanceTypeFamily string `json:"InstanceTypeFamily" xml:"InstanceTypeFamily"`
+	InstanceType       string `json:"InstanceType" xml:"InstanceType"`
+	SupportIoOptimized string `json:"SupportIoOptimized" xml:"SupportIoOptimized"`
+	Cores              int    `json:"Cores" xml:"Cores"`
+	Memory             int    `json:"Memory" xml:"Memory"`
+}

+ 1 - 1
services/ecs/struct_instance_types_in_describe_image_support_instance_types.go

@@ -17,5 +17,5 @@ package ecs
 
 // InstanceTypesInDescribeImageSupportInstanceTypes is a nested struct in ecs response
 type InstanceTypesInDescribeImageSupportInstanceTypes struct {
-	InstanceType []InstanceType `json:"InstanceType" xml:"InstanceType"`
+	InstanceType []InstanceTypeInDescribeImageSupportInstanceTypes `json:"InstanceType" xml:"InstanceType"`
 }

+ 1 - 1
services/ecs/struct_instance_types_in_describe_instance_types.go

@@ -17,5 +17,5 @@ package ecs
 
 // InstanceTypesInDescribeInstanceTypes is a nested struct in ecs response
 type InstanceTypesInDescribeInstanceTypes struct {
-	InstanceType []InstanceType `json:"InstanceType" xml:"InstanceType"`
+	InstanceType []InstanceTypeInDescribeInstanceTypes `json:"InstanceType" xml:"InstanceType"`
 }

+ 1 - 1
services/ecs/struct_instances_in_describe_auto_provisioning_group_instances.go

@@ -17,5 +17,5 @@ package ecs
 
 // InstancesInDescribeAutoProvisioningGroupInstances is a nested struct in ecs response
 type InstancesInDescribeAutoProvisioningGroupInstances struct {
-	Instance []Instance `json:"Instance" xml:"Instance"`
+	Instance []InstanceInDescribeAutoProvisioningGroupInstances `json:"Instance" xml:"Instance"`
 }

+ 1 - 1
services/ecs/struct_instances_in_describe_dedicated_hosts.go

@@ -17,5 +17,5 @@ package ecs
 
 // InstancesInDescribeDedicatedHosts is a nested struct in ecs response
 type InstancesInDescribeDedicatedHosts struct {
-	Instance []Instance `json:"Instance" xml:"Instance"`
+	Instance []InstanceInDescribeDedicatedHosts `json:"Instance" xml:"Instance"`
 }

+ 1 - 1
services/ecs/struct_instances_in_describe_instances.go

@@ -17,5 +17,5 @@ package ecs
 
 // InstancesInDescribeInstances is a nested struct in ecs response
 type InstancesInDescribeInstances struct {
-	Instance []Instance `json:"Instance" xml:"Instance"`
+	Instance []InstanceInDescribeInstances `json:"Instance" xml:"Instance"`
 }

+ 0 - 35
services/ecs/struct_invocation.go

@@ -1,35 +0,0 @@
-package ecs
-
-//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.
-
-// Invocation is a nested struct in ecs response
-type Invocation struct {
-	PageNumber        int64             `json:"PageNumber" xml:"PageNumber"`
-	CommandId         string            `json:"CommandId" xml:"CommandId"`
-	TotalCount        int64             `json:"TotalCount" xml:"TotalCount"`
-	PageSize          int64             `json:"PageSize" xml:"PageSize"`
-	Timed             bool              `json:"Timed" xml:"Timed"`
-	CreationTime      string            `json:"CreationTime" xml:"CreationTime"`
-	Frequency         string            `json:"Frequency" xml:"Frequency"`
-	CommandName       string            `json:"CommandName" xml:"CommandName"`
-	Parameters        string            `json:"Parameters" xml:"Parameters"`
-	InvokeId          string            `json:"InvokeId" xml:"InvokeId"`
-	InvokeStatus      string            `json:"InvokeStatus" xml:"InvokeStatus"`
-	CommandContent    string            `json:"CommandContent" xml:"CommandContent"`
-	CommandType       string            `json:"CommandType" xml:"CommandType"`
-	InvokeInstances   InvokeInstances   `json:"InvokeInstances" xml:"InvokeInstances"`
-	InvocationResults InvocationResults `json:"InvocationResults" xml:"InvocationResults"`
-}

+ 24 - 0
services/ecs/struct_invocation_in_describe_invocation_results.go

@@ -0,0 +1,24 @@
+package ecs
+
+//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.
+
+// InvocationInDescribeInvocationResults is a nested struct in ecs response
+type InvocationInDescribeInvocationResults struct {
+	PageSize          int64             `json:"PageSize" xml:"PageSize"`
+	PageNumber        int64             `json:"PageNumber" xml:"PageNumber"`
+	TotalCount        int64             `json:"TotalCount" xml:"TotalCount"`
+	InvocationResults InvocationResults `json:"InvocationResults" xml:"InvocationResults"`
+}

+ 31 - 0
services/ecs/struct_invocation_in_describe_invocations.go

@@ -0,0 +1,31 @@
+package ecs
+
+//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.
+
+// InvocationInDescribeInvocations is a nested struct in ecs response
+type InvocationInDescribeInvocations struct {
+	InvokeId        string          `json:"InvokeId" xml:"InvokeId"`
+	CreationTime    string          `json:"CreationTime" xml:"CreationTime"`
+	CommandId       string          `json:"CommandId" xml:"CommandId"`
+	CommandType     string          `json:"CommandType" xml:"CommandType"`
+	CommandName     string          `json:"CommandName" xml:"CommandName"`
+	CommandContent  string          `json:"CommandContent" xml:"CommandContent"`
+	Frequency       string          `json:"Frequency" xml:"Frequency"`
+	Timed           bool            `json:"Timed" xml:"Timed"`
+	InvokeStatus    string          `json:"InvokeStatus" xml:"InvokeStatus"`
+	Parameters      string          `json:"Parameters" xml:"Parameters"`
+	InvokeInstances InvokeInstances `json:"InvokeInstances" xml:"InvokeInstances"`
+}

+ 1 - 1
services/ecs/struct_invocations.go

@@ -17,5 +17,5 @@ package ecs
 
 // Invocations is a nested struct in ecs response
 type Invocations struct {
-	Invocation []Invocation `json:"Invocation" xml:"Invocation"`
+	Invocation []InvocationInDescribeInvocations `json:"Invocation" xml:"Invocation"`
 }

+ 21 - 0
services/ecs/struct_lock_reason_in_describe_eip_addresses.go

@@ -0,0 +1,21 @@
+package ecs
+
+//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.
+
+// LockReasonInDescribeEipAddresses is a nested struct in ecs response
+type LockReasonInDescribeEipAddresses struct {
+	LockReason string `json:"LockReason" xml:"LockReason"`
+}

+ 21 - 0
services/ecs/struct_lock_reason_in_describe_instance_attribute.go

@@ -0,0 +1,21 @@
+package ecs
+
+//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.
+
+// LockReasonInDescribeInstanceAttribute is a nested struct in ecs response
+type LockReasonInDescribeInstanceAttribute struct {
+	LockReason string `json:"LockReason" xml:"LockReason"`
+}

+ 2 - 2
services/ecs/struct_lock_reason.go → services/ecs/struct_lock_reason_in_describe_instances.go

@@ -15,8 +15,8 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// LockReason is a nested struct in ecs response
-type LockReason struct {
+// LockReasonInDescribeInstances is a nested struct in ecs response
+type LockReasonInDescribeInstances struct {
 	LockReason string `json:"LockReason" xml:"LockReason"`
 	LockMsg    string `json:"LockMsg" xml:"LockMsg"`
 }

+ 23 - 0
services/ecs/struct_metadata_options.go

@@ -0,0 +1,23 @@
+package ecs
+
+//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.
+
+// MetadataOptions is a nested struct in ecs response
+type MetadataOptions struct {
+	HttpEndpoint            string `json:"HttpEndpoint" xml:"HttpEndpoint"`
+	HttpTokens              string `json:"HttpTokens" xml:"HttpTokens"`
+	HttpPutResponseHopLimit int    `json:"HttpPutResponseHopLimit" xml:"HttpPutResponseHopLimit"`
+}

+ 23 - 0
services/ecs/struct_network_interface_in_describe_instances.go

@@ -0,0 +1,23 @@
+package ecs
+
+//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.
+
+// NetworkInterfaceInDescribeInstances is a nested struct in ecs response
+type NetworkInterfaceInDescribeInstances struct {
+	NetworkInterfaceId string `json:"NetworkInterfaceId" xml:"NetworkInterfaceId"`
+	MacAddress         string `json:"MacAddress" xml:"MacAddress"`
+	PrimaryIpAddress   string `json:"PrimaryIpAddress" xml:"PrimaryIpAddress"`
+}

+ 5 - 7
services/ecs/struct_network_interface.go → services/ecs/struct_network_interface_in_describe_launch_template_versions.go

@@ -15,13 +15,11 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// NetworkInterface is a nested struct in ecs response
-type NetworkInterface struct {
-	SecurityGroupId      string `json:"SecurityGroupId" xml:"SecurityGroupId"`
-	VSwitchId            string `json:"VSwitchId" xml:"VSwitchId"`
-	NetworkInterfaceId   string `json:"NetworkInterfaceId" xml:"NetworkInterfaceId"`
+// NetworkInterfaceInDescribeLaunchTemplateVersions is a nested struct in ecs response
+type NetworkInterfaceInDescribeLaunchTemplateVersions struct {
 	PrimaryIpAddress     string `json:"PrimaryIpAddress" xml:"PrimaryIpAddress"`
-	MacAddress           string `json:"MacAddress" xml:"MacAddress"`
-	Description          string `json:"Description" xml:"Description"`
+	VSwitchId            string `json:"VSwitchId" xml:"VSwitchId"`
+	SecurityGroupId      string `json:"SecurityGroupId" xml:"SecurityGroupId"`
 	NetworkInterfaceName string `json:"NetworkInterfaceName" xml:"NetworkInterfaceName"`
+	Description          string `json:"Description" xml:"Description"`
 }

+ 4 - 4
services/ecs/struct_network_interface_permission.go → services/ecs/struct_network_interface_permission_in_create_network_interface_permission.go

@@ -15,12 +15,12 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// NetworkInterfacePermission is a nested struct in ecs response
-type NetworkInterfacePermission struct {
-	Permission                   string `json:"Permission" xml:"Permission"`
+// NetworkInterfacePermissionInCreateNetworkInterfacePermission is a nested struct in ecs response
+type NetworkInterfacePermissionInCreateNetworkInterfacePermission struct {
 	AccountId                    int64  `json:"AccountId" xml:"AccountId"`
-	NetworkInterfaceId           string `json:"NetworkInterfaceId" xml:"NetworkInterfaceId"`
 	ServiceName                  string `json:"ServiceName" xml:"ServiceName"`
+	NetworkInterfaceId           string `json:"NetworkInterfaceId" xml:"NetworkInterfaceId"`
 	NetworkInterfacePermissionId string `json:"NetworkInterfacePermissionId" xml:"NetworkInterfacePermissionId"`
+	Permission                   string `json:"Permission" xml:"Permission"`
 	PermissionState              string `json:"PermissionState" xml:"PermissionState"`
 }

+ 26 - 0
services/ecs/struct_network_interface_permission_in_describe_network_interface_permissions.go

@@ -0,0 +1,26 @@
+package ecs
+
+//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.
+
+// NetworkInterfacePermissionInDescribeNetworkInterfacePermissions is a nested struct in ecs response
+type NetworkInterfacePermissionInDescribeNetworkInterfacePermissions struct {
+	AccountId                    int64  `json:"AccountId" xml:"AccountId"`
+	ServiceName                  string `json:"ServiceName" xml:"ServiceName"`
+	NetworkInterfaceId           string `json:"NetworkInterfaceId" xml:"NetworkInterfaceId"`
+	NetworkInterfacePermissionId string `json:"NetworkInterfacePermissionId" xml:"NetworkInterfacePermissionId"`
+	Permission                   string `json:"Permission" xml:"Permission"`
+	PermissionState              string `json:"PermissionState" xml:"PermissionState"`
+}

+ 1 - 1
services/ecs/struct_network_interface_permissions.go

@@ -17,5 +17,5 @@ package ecs
 
 // NetworkInterfacePermissions is a nested struct in ecs response
 type NetworkInterfacePermissions struct {
-	NetworkInterfacePermission []NetworkInterfacePermission `json:"NetworkInterfacePermission" xml:"NetworkInterfacePermission"`
+	NetworkInterfacePermission []NetworkInterfacePermissionInDescribeNetworkInterfacePermissions `json:"NetworkInterfacePermission" xml:"NetworkInterfacePermission"`
 }

+ 22 - 22
services/ecs/struct_network_interface_set.go

@@ -17,26 +17,26 @@ package ecs
 
 // NetworkInterfaceSet is a nested struct in ecs response
 type NetworkInterfaceSet struct {
-	NetworkInterfaceId   string                                      `json:"NetworkInterfaceId" xml:"NetworkInterfaceId"`
-	Status               string                                      `json:"Status" xml:"Status"`
-	Type                 string                                      `json:"Type" xml:"Type"`
-	VpcId                string                                      `json:"VpcId" xml:"VpcId"`
-	VSwitchId            string                                      `json:"VSwitchId" xml:"VSwitchId"`
-	ZoneId               string                                      `json:"ZoneId" xml:"ZoneId"`
-	PrivateIpAddress     string                                      `json:"PrivateIpAddress" xml:"PrivateIpAddress"`
-	MacAddress           string                                      `json:"MacAddress" xml:"MacAddress"`
-	NetworkInterfaceName string                                      `json:"NetworkInterfaceName" xml:"NetworkInterfaceName"`
-	Description          string                                      `json:"Description" xml:"Description"`
-	InstanceId           string                                      `json:"InstanceId" xml:"InstanceId"`
-	CreationTime         string                                      `json:"CreationTime" xml:"CreationTime"`
-	ResourceGroupId      string                                      `json:"ResourceGroupId" xml:"ResourceGroupId"`
-	ServiceID            int64                                       `json:"ServiceID" xml:"ServiceID"`
-	ServiceManaged       bool                                        `json:"ServiceManaged" xml:"ServiceManaged"`
-	QueueNumber          int                                         `json:"QueueNumber" xml:"QueueNumber"`
-	OwnerId              string                                      `json:"OwnerId" xml:"OwnerId"`
-	SecurityGroupIds     SecurityGroupIdsInDescribeNetworkInterfaces `json:"SecurityGroupIds" xml:"SecurityGroupIds"`
-	AssociatedPublicIp   AssociatedPublicIp                          `json:"AssociatedPublicIp" xml:"AssociatedPublicIp"`
-	PrivateIpSets        PrivateIpSets                               `json:"PrivateIpSets" xml:"PrivateIpSets"`
-	Ipv6Sets             Ipv6Sets                                    `json:"Ipv6Sets" xml:"Ipv6Sets"`
-	Tags                 TagsInDescribeNetworkInterfaces             `json:"Tags" xml:"Tags"`
+	NetworkInterfaceId   string                                        `json:"NetworkInterfaceId" xml:"NetworkInterfaceId"`
+	Status               string                                        `json:"Status" xml:"Status"`
+	Type                 string                                        `json:"Type" xml:"Type"`
+	VpcId                string                                        `json:"VpcId" xml:"VpcId"`
+	VSwitchId            string                                        `json:"VSwitchId" xml:"VSwitchId"`
+	ZoneId               string                                        `json:"ZoneId" xml:"ZoneId"`
+	PrivateIpAddress     string                                        `json:"PrivateIpAddress" xml:"PrivateIpAddress"`
+	MacAddress           string                                        `json:"MacAddress" xml:"MacAddress"`
+	NetworkInterfaceName string                                        `json:"NetworkInterfaceName" xml:"NetworkInterfaceName"`
+	Description          string                                        `json:"Description" xml:"Description"`
+	InstanceId           string                                        `json:"InstanceId" xml:"InstanceId"`
+	CreationTime         string                                        `json:"CreationTime" xml:"CreationTime"`
+	ResourceGroupId      string                                        `json:"ResourceGroupId" xml:"ResourceGroupId"`
+	ServiceID            int64                                         `json:"ServiceID" xml:"ServiceID"`
+	ServiceManaged       bool                                          `json:"ServiceManaged" xml:"ServiceManaged"`
+	QueueNumber          int                                           `json:"QueueNumber" xml:"QueueNumber"`
+	OwnerId              string                                        `json:"OwnerId" xml:"OwnerId"`
+	SecurityGroupIds     SecurityGroupIdsInDescribeNetworkInterfaces   `json:"SecurityGroupIds" xml:"SecurityGroupIds"`
+	AssociatedPublicIp   AssociatedPublicIpInDescribeNetworkInterfaces `json:"AssociatedPublicIp" xml:"AssociatedPublicIp"`
+	PrivateIpSets        PrivateIpSets                                 `json:"PrivateIpSets" xml:"PrivateIpSets"`
+	Ipv6Sets             Ipv6Sets                                      `json:"Ipv6Sets" xml:"Ipv6Sets"`
+	Tags                 TagsInDescribeNetworkInterfaces               `json:"Tags" xml:"Tags"`
 }

+ 1 - 1
services/ecs/struct_network_interfaces_in_describe_instances.go

@@ -17,5 +17,5 @@ package ecs
 
 // NetworkInterfacesInDescribeInstances is a nested struct in ecs response
 type NetworkInterfacesInDescribeInstances struct {
-	NetworkInterface []NetworkInterface `json:"NetworkInterface" xml:"NetworkInterface"`
+	NetworkInterface []NetworkInterfaceInDescribeInstances `json:"NetworkInterface" xml:"NetworkInterface"`
 }

+ 1 - 1
services/ecs/struct_network_interfaces_in_describe_launch_template_versions.go

@@ -17,5 +17,5 @@ package ecs
 
 // NetworkInterfacesInDescribeLaunchTemplateVersions is a nested struct in ecs response
 type NetworkInterfacesInDescribeLaunchTemplateVersions struct {
-	NetworkInterface []NetworkInterface `json:"NetworkInterface" xml:"NetworkInterface"`
+	NetworkInterface []NetworkInterfaceInDescribeLaunchTemplateVersions `json:"NetworkInterface" xml:"NetworkInterface"`
 }

+ 21 - 0
services/ecs/struct_operation_lock_in_describe_dedicated_hosts.go

@@ -0,0 +1,21 @@
+package ecs
+
+//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.
+
+// OperationLockInDescribeDedicatedHosts is a nested struct in ecs response
+type OperationLockInDescribeDedicatedHosts struct {
+	LockReason string `json:"LockReason" xml:"LockReason"`
+}

+ 2 - 2
services/ecs/struct_operation_lock.go → services/ecs/struct_operation_lock_in_describe_disks.go

@@ -15,7 +15,7 @@ package ecs
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// OperationLock is a nested struct in ecs response
-type OperationLock struct {
+// OperationLockInDescribeDisks is a nested struct in ecs response
+type OperationLockInDescribeDisks struct {
 	LockReason string `json:"LockReason" xml:"LockReason"`
 }

+ 21 - 0
services/ecs/struct_operation_lock_in_describe_reserved_instances.go

@@ -0,0 +1,21 @@
+package ecs
+
+//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.
+
+// OperationLockInDescribeReservedInstances is a nested struct in ecs response
+type OperationLockInDescribeReservedInstances struct {
+	LockReason string `json:"LockReason" xml:"LockReason"`
+}

+ 1 - 1
services/ecs/struct_operation_locks_in_describe_dedicated_hosts.go

@@ -17,5 +17,5 @@ package ecs
 
 // OperationLocksInDescribeDedicatedHosts is a nested struct in ecs response
 type OperationLocksInDescribeDedicatedHosts struct {
-	OperationLock []OperationLock `json:"OperationLock" xml:"OperationLock"`
+	OperationLock []OperationLockInDescribeDedicatedHosts `json:"OperationLock" xml:"OperationLock"`
 }

+ 1 - 1
services/ecs/struct_operation_locks_in_describe_disks.go

@@ -17,5 +17,5 @@ package ecs
 
 // OperationLocksInDescribeDisks is a nested struct in ecs response
 type OperationLocksInDescribeDisks struct {
-	OperationLock []OperationLock `json:"OperationLock" xml:"OperationLock"`
+	OperationLock []OperationLockInDescribeDisks `json:"OperationLock" xml:"OperationLock"`
 }

+ 1 - 1
services/ecs/struct_operation_locks_in_describe_eip_addresses.go

@@ -17,5 +17,5 @@ package ecs
 
 // OperationLocksInDescribeEipAddresses is a nested struct in ecs response
 type OperationLocksInDescribeEipAddresses struct {
-	LockReason []LockReason `json:"LockReason" xml:"LockReason"`
+	LockReason []LockReasonInDescribeEipAddresses `json:"LockReason" xml:"LockReason"`
 }

+ 1 - 1
services/ecs/struct_operation_locks_in_describe_instance_attribute.go

@@ -17,5 +17,5 @@ package ecs
 
 // OperationLocksInDescribeInstanceAttribute is a nested struct in ecs response
 type OperationLocksInDescribeInstanceAttribute struct {
-	LockReason []LockReason `json:"LockReason" xml:"LockReason"`
+	LockReason []LockReasonInDescribeInstanceAttribute `json:"LockReason" xml:"LockReason"`
 }

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác