diff --git a/aliyun-python-sdk-ess/ChangeLog.txt b/aliyun-python-sdk-ess/ChangeLog.txt index 6013f22c8..25cc796bc 100644 --- a/aliyun-python-sdk-ess/ChangeLog.txt +++ b/aliyun-python-sdk-ess/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-12-02 Version: 2.3.27 +- ScalingGroup support spot replace on demand instance. + 2024-11-12 Version: 2.3.26 - ScalingConfiguration supoort ConfidentialComputingMode. diff --git a/aliyun-python-sdk-ess/aliyunsdkess/__init__.py b/aliyun-python-sdk-ess/aliyunsdkess/__init__.py index aea4e96be..8e78e67c6 100644 --- a/aliyun-python-sdk-ess/aliyunsdkess/__init__.py +++ b/aliyun-python-sdk-ess/aliyunsdkess/__init__.py @@ -1 +1 @@ -__version__ = '2.3.26' \ No newline at end of file +__version__ = '2.3.27' \ No newline at end of file diff --git a/aliyun-python-sdk-ess/aliyunsdkess/request/v20140828/DescribeElasticStrengthRequest.py b/aliyun-python-sdk-ess/aliyunsdkess/request/v20140828/DescribeElasticStrengthRequest.py index c1fa9703a..a5e43c57a 100644 --- a/aliyun-python-sdk-ess/aliyunsdkess/request/v20140828/DescribeElasticStrengthRequest.py +++ b/aliyun-python-sdk-ess/aliyunsdkess/request/v20140828/DescribeElasticStrengthRequest.py @@ -31,31 +31,68 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_ImageId(self): # String + return self.get_query_params().get('ImageId') + + def set_ImageId(self, ImageId): # String + self.add_query_param('ImageId', ImageId) + def get_DataDiskCategoriess(self): # RepeatList + return self.get_query_params().get('DataDiskCategories') + + def set_DataDiskCategoriess(self, DataDiskCategories): # RepeatList + for depth1 in range(len(DataDiskCategories)): + self.add_query_param('DataDiskCategories.' + str(depth1 + 1), DataDiskCategories[depth1]) def get_ScalingGroupId(self): # String return self.get_query_params().get('ScalingGroupId') def set_ScalingGroupId(self, ScalingGroupId): # String self.add_query_param('ScalingGroupId', ScalingGroupId) + def get_VSwitchIdss(self): # RepeatList + return self.get_query_params().get('VSwitchIds') + + def set_VSwitchIdss(self, VSwitchIds): # RepeatList + for depth1 in range(len(VSwitchIds)): + self.add_query_param('VSwitchIds.' + str(depth1 + 1), VSwitchIds[depth1]) def get_InstanceTypess(self): # RepeatList return self.get_query_params().get('InstanceTypes') def set_InstanceTypess(self, InstanceTypes): # RepeatList for depth1 in range(len(InstanceTypes)): self.add_query_param('InstanceTypes.' + str(depth1 + 1), InstanceTypes[depth1]) + def get_ImageName(self): # String + return self.get_query_params().get('ImageName') + + def set_ImageName(self, ImageName): # String + self.add_query_param('ImageName', ImageName) def get_ScalingGroupIdss(self): # RepeatList return self.get_query_params().get('ScalingGroupIds') def set_ScalingGroupIdss(self, ScalingGroupIds): # RepeatList for depth1 in range(len(ScalingGroupIds)): self.add_query_param('ScalingGroupIds.' + str(depth1 + 1), ScalingGroupIds[depth1]) + def get_Ipv6AddressCount(self): # Integer + return self.get_query_params().get('Ipv6AddressCount') + + def set_Ipv6AddressCount(self, Ipv6AddressCount): # Integer + self.add_query_param('Ipv6AddressCount', Ipv6AddressCount) def get_SystemDiskCategoriess(self): # RepeatList return self.get_query_params().get('SystemDiskCategories') def set_SystemDiskCategoriess(self, SystemDiskCategories): # RepeatList for depth1 in range(len(SystemDiskCategories)): self.add_query_param('SystemDiskCategories.' + str(depth1 + 1), SystemDiskCategories[depth1]) + def get_SpotStrategy(self): # String + return self.get_query_params().get('SpotStrategy') + + def set_SpotStrategy(self, SpotStrategy): # String + self.add_query_param('SpotStrategy', SpotStrategy) def get_PriorityStrategy(self): # String return self.get_query_params().get('PriorityStrategy') def set_PriorityStrategy(self, PriorityStrategy): # String self.add_query_param('PriorityStrategy', PriorityStrategy) + def get_ImageFamily(self): # String + return self.get_query_params().get('ImageFamily') + + def set_ImageFamily(self, ImageFamily): # String + self.add_query_param('ImageFamily', ImageFamily)