Skip to content

Commit 06ea2fc

Browse files
committed
Generated 2017-08-01 for Edas.
1 parent f845776 commit 06ea2fc

12 files changed

+197
-11
lines changed

aliyun-python-sdk-edas/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2020-03-04 Version: 2.57.3
2+
- Generated 2017-08-01 for `Edas`.
3+
14
2019-11-25 Version: 2.53.4
25
- Generated 2017-08-01 for `Edas`.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.53.4'
1+
__version__ = '2.57.3'
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
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 RoaRequest
21+
from aliyunsdkedas.endpoint import endpoint_data
22+
23+
class AbortChangeOrderRequest(RoaRequest):
24+
25+
def __init__(self):
26+
RoaRequest.__init__(self, 'Edas', '2017-08-01', 'AbortChangeOrder','edas')
27+
self.set_uri_pattern('/pop/v5/changeorder/change_order_abort')
28+
self.set_method('PUT')
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
35+
def get_ChangeOrderId(self):
36+
return self.get_query_params().get('ChangeOrderId')
37+
38+
def set_ChangeOrderId(self,ChangeOrderId):
39+
self.add_query_param('ChangeOrderId',ChangeOrderId)

aliyun-python-sdk-edas/aliyunsdkedas/request/v20170801/BindK8sSlbRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ def __init__(self):
3232
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3333

3434

35+
def get_ServicePortInfos(self):
36+
return self.get_query_params().get('ServicePortInfos')
37+
38+
def set_ServicePortInfos(self,ServicePortInfos):
39+
self.add_query_param('ServicePortInfos',ServicePortInfos)
40+
3541
def get_SlbId(self):
3642
return self.get_query_params().get('SlbId')
3743

aliyun-python-sdk-edas/aliyunsdkedas/request/v20170801/DeployK8sApplicationRequest.py

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ def get_Readiness(self):
5050
def set_Readiness(self,Readiness):
5151
self.add_query_param('Readiness',Readiness)
5252

53+
def get_PackageVersionId(self):
54+
return self.get_query_params().get('PackageVersionId')
55+
56+
def set_PackageVersionId(self,PackageVersionId):
57+
self.add_query_param('PackageVersionId',PackageVersionId)
58+
5359
def get_BatchWaitTime(self):
5460
return self.get_query_params().get('BatchWaitTime')
5561

@@ -182,6 +188,12 @@ def get_UseBodyEncoding(self):
182188
def set_UseBodyEncoding(self,UseBodyEncoding):
183189
self.add_query_param('UseBodyEncoding',UseBodyEncoding)
184190

191+
def get_ChangeOrderDesc(self):
192+
return self.get_query_params().get('ChangeOrderDesc')
193+
194+
def set_ChangeOrderDesc(self,ChangeOrderDesc):
195+
self.add_query_param('ChangeOrderDesc',ChangeOrderDesc)
196+
185197
def get_UriEncoding(self):
186198
return self.get_query_params().get('UriEncoding')
187199

@@ -194,17 +206,23 @@ def get_AppId(self):
194206
def set_AppId(self,AppId):
195207
self.add_query_param('AppId',AppId)
196208

197-
def get_MCpuRequest(self):
198-
return self.get_query_params().get('MCpuRequest')
209+
def get_McpuRequest(self):
210+
return self.get_query_params().get('McpuRequest')
211+
212+
def set_McpuRequest(self,McpuRequest):
213+
self.add_query_param('McpuRequest',McpuRequest)
214+
215+
def get_McpuLimit(self):
216+
return self.get_query_params().get('McpuLimit')
199217

200-
def set_MCpuRequest(self,MCpuRequest):
201-
self.add_query_param('MCpuRequest',MCpuRequest)
218+
def set_McpuLimit(self,McpuLimit):
219+
self.add_query_param('McpuLimit',McpuLimit)
202220

203-
def get_MCpuLimit(self):
204-
return self.get_query_params().get('MCpuLimit')
221+
def get_VolumesStr(self):
222+
return self.get_query_params().get('VolumesStr')
205223

