File tree 8 files changed +44
-11
lines changed
8 files changed +44
-11
lines changed Original file line number Diff line number Diff line change
1
+ 2025-04-25 Version: 2.3.32
2
+ - Generated 2014-08-28 for `Ess`.
3
+
1
4
2025-03-14 Version: 2.3.31
2
5
- 支持根据属性查询弹性强度时返回库存健康度
3
6
Original file line number Diff line number Diff line change 1
- __version__ = '2.3.31 '
1
+ __version__ = '2.3.32 '
Original file line number Diff line number Diff line change @@ -329,6 +329,15 @@ def get_PasswordInherit(self): # Boolean
329
329
330
330
def set_PasswordInherit (self , PasswordInherit ): # Boolean
331
331
self .add_query_param ('PasswordInherit' , PasswordInherit )
332
+ def get_ResourcePoolOptions (self ): # Struct
333
+ return self .get_query_params ().get ('ResourcePoolOptions' )
334
+
335
+ def set_ResourcePoolOptions (self , ResourcePoolOptions ): # Struct
336
+ if ResourcePoolOptions .get ('Strategy' ) is not None :
337
+ self .add_query_param ('ResourcePoolOptions.Strategy' , ResourcePoolOptions .get ('Strategy' ))
338
+ if ResourcePoolOptions .get ('PrivatePoolIds' ) is not None :
339
+ for index1 , value1 in enumerate (ResourcePoolOptions .get ('PrivatePoolIds' )):
340
+ self .add_query_param ('ResourcePoolOptions.PrivatePoolIds.' + str (index1 + 1 ), value1 )
332
341
def get_ImageName (self ): # String
333
342
return self .get_query_params ().get ('ImageName' )
334
343
Original file line number Diff line number Diff line change @@ -36,16 +36,16 @@ def get_ResourceOwnerId(self): # Long
36
36
37
37
def set_ResourceOwnerId (self , ResourceOwnerId ): # Long
38
38
self .add_query_param ('ResourceOwnerId' , ResourceOwnerId )
39
- def get_ResourceOwnerAccount (self ): # String
40
- return self .get_query_params ().get ('ResourceOwnerAccount' )
41
-
42
- def set_ResourceOwnerAccount (self , ResourceOwnerAccount ): # String
43
- self .add_query_param ('ResourceOwnerAccount' , ResourceOwnerAccount )
44
39
def get_ScalingGroupId (self ): # String
45
40
return self .get_query_params ().get ('ScalingGroupId' )
46
41
47
42
def set_ScalingGroupId (self , ScalingGroupId ): # String
48
43
self .add_query_param ('ScalingGroupId' , ScalingGroupId )
44
+ def get_ResourceOwnerAccount (self ): # String
45
+ return self .get_query_params ().get ('ResourceOwnerAccount' )
46
+
47
+ def set_ResourceOwnerAccount (self , ResourceOwnerAccount ): # String
48
+ self .add_query_param ('ResourceOwnerAccount' , ResourceOwnerAccount )
49
49
def get_OwnerAccount (self ): # String
50
50
return self .get_query_params ().get ('OwnerAccount' )
51
51
Original file line number Diff line number Diff line change @@ -56,3 +56,9 @@ def get_InstanceId(self): # String
56
56
57
57
def set_InstanceId (self , InstanceId ): # String
58
58
self .add_query_param ('InstanceId' , InstanceId )
59
+ def get_InstanceIdss (self ): # RepeatList
60
+ return self .get_query_params ().get ('InstanceIds' )
61
+
62
+ def set_InstanceIdss (self , InstanceIds ): # RepeatList
63
+ for depth1 in range (len (InstanceIds )):
64
+ self .add_query_param ('InstanceIds.' + str (depth1 + 1 ), InstanceIds [depth1 ])
Original file line number Diff line number Diff line change @@ -319,6 +319,15 @@ def get_PasswordInherit(self): # Boolean
319
319
320
320
def set_PasswordInherit (self , PasswordInherit ): # Boolean
321
321
self .add_query_param ('PasswordInherit' , PasswordInherit )
322
+ def get_ResourcePoolOptions (self ): # Struct
323
+ return self .get_query_params ().get ('ResourcePoolOptions' )
324
+
325
+ def set_ResourcePoolOptions (self , ResourcePoolOptions ): # Struct
326
+ if ResourcePoolOptions .get ('Strategy' ) is not None :
327
+ self .add_query_param ('ResourcePoolOptions.Strategy' , ResourcePoolOptions .get ('Strategy' ))
328
+ if ResourcePoolOptions .get ('PrivatePoolIds' ) is not None :
329
+ for index1 , value1 in enumerate (ResourcePoolOptions .get ('PrivatePoolIds' )):
330
+ self .add_query_param ('ResourcePoolOptions.PrivatePoolIds.' + str (index1 + 1 ), value1 )
322
331
def get_ImageName (self ): # String
323
332
return self .get_query_params ().get ('ImageName' )
324
333
Original file line number Diff line number Diff line change 19
19
20
20
from aliyunsdkcore .request import RpcRequest
21
21
from aliyunsdkess .endpoint import endpoint_data
22
+ import json
22
23
23
24
class RemoveInstancesRequest (RpcRequest ):
24
25
@@ -46,6 +47,11 @@ def get_ScalingGroupId(self): # String
46
47
47
48
def set_ScalingGroupId (self , ScalingGroupId ): # String
48
49
self .add_query_param ('ScalingGroupId' , ScalingGroupId )
50
+ def get_LifecycleHookContext (self ): # Struct
51
+ return self .get_query_params ().get ('LifecycleHookContext' )
52
+
53
+ def set_LifecycleHookContext (self , LifecycleHookContext ): # Struct
54
+ self .add_query_param ("LifecycleHookContext" , json .dumps (LifecycleHookContext ))
49
55
def get_DecreaseDesiredCapacity (self ): # Boolean
50
56
return self .get_query_params ().get ('DecreaseDesiredCapacity' )
51
57
Original file line number Diff line number Diff line change @@ -36,6 +36,11 @@ def get_ResourceOwnerId(self): # Long
36
36
37
37
def set_ResourceOwnerId (self , ResourceOwnerId ): # Long
38
38
self .add_query_param ('ResourceOwnerId' , ResourceOwnerId )
39
+ def get_Uid (self ): # Long
40
+ return self .get_query_params ().get ('Uid' )
41
+
42
+ def set_Uid (self , Uid ): # Long
43
+ self .add_query_param ('Uid' , Uid )
39
44
def get_ResourceOwnerAccount (self ): # String
40
45
return self .get_query_params ().get ('ResourceOwnerAccount' )
41
46
@@ -51,8 +56,3 @@ def get_OnlyCheck(self): # Boolean
51
56
52
57
def set_OnlyCheck (self , OnlyCheck ): # Boolean
53
58
self .add_query_param ('OnlyCheck' , OnlyCheck )
54
- def get_Uid (self ): # Long
55
- return self .get_query_params ().get ('Uid' )
56
-
57
- def set_Uid (self , Uid ): # Long
58
- self .add_query_param ('Uid' , Uid )
You can’t perform that action at this time.
0 commit comments