Skip to content

Commit fa69dde

Browse files
committed
Generated 2014-05-26 for Ecs
1 parent cc67374 commit fa69dde

File tree

270 files changed

+10350
-2668
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+10350
-2668
lines changed

aliyun-python-sdk-ecs/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-05-14 Version: 1.20.1
2+
- Generated 2014-05-26 for `Ecs`
3+
14
2019-04-18 Version: 4.16.7
25
1, add ReservedInstance API.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.16.7"
1+
__version__ = '1.20.1'

aliyun-python-sdk-ecs/aliyunsdkecs/request/v20140526/AddBandwidthPackageIpsRequest.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ def get_ResourceOwnerId(self):
2929
def set_ResourceOwnerId(self,ResourceOwnerId):
3030
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
3131

32+
def get_ClientToken(self):
33+
return self.get_query_params().get('ClientToken')
34+
35+
def set_ClientToken(self,ClientToken):
36+
self.add_query_param('ClientToken',ClientToken)
37+
3238
def get_BandwidthPackageId(self):
3339
return self.get_query_params().get('BandwidthPackageId')
3440

@@ -41,12 +47,6 @@ def get_ResourceOwnerAccount(self):
4147
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
4248
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
4349

44-
def get_ClientToken(self):
45-
return self.get_query_params().get('ClientToken')
46-
47-
def set_ClientToken(self,ClientToken):
48-
self.add_query_param('ClientToken',ClientToken)
49-
5050
def get_OwnerAccount(self):
5151
return self.get_query_params().get('OwnerAccount')
5252

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class AddIpRangeRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Ecs', '2014-05-26', 'AddIpRange','ecs')
25+
26+
def get_IpAddress(self):
27+
return self.get_query_params().get('IpAddress')
28+
29+
def set_IpAddress(self,IpAddress):
30+
self.add_query_param('IpAddress',IpAddress)
31+
32+
def get_ResourceOwnerId(self):
33+
return self.get_query_params().get('ResourceOwnerId')
34+
35+
def set_ResourceOwnerId(self,ResourceOwnerId):
36+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
37+
38+
def get_ResourceOwnerAccount(self):
39+
return self.get_query_params().get('ResourceOwnerAccount')
40+
41+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
42+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
43+
44+
def get_OwnerAccount(self):
45+
return self.get_query_params().get('OwnerAccount')
46+
47+
def set_OwnerAccount(self,OwnerAccount):
48+
self.add_query_param('OwnerAccount',OwnerAccount)
49+
50+
def get_OwnerId(self):
51+
return self.get_query_params().get('OwnerId')
52+
53+
def set_OwnerId(self,OwnerId):
54+
self.add_query_param('OwnerId',OwnerId)
55+
56+
def get_ZoneId(self):
57+
return self.get_query_params().get('ZoneId')
58+
59+
def set_ZoneId(self,ZoneId):
60+
self.add_query_param('ZoneId',ZoneId)

aliyun-python-sdk-ecs/aliyunsdkecs/request/v20140526/AddTagsRequest.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@ def get_ResourceOwnerId(self):
2929
def set_ResourceOwnerId(self,ResourceOwnerId):
3030
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
3131

32+
def get_Tags(self):
33+
return self.get_query_params().get('Tags')
34+
35+
def set_Tags(self,Tags):
36+
for i in range(len(Tags)):
37+
if Tags[i].get('Value') is not None:
38+
self.add_query_param('Tag.' + str(i + 1) + '.Value' , Tags[i].get('Value'))
39+
if Tags[i].get('Key') is not None:
40+
self.add_query_param('Tag.' + str(i + 1) + '.Key' , Tags[i].get('Key'))
41+
42+
3243
def get_ResourceId(self):
3344
return self.get_query_params().get('ResourceId')
3445

@@ -41,17 +52,6 @@ def get_ResourceOwnerAccount(self):
4152
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
4253
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
4354

