Skip to content

Commit 294d30c

Browse files
committed
EDAS SDK Auto Released By jianlie.zjl,Version:2.41.0
发布日志: 1, Initialization release SDK. EDAS now supports SDK implemented by current programming language.
1 parent 1a07c1b commit 294d30c

23 files changed

+951
-23
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+
2019-02-18 Version: 2.41.0
2+
1, Initialization release SDK. EDAS now supports SDK implemented by current programming language.
3+
14
2018-09-03 Version: 2.16.1
25
1, First release EDAS Open API in python.
36
2, You can view detailed document links https://help.aliyun.com/document_detail/62122.html?spm=a2c4g.11186623.6.696.18897157qEMvpI
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.16.1"
1+
__version__ = "2.41.0"
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 RoaRequest
21+
class BindServerlessSlbRequest(RoaRequest):
22+
23+
def __init__(self):
24+
RoaRequest.__init__(self, 'Edas', '2017-08-01', 'BindServerlessSlb')
25+
self.set_uri_pattern('/pop/v5/k8s/acs/serverless_slb_binding')
26+
self.set_method('POST')
27+
28+
def get_Intranet(self):
29+
return self.get_query_params().get('Intranet')
30+
31+
def set_Intranet(self,Intranet):
32+
self.add_query_param('Intranet',Intranet)
33+
34+
def get_AppId(self):
35+
return self.get_query_params().get('AppId')
36+
37+
def set_AppId(self,AppId):
38+
self.add_query_param('AppId',AppId)
39+
40+
def get_Internet(self):
41+
return self.get_query_params().get('Internet')
42+
43+
def set_Internet(self,Internet):
44+
self.add_query_param('Internet',Internet)
Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
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 RoaRequest
21+
class CreateServerlessApplicationRequest(RoaRequest):
22+
23+
def __init__(self):
24+
RoaRequest.__init__(self, 'Edas', '2017-08-01', 'CreateServerlessApplication')
25+
self.set_uri_pattern('/pop/v5/k8s/pop/pop_serverless_app_create_without_deploy')
26+
self.set_method('POST')
27+
28+
def get_WebContainer(self):
29+
return self.get_query_params().get('WebContainer')
30+
31+
def set_WebContainer(self,WebContainer):
32+
self.add_query_param('WebContainer',WebContainer)
33+
34+
def get_JarStartArgs(self):
35+
return self.get_query_params().get('JarStartArgs')
36+
37+
def set_JarStartArgs(self,JarStartArgs):
38+
self.add_query_param('JarStartArgs',JarStartArgs)
39+
40+
def get_Memory(self):
41+
return self.get_query_params().get('Memory')
42+
43+
def set_Memory(self,Memory):
44+
self.add_query_param('Memory',Memory)
45+
46+
def get_CommandArgs(self):
47+
return self.get_query_params().get('CommandArgs')
48+
49+
def set_CommandArgs(self,CommandArgs):
50+
self.add_query_param('CommandArgs',CommandArgs)
51+
52+
def get_Replicas(self):
53+
return self.get_query_params().get('Replicas')
54+
55+
def set_Replicas(self,Replicas):
56+
self.add_query_param('Replicas',Replicas)
57+
58+
def get_Readiness(self):
59+
return self.get_query_params().get('Readiness')
60+
61+
def set_Readiness(self,Readiness):
62+
self.add_query_param('Readiness',Readiness)
63+
64+
def get_Liveness(self):
65+
return self.get_query_params().get('Liveness')
66+
67+
def set_Liveness(self,Liveness):
68+
self.add_query_param('Liveness',Liveness)
69+
70+
def get_Cpu(self):
71+
return self.get_query_params().get('Cpu')
72+
73+
def set_Cpu(self,Cpu):
74+
self.add_query_param('Cpu',Cpu)
75+
76+
def get_Envs(self):
77+
return self.get_query_params().get('Envs')
78+
79+
def set_Envs(self,Envs):
80+
self.add_query_param('Envs',Envs)
81+
82+
def get_PackageVersion(self):
83+
return self.get_query_params().get('PackageVersion')
84+
85+
def set_PackageVersion(self,PackageVersion):
86+
self.add_query_param('PackageVersion',PackageVersion)
87+
88+
def get_Command(self):
89+
return self.get_query_params().get('Command')
90+
91+
def set_Command(self,Command):
92+
self.add_query_param('Command',Command)
93+
94+
def get_CustomHostAlias(self):
95+
return self.get_query_params().get('CustomHostAlias')
96+
97+
def set_CustomHostAlias(self,CustomHostAlias):
98+
self.add_query_param('CustomHostAlias',CustomHostAlias)
99+
100+
def get_Deploy(self):
101+
return self.get_query_params().get('Deploy')
102+
103+
def set_Deploy(self,Deploy):
104+
self.add_query_param('Deploy',Deploy)
105+
106+
def get_VSwitchId(self):
107+
return self.get_query_params().get('VSwitchId')
108+
109+
def set_VSwitchId(self,VSwitchId):
110+
self.add_query_param('VSwitchId',VSwitchId)
111+
112+
def get_Jdk(self):
113+
return self.get_query_params().get('Jdk')
114+
115+
def set_Jdk(self,Jdk):
116+
self.add_query_param('Jdk',Jdk)
117+
118+
def get_AppDescription(self):
119+
return self.get_query_params().get('AppDescription')
120+
121+
def set_AppDescription(self,AppDescription):
122+
self.add_query_param('AppDescription',AppDescription)
123+
124+
def get_JarStartOptions(self):
125+
return self.get_query_params().get('JarStartOptions')
126+
127+
def set_JarStartOptions(self,JarStartOptions):
128+
self.add_query_param('JarStartOptions',JarStartOptions)
129+
130+
def get_AppName(self):
131+
return self.get_query_params().get('AppName')
132+
133+
def set_AppName(self,AppName):
134+
self.add_query_param('AppName',AppName)
135+
136+
def get_NamespaceId(self):
137+
return self.get_query_params().get('NamespaceId')
138+
139+
def set_NamespaceId(self,NamespaceId):
140+
self.add_query_param('NamespaceId',NamespaceId)
141+
142+
def get_PackageUrl(self):
143+
return self.get_query_params().get('PackageUrl')
144+
145+
def set_PackageUrl(self,PackageUrl):
146+
self.add_query_param('PackageUrl',PackageUrl)
147+
148+
def get_VpcId(self):
149+
return self.get_query_params().get('VpcId')
150+
151+
def set_VpcId(self,VpcId):
152+
self.add_query_param('VpcId',VpcId)
153+
154+
def get_ImageUrl(self):
155+
return self.get_query_params().get('ImageUrl')
156+
157+
def set_ImageUrl(self,ImageUrl):
158+
self.add_query_param('ImageUrl',ImageUrl)
159+
160+
def get_PackageType(self):
161+
return self.get_query_params().get('PackageType')
162+
163+
def set_PackageType(self,PackageType):
164+
self.add_query_param('PackageType',PackageType)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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 RoaRequest
21+
class DeleteServerlessApplicationRequest(RoaRequest):
22+
23+
def __init__(self):
24+
RoaRequest.__init__(self, 'Edas', '2017-08-01', 'DeleteServerlessApplication')
25+
self.set_uri_pattern('/pop/v5/k8s/pop/pop_serverless_app_delete')
26+
self.set_method('DELETE')
27+
28+
def get_Act(self):
29+
return self.get_query_params().get('Act')
30+
31+
def set_Act(self,Act):
32+
self.add_query_param('Act',Act)
33+
34+
def get_AppId(self):
35+
return self.get_query_params().get('AppId')
36+
37+
def set_AppId(self,AppId):
38+
self.add_query_param('AppId',AppId)

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ def __init__(self):
2525
self.set_uri_pattern('/pop/v5/changeorder/co_deploy')
2626
self.set_method('POST')
2727

