Skip to content

Commit

Permalink
ScalingGroup support spot replace on demand instance.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Dec 2, 2024
1 parent a51e821 commit 55e1f1c
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-ess/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-ess/aliyunsdkess/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.3.26'
__version__ = '2.3.27'
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 55e1f1c

Please sign in to comment.