44-
def get_Tags(self):
45-
return self.get_query_params().get('Tags')
46-
47-
def set_Tags(self,Tags):
48-
for i in range(len(Tags)):
49-
if Tags[i].get('Value') is not None:
50-
self.add_query_param('Tag.' + str(i + 1) + '.Value' , Tags[i].get('Value'))
51-
if Tags[i].get('Key') is not None:
52-
self.add_query_param('Tag.' + str(i + 1) + '.Key' , Tags[i].get('Key'))
53-
54-
5555
def get_OwnerId(self):
5656
return self.get_query_params().get('OwnerId')
5757

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class AddTags_GatedLaunchRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Ecs', '2014-05-26', 'AddTags_GatedLaunch','ecs')
25+
26+
def get_ResourceOwnerId(self):
27+
return self.get_query_params().get('ResourceOwnerId')
28+
29+
def set_ResourceOwnerId(self,ResourceOwnerId):
30+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
31+
32+
def get_Tags(self):
33+
return self.get_query_params().get('Tags')
34+
35+
def set_Tags(self,Tags):
36+
for i in range(len(Tags)):
37+
if Tags[i].get('Value') is not None:
38+
self.add_query_param('Tag.' + str(i + 1) + '.Value' , Tags[i].get('Value'))
39+
if Tags[i].get('Key') is not None:
40+
self.add_query_param('Tag.' + str(i + 1) + '.Key' , Tags[i].get('Key'))
41+
42+
43+
def get_ResourceId(self):
44+
return self.get_query_params().get('ResourceId')
45+
46+
def set_ResourceId(self,ResourceId):
47+
self.add_query_param('ResourceId',ResourceId)
48+
49+
def get_ResourceOwnerAccount(self):
50+
return self.get_query_params().get('ResourceOwnerAccount')
51+
52+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
53+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
54+
55+
def get_OwnerId(self):
56+
return self.get_query_params().get('OwnerId')
57+
58+
def set_OwnerId(self,OwnerId):
59+
self.add_query_param('OwnerId',OwnerId)
60+
61+
def get_ResourceType(self):
62+
return self.get_query_params().get('ResourceType')
63+
64+
def set_ResourceType(self,ResourceType):
65+
self.add_query_param('ResourceType',ResourceType)

aliyun-python-sdk-ecs/aliyunsdkecs/request/v20140526/AllocateDedicatedHostsRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ def get_ZoneId(self):
142142
def set_ZoneId(self,ZoneId):
143143
self.add_query_param('ZoneId',ZoneId)
144144

145+
def get_AutoPlacement(self):
146+
return self.get_query_params().get('AutoPlacement')
147+
148+
def set_AutoPlacement(self,AutoPlacement):
149+
self.add_query_param('AutoPlacement',AutoPlacement)
150+
145151
def get_ChargeType(self):
146152
return self.get_query_params().get('ChargeType')
147153

aliyun-python-sdk-ecs/aliyunsdkecs/request/v20140526/AllocateEipAddressRequest.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,36 +29,30 @@ def get_ResourceOwnerId(self):
2929
def set_ResourceOwnerId(self,ResourceOwnerId):
3030
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
3131

32-
def get_ResourceOwnerAccount(self):
33-
return self.get_query_params().get('ResourceOwnerAccount')
34-
35-
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
36-
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
37-
38-
def get_Bandwidth(self):
39-
return self.get_query_params().get('Bandwidth')
40-
41-
def set_Bandwidth(self,Bandwidth):
42-
self.add_query_param('Bandwidth',Bandwidth)
43-
4432
def get_ClientToken(self):
4533
return self.get_query_params().get('ClientToken')
4634

4735
def set_ClientToken(self,ClientToken):
4836
self.add_query_param('ClientToken',ClientToken)
4937

50-
def get_InternetChargeType(self):
51-
return self.get_query_params().get('InternetChargeType')
52-
53-
def set_InternetChargeType(self,InternetChargeType):
54-
self.add_query_param('InternetChargeType',InternetChargeType)
55-
5638
def get_ISP(self):
5739
return self.get_query_params().get('ISP')
5840

5941
def set_ISP(self,ISP):
6042
self.add_query_param('ISP',ISP)
6143