206-
def set_MCpuLimit(self,MCpuLimit):
207-
self.add_query_param('MCpuLimit',MCpuLimit)
224+
def set_VolumesStr(self,VolumesStr):
225+
self.add_query_param('VolumesStr',VolumesStr)
208226

209227
def get_PostStart(self):
210228
return self.get_query_params().get('PostStart')

aliyun-python-sdk-edas/aliyunsdkedas/request/v20170801/InsertApplicationRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ def get_BuildPackId(self):
5050
def set_BuildPackId(self,BuildPackId):
5151
self.add_query_param('BuildPackId',BuildPackId)
5252

53+
def get_ComponentIds(self):
54+
return self.get_query_params().get('ComponentIds')
55+
56+
def set_ComponentIds(self,ComponentIds):
57+
self.add_query_param('ComponentIds',ComponentIds)
58+
5359
def get_HealthCheckURL(self):
5460
return self.get_query_params().get('HealthCheckURL')
5561

aliyun-python-sdk-edas/aliyunsdkedas/request/v20170801/InsertK8sApplicationRequest.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ def get_LimitMem(self):
116116
def set_LimitMem(self,LimitMem):
117117
self.add_query_param('LimitMem',LimitMem)
118118

119+
def get_LimitmCpu(self):
120+
return self.get_query_params().get('LimitmCpu')
121+
122+
def set_LimitmCpu(self,LimitmCpu):
123+
self.add_query_param('LimitmCpu',LimitmCpu)
124+
119125
def get_EdasContainerVersion(self):
120126
return self.get_query_params().get('EdasContainerVersion')
121127

@@ -146,6 +152,12 @@ def get_PackageUrl(self):
146152
def set_PackageUrl(self,PackageUrl):
147153
self.add_query_param('PackageUrl',PackageUrl)
148154

155+
def get_RequestsmCpu(self):
156+
return self.get_query_params().get('RequestsmCpu')
157+
158+
def set_RequestsmCpu(self,RequestsmCpu):
159+
self.add_query_param('RequestsmCpu',RequestsmCpu)
160+
149161
def get_InternetSlbProtocol(self):
150162
return self.get_query_params().get('InternetSlbProtocol')
151163

aliyun-python-sdk-edas/aliyunsdkedas/request/v20170801/ModifyScalingRuleRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ModifyScalingRuleRequest(RoaRequest):
2525
def __init__(self):
2626
RoaRequest.__init__(self, 'Edas', '2017-08-01', 'ModifyScalingRule','edas')
2727
self.set_uri_pattern('/pop/v5/app/scaling_rules2')
28-
self.set_method('POST|PUT')
28+
self.set_method('POST')
2929
if hasattr(self, "endpoint_map"):
3030
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3131
if hasattr(self, "endpoint_regional"):
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
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 RoaRequest
21+
from aliyunsdkedas.endpoint import endpoint_data
22+
23+
class RollbackChangeOrderRequest(RoaRequest):
24+
25+
def __init__(self):
26+
RoaRequest.__init__(self, 'Edas', '2017-08-01', 'RollbackChangeOrder','edas')
27+
self.set_uri_pattern('/pop/v5/oam/changeorder/rollback')
28+
self.set_method('PUT')
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
35+
def get_ChangeOrderId(self):
36+
return self.get_query_params().get('ChangeOrderId')
37+
38+
def set_ChangeOrderId(self,ChangeOrderId):
39+
self.add_query_param('ChangeOrderId',ChangeOrderId)

aliyun-python-sdk-edas/aliyunsdkedas/request/v20170801/UpdateK8sApplicationConfigRequest.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,10 @@ def get_CpuLimit(self):
5454
return self.get_query_params().get('CpuLimit')
5555

5656
def set_CpuLimit(self,CpuLimit):
57-
self.add_query_param('CpuLimit',CpuLimit)
57+
self.add_query_param('CpuLimit',CpuLimit)
58+
59+
def get_McpuLimit(self):
60+
return self.get_query_params().get('McpuLimit')
61+
62+
def set_McpuLimit(self,McpuLimit):
63+
self.add_query_param('McpuLimit',McpuLimit)

0 commit comments

Comments
 (0)