28+
def get_BuildPackId(self):
29+
return self.get_query_params().get('BuildPackId')
30+
31+
def set_BuildPackId(self,BuildPackId):
32+
self.add_query_param('BuildPackId',BuildPackId)
33+
34+
def get_ComponentIds(self):
35+
return self.get_query_params().get('ComponentIds')
36+
37+
def set_ComponentIds(self,ComponentIds):
38+
self.add_query_param('ComponentIds',ComponentIds)
39+
2840
def get_AppId(self):
2941
return self.get_query_params().get('AppId')
3042

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ def get_MemoryRequest(self):
3131
def set_MemoryRequest(self,MemoryRequest):
3232
self.add_query_param('MemoryRequest',MemoryRequest)
3333

34+
def get_NasId(self):
35+
return self.get_query_params().get('NasId')
36+
37+
def set_NasId(self,NasId):
38+
self.add_query_param('NasId',NasId)
39+
3440
def get_Image(self):
3541
return self.get_query_params().get('Image')
3642

@@ -43,6 +49,12 @@ def get_PreStop(self):
4349
def set_PreStop(self,PreStop):
4450
self.add_query_param('PreStop',PreStop)
4551

52+
def get_MountDescs(self):
53+
return self.get_query_params().get('MountDescs')
54+
55+
def set_MountDescs(self,MountDescs):
56+
self.add_query_param('MountDescs',MountDescs)
57+
4658
def get_Readiness(self):
4759
return self.get_query_params().get('Readiness')
4860

@@ -85,12 +97,24 @@ def get_CpuLimit(self):
8597
def set_CpuLimit(self,CpuLimit):
8698
self.add_query_param('CpuLimit',CpuLimit)
8799

100+
def get_LocalVolume(self):
101+
return self.get_query_params().get('LocalVolume')
102+
103+
def set_LocalVolume(self,LocalVolume):
104+
self.add_query_param('LocalVolume',LocalVolume)
105+
88106
def get_Command(self):
89107
return self.get_query_params().get('Command')
90108

91109
def set_Command(self,Command):
92110
self.add_query_param('Command',Command)
93111

112+
def get_StorageType(self):
113+
return self.get_query_params().get('StorageType')
114+
115+
def set_StorageType(self,StorageType):
116+
self.add_query_param('StorageType',StorageType)
117+
94118
def get_Args(self):
95119
return self.get_query_params().get('Args')
96120

0 commit comments

Comments
 (0)