Skip to content

Commit 8bb0f33

Browse files
committed
Modify API InsertK8sApplication.
1 parent 038c4dd commit 8bb0f33

File tree

10 files changed

+257
-1
lines changed

10 files changed

+257
-1
lines changed

aliyun-python-sdk-edas/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2021-09-09 Version: 3.22.0
2+
- Modify API InsertK8sApplication.
3+
- Modify API DeployK8sApplication.
4+
15
2021-06-10 Version: 3.21.0
26
- Modify API ListK8sIngressRules.
37
- Modify API CreateK8sIngressRule.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.21.0'
1+
__version__ = '3.22.0'

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,12 @@ def get_PvcMountDescs(self):
260260
def set_PvcMountDescs(self,PvcMountDescs):
261261
self.add_query_param('PvcMountDescs',PvcMountDescs)
262262

263+
def get_EmptyDirs(self):
264+
return self.get_query_params().get('EmptyDirs')
265+
266+
def set_EmptyDirs(self,EmptyDirs):
267+
self.add_query_param('EmptyDirs',EmptyDirs)
268+
263269
def get_McpuRequest(self):
264270
return self.get_query_params().get('McpuRequest')
265271

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 GetJavaStartUpConfigRequest(RoaRequest):
24+
25+
def __init__(self):
26+
RoaRequest.__init__(self, 'Edas', '2017-08-01', 'GetJavaStartUpConfig','Edas')
27+
self.set_uri_pattern('/pop/v5/oam/java_start_up_config')
28+
self.set_method('GET')
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_AppId(self):
36+
return self.get_query_params().get('AppId')
37+
38+
def set_AppId(self,AppId):
39+
self.add_query_param('AppId',AppId)
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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 GetSpringCloudTestMethodRequest(RoaRequest):
24+
25+
def __init__(self):
26+
RoaRequest.__init__(self, 'Edas', '2017-08-01', 'GetSpringCloudTestMethod','Edas')
27+
self.set_uri_pattern('/pop/sp/api/mse/test/springcloud/method')
28+
self.set_method('POST')
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_appId(self):
36+
return self.get_query_params().get('appId')
37+
38+
def set_appId(self,appId):
39+
self.add_query_param('appId',appId)
40+
41+
def get_namespace(self):
42+
return self.get_query_params().get('namespace')
43+
44+
def set_namespace(self,namespace):
45+
self.add_query_param('namespace',namespace)
46+
47+
def get_httpMethod(self):
48+
return self.get_query_params().get('httpMethod')
49+
50+
def set_httpMethod(self,httpMethod):
51+
self.add_query_param('httpMethod',httpMethod)
52+
53+
def get_methodSignature(self):
54+
return self.get_query_params().get('methodSignature')
55+
56+
def set_methodSignature(self,methodSignature):
57+
self.add_query_param('methodSignature',methodSignature)
58+
59+
def get_serviceName(self):
60+
return self.get_query_params().get('serviceName')
61+
62+
def set_serviceName(self,serviceName):
63+
self.add_query_param('serviceName',serviceName)
64+
65+
def get_region(self):
66+
return self.get_query_params().get('region')
67+
68+
def set_region(self,region):
69+
self.add_query_param('region',region)
70+
71+
def get_requiredPath(self):
72+
return self.get_query_params().get('requiredPath')
73+
74+
def set_requiredPath(self,requiredPath):
75+
self.add_query_param('requiredPath',requiredPath)
76+
77+
def get_methodController(self):
78+
return self.get_query_params().get('methodController')
79+
80+
def set_methodController(self,methodController):
81+
self.add_query_param('methodController',methodController)
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 GetWebContainerConfigRequest(RoaRequest):
24+
25+
def __init__(self):
26+
RoaRequest.__init__(self, 'Edas', '2017-08-01', 'GetWebContainerConfig','Edas')
27+
self.set_uri_pattern('/pop/v5/oam/web_container_config')
28+
self.set_method('GET')
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_AppId(self):
36+
return self.get_query_params().get('AppId')
37+
38+
def set_AppId(self,AppId):
39+
self.add_query_param('AppId',AppId)

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ def get_PreStop(self):
104104
def set_PreStop(self,PreStop):
105105
self.add_query_param('PreStop',PreStop)
106106

107+
def get_BuildPackId(self):
108+
return self.get_query_params().get('BuildPackId')
109+
110+
def set_BuildPackId(self,BuildPackId):
111+
self.add_query_param('BuildPackId',BuildPackId)
112+
107113
def get_LocalVolume(self):
108114
return self.get_query_params().get('LocalVolume')
109115

@@ -116,6 +122,12 @@ def get_UseBodyEncoding(self):
116122
def set_UseBodyEncoding(self,UseBodyEncoding):
117123
self.add_query_param('UseBodyEncoding',UseBodyEncoding)
118124

125+
def get_EmptyDirs(self):
126+
return self.get_query_params().get('EmptyDirs')
127+
128+
def set_EmptyDirs(self,EmptyDirs):
129+
self.add_query_param('EmptyDirs',EmptyDirs)
130+
119131
def get_PackageType(self):
120132
return self.get_query_params().get('PackageType')
121133

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ def get_AppId(self):
4444
def set_AppId(self,AppId):
4545
self.add_query_param('AppId',AppId)
4646

47+
def get_DeleteListener(self):
48+
return self.get_query_params().get('DeleteListener')
49+
50+
def set_DeleteListener(self,DeleteListener):
51+
self.add_query_param('DeleteListener',DeleteListener)
52+
4753
def get_Type(self):
4854
return self.get_query_params().get('Type')
4955

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ def get_AppId(self):
6868
def set_AppId(self,AppId):
6969
self.add_query_param('AppId',AppId)
7070

71+
def get_DisableForceOverride(self):
72+
return self.get_query_params().get('DisableForceOverride')
73+
74+
def set_DisableForceOverride(self,DisableForceOverride):
75+
self.add_query_param('DisableForceOverride',DisableForceOverride)
76+
7177
def get_Specification(self):
7278
return self.get_query_params().get('Specification')
7379

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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 ValidateK8sResourceRequest(RoaRequest):
24+
25+
def __init__(self):
26+
RoaRequest.__init__(self, 'Edas', '2017-08-01', 'ValidateK8sResource','Edas')
27+
self.set_uri_pattern('/pop/v5/k8s/acs/validate_k8s_resource')
28+
self.set_method('POST')
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_Kind(self):
36+
return self.get_body_params().get('Kind')
37+
38+
def set_Kind(self,Kind):
39+
self.add_body_params('Kind', Kind)
40+
41+
def get_AppId(self):
42+
return self.get_body_params().get('AppId')
43+
44+
def set_AppId(self,AppId):
45+
self.add_body_params('AppId', AppId)
46+
47+
def get_Namespace(self):
48+
return self.get_body_params().get('Namespace')
49+
50+
def set_Namespace(self,Namespace):
51+
self.add_body_params('Namespace', Namespace)
52+
53+
def get_Format(self):
54+
return self.get_body_params().get('Format')
55+
56+
def set_Format(self,Format):
57+
self.add_body_params('Format', Format)
58+
59+
def get_Content(self):
60+
return self.get_body_params().get('Content')
61+
62+
def set_Content(self,Content):
63+
self.add_body_params('Content', Content)

0 commit comments

Comments
 (0)