Skip to content

Commit

Permalink
ScaleWithAdjustment supports ECI overrides.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Dec 6, 2023
1 parent 11d1324 commit 062afc4
Show file tree
Hide file tree
Showing 3 changed files with 10 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 @@
2023-12-06 Version: 2.3.16
- ScaleWithAdjustment supports ECI overrides.

2023-12-04 Version: 2.3.15
- ScalingConfiguration support StorageSet.

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.15'
__version__ = '2.3.16'
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

from aliyunsdkcore.request import RpcRequest
from aliyunsdkess.endpoint import endpoint_data
import json

class ScaleWithAdjustmentRequest(RpcRequest):

Expand Down Expand Up @@ -61,6 +62,11 @@ def get_AdjustmentType(self): # String

def set_AdjustmentType(self, AdjustmentType): # String
self.add_query_param('AdjustmentType', AdjustmentType)
def get_Overrides(self): # Struct
return self.get_query_params().get('Overrides')

def set_Overrides(self, Overrides): # Struct
self.add_query_param("Overrides", json.dumps(Overrides))
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')

Expand Down

0 comments on commit 062afc4

Please sign in to comment.