44+
def get_ResourceOwnerAccount(self):
45+
return self.get_query_params().get('ResourceOwnerAccount')
46+
47+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
48+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
49+
50+
def get_Bandwidth(self):
51+
return self.get_query_params().get('Bandwidth')
52+
53+
def set_Bandwidth(self,Bandwidth):
54+
self.add_query_param('Bandwidth',Bandwidth)
55+
6256
def get_OwnerAccount(self):
6357
return self.get_query_params().get('OwnerAccount')
6458

@@ -69,4 +63,10 @@ def get_OwnerId(self):
6963
return self.get_query_params().get('OwnerId')
7064

7165
def set_OwnerId(self,OwnerId):
72-
self.add_query_param('OwnerId',OwnerId)
66+
self.add_query_param('OwnerId',OwnerId)
67+
68+
def get_InternetChargeType(self):
69+
return self.get_query_params().get('InternetChargeType')
70+
71+
def set_InternetChargeType(self,InternetChargeType):
72+
self.add_query_param('InternetChargeType',InternetChargeType)

aliyun-python-sdk-ecs/aliyunsdkecs/request/v20140526/AllocatePublicIpAddressRequest.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,18 @@ def get_ResourceOwnerId(self):
3535
def set_ResourceOwnerId(self,ResourceOwnerId):
3636
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
3737

38-
def get_InstanceId(self):
39-
return self.get_query_params().get('InstanceId')
38+
def get_VlanId(self):
39+
return self.get_query_params().get('VlanId')
4040

41-
def set_InstanceId(self,InstanceId):
42-
self.add_query_param('InstanceId',InstanceId)
41+
def set_VlanId(self,VlanId):
42+
self.add_query_param('VlanId',VlanId)
4343

4444
def get_ResourceOwnerAccount(self):
4545
return self.get_query_params().get('ResourceOwnerAccount')
4646

4747
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
4848
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
4949

50-
def get_VlanId(self):
51-
return self.get_query_params().get('VlanId')
52-
53-
def set_VlanId(self,VlanId):
54-
self.add_query_param('VlanId',VlanId)
55-
5650
def get_OwnerAccount(self):
5751
return self.get_query_params().get('OwnerAccount')
5852

@@ -63,4 +57,10 @@ def get_OwnerId(self):
6357
return self.get_query_params().get('OwnerId')
6458

6559
def set_OwnerId(self,OwnerId):
66-
self.add_query_param('OwnerId',OwnerId)
60+
self.add_query_param('OwnerId',OwnerId)
61+
62+
def get_InstanceId(self):
63+
return self.get_query_params().get('InstanceId')
64+
65+
def set_InstanceId(self,InstanceId):
66+
self.add_query_param('InstanceId',InstanceId)
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class AllocatePublicIpAddress_GatedLaunchRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Ecs', '2014-05-26', 'AllocatePublicIpAddress_GatedLaunch','ecs')
25+
26+
def get_IpAddress(self):
27+
return self.get_query_params().get('IpAddress')
28+
29+
def set_IpAddress(self,IpAddress):
30+
self.add_query_param('IpAddress',IpAddress)
31+
32+
def get_ResourceOwnerId(self):
33+
return self.get_query_params().get('ResourceOwnerId')
34+
35+
def set_ResourceOwnerId(self,ResourceOwnerId):
36+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
37+
38+
def get_VlanId(self):
39+
return self.get_query_params().get('VlanId')
40+
41+
def set_VlanId(self,VlanId):
42+
self.add_query_param('VlanId',VlanId)
43+
44+
def get_ResourceOwnerAccount(self):
45+
return self.get_query_params().get('ResourceOwnerAccount')
46+
47+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
48+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
49+
50+
def get_OwnerAccount(self):
51+
return self.get_query_params().get('OwnerAccount')
52+
53+
def set_OwnerAccount(self,OwnerAccount):
54+
self.add_query_param('OwnerAccount',OwnerAccount)
55+
56+
def get_OwnerId(self):
57+
return self.get_query_params().get('OwnerId')
58+
59+
def set_OwnerId(self,OwnerId):
60+
self.add_query_param('OwnerId',OwnerId)
61+
62+
def get_InstanceId(self):
63+
return self.get_query_params().get('InstanceId')
64+
65+
def set_InstanceId(self,InstanceId):
66+
self.add_query_param('InstanceId',InstanceId)

0 commit comments

Comments
 (0)