Skip to content

Commit 1a464b4

Browse files
committed
Supported ImportImage.
1 parent db356ad commit 1a464b4

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

aliyun-python-sdk-ens/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-04-08 Version: 3.0.23
2+
- Supported ImportImage.
3+
14
2025-03-27 Version: 3.0.22
25
- Supported DescribeImageSharePermission.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.0.22'
1+
__version__ = '3.0.23'

aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateARMServerInstancesRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ def get_InstanceType(self): # String
8080

8181
def set_InstanceType(self, InstanceType): # String
8282
self.add_query_param('InstanceType', InstanceType)
83+
def get_Cidr(self): # String
84+
return self.get_query_params().get('Cidr')
85+
86+
def set_Cidr(self, Cidr): # String
87+
self.add_query_param('Cidr', Cidr)
8388
def get_Amount(self): # Integer
8489
return self.get_query_params().get('Amount')
8590

aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateNatGatewayRequest.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ def get_EnsRegionId(self): # String
3030

3131
def set_EnsRegionId(self, EnsRegionId): # String
3232
self.add_query_param('EnsRegionId', EnsRegionId)
33-
def get_InstanceType(self): # String
34-
return self.get_query_params().get('InstanceType')
35-
36-
def set_InstanceType(self, InstanceType): # String
37-
self.add_query_param('InstanceType', InstanceType)
3833
def get_Tags(self): # RepeatList
3934
return self.get_query_params().get('Tag')
4035

@@ -44,6 +39,11 @@ def set_Tags(self, Tag): # RepeatList
4439
self.add_query_param('Tag.' + str(depth1 + 1) + '.Value', Tag[depth1].get('Value'))
4540
if Tag[depth1].get('Key') is not None:
4641
self.add_query_param('Tag.' + str(depth1 + 1) + '.Key', Tag[depth1].get('Key'))
42+
def get_InstanceBillingCycle(self): # String
43+
return self.get_query_params().get('InstanceBillingCycle')
44+
45+
def set_InstanceBillingCycle(self, InstanceBillingCycle): # String
46+
self.add_query_param('InstanceBillingCycle', InstanceBillingCycle)
4747
def get_VSwitchId(self): # String
4848
return self.get_query_params().get('VSwitchId')
4949

@@ -59,3 +59,8 @@ def get_NetworkId(self): # String
5959

6060
def set_NetworkId(self, NetworkId): # String
6161
self.add_query_param('NetworkId', NetworkId)
62+
def get_InstanceType(self): # String
63+
return self.get_query_params().get('InstanceType')
64+
65+
def set_InstanceType(self, InstanceType): # String
66+
self.add_query_param('InstanceType', InstanceType)

0 commit comments

Comments
 (0)