diff --git a/ChangeLog.txt b/ChangeLog.txt index 7edd8c1e5..5c9136d8c 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2024-10-31 Version: v1.63.45 +- Generated 2014-05-26 for `Ecs`. +- DescribeInstanceTypes add CpuOptions. + 2024-10-30 Version: v1.63.44 - Generated 2016-11-01 for `live`. - Update to support new apis. diff --git a/services/ecs/struct_cpu_options.go b/services/ecs/struct_cpu_options.go index afce7920a..650a59197 100644 --- a/services/ecs/struct_cpu_options.go +++ b/services/ecs/struct_cpu_options.go @@ -17,8 +17,9 @@ package ecs // CpuOptions is a nested struct in ecs response type CpuOptions struct { - Numa string `json:"Numa" xml:"Numa"` - CoreCount int `json:"CoreCount" xml:"CoreCount"` - ThreadsPerCore int `json:"ThreadsPerCore" xml:"ThreadsPerCore"` - TopologyType string `json:"TopologyType" xml:"TopologyType"` + CoreCount int `json:"CoreCount" xml:"CoreCount"` + Numa string `json:"Numa" xml:"Numa"` + TopologyType string `json:"TopologyType" xml:"TopologyType"` + ThreadsPerCore int `json:"ThreadsPerCore" xml:"ThreadsPerCore"` + SupportedTopologyTypes SupportedTopologyTypes `json:"SupportedTopologyTypes" xml:"SupportedTopologyTypes"` } diff --git a/services/ecs/struct_instance_type.go b/services/ecs/struct_instance_type.go index 352f6fc84..1dbc4ec36 100644 --- a/services/ecs/struct_instance_type.go +++ b/services/ecs/struct_instance_type.go @@ -61,5 +61,6 @@ type InstanceType struct { PhysicalProcessorModel string `json:"PhysicalProcessorModel" xml:"PhysicalProcessorModel"` SupportedBootModes SupportedBootModes `json:"SupportedBootModes" xml:"SupportedBootModes"` EnhancedNetwork EnhancedNetwork `json:"EnhancedNetwork" xml:"EnhancedNetwork"` + CpuOptions CpuOptions `json:"CpuOptions" xml:"CpuOptions"` NetworkCards NetworkCards `json:"NetworkCards" xml:"NetworkCards"` } diff --git a/services/ecs/struct_supported_topology_types.go b/services/ecs/struct_supported_topology_types.go new file mode 100644 index 000000000..6431d270f --- /dev/null +++ b/services/ecs/struct_supported_topology_types.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. + +// SupportedTopologyTypes is a nested struct in ecs response +type SupportedTopologyTypes struct { + SupportedTopologyType []string `json:"SupportedTopologyType" xml:"SupportedTopologyType"` +}