Skip to content

Commit 3180f85

Browse files
committed
ROS SDK Auto Released By haoyun,Version:2.2.8
发布日志: 1, support Stack Policy setting .
1 parent f8c07db commit 3180f85

30 files changed

+298
-94
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2019-01-22 Version: 2.2.8
2+
1, support Stack Policy setting .
3+

aliyun-python-sdk-ros/MANIFEST.in

100755100644
File mode changed.

aliyun-python-sdk-ros/README.rst

100755100644
File mode changed.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.2.7'
1+
__version__ = "2.2.8"

aliyun-python-sdk-ros/aliyunsdkros/request/__init__.py

100755100644
File mode changed.

aliyun-python-sdk-ros/aliyunsdkros/request/v20150901/AbandonStackRequest.py

100755100644
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ class AbandonStackRequest(RoaRequest):
2323
def __init__(self):
2424
RoaRequest.__init__(self, 'ROS', '2015-09-01', 'AbandonStack')
2525
self.set_uri_pattern('/stacks/[StackName]/[StackId]/abandon')
26-
self.set_method('DELETE')
27-
28-
def get_StackName(self):
29-
return self.get_path_params().get('StackName')
30-
31-
def set_StackName(self,StackName):
32-
self.add_path_param('StackName',StackName)
26+
self.set_method('DELETE')
3327

3428
def get_StackId(self):
3529
return self.get_path_params().get('StackId')
3630

3731
def set_StackId(self,StackId):
38-
self.add_path_param('StackId',StackId)
32+
self.add_path_param('StackId',StackId)
33+
34+
def get_StackName(self):
35+
return self.get_path_params().get('StackName')
36+
37+
def set_StackName(self,StackName):
38+
self.add_path_param('StackName',StackName)
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 CancelUpdateStackRequest(RoaRequest):
22+
23+
def __init__(self):
24+
RoaRequest.__init__(self, 'ROS', '2015-09-01', 'CancelUpdateStack')
25+
self.set_uri_pattern('/stacks/[StackName]/[StackId]/cancel')
26+
self.set_method('PUT')
27+
28+
def get_StackId(self):
29+
return self.get_path_params().get('StackId')
30+
31+
def set_StackId(self,StackId):
32+
self.add_path_param('StackId',StackId)
33+
34+
def get_StackName(self):
35+
return self.get_path_params().get('StackName')
36+
37+
def set_StackName(self,StackName):
38+
self.add_path_param('StackName',StackName)
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 ContinueCreateStackRequest(RoaRequest):
22+
23+
def __init__(self):
24+
RoaRequest.__init__(self, 'ROS', '2015-09-01', 'ContinueCreateStack')
25+
self.set_uri_pattern('/stacks/[StackName]/[StackId]/continue')
26+
self.set_method('POST')
27+
28+
def get_StackId(self):
29+
return self.get_path_params().get('StackId')
30+
31+
def set_StackId(self,StackId):
32+
self.add_path_param('StackId',StackId)
33+
34+
def get_StackName(self):
35+
return self.get_path_params().get('StackName')
36+
37+
def set_StackName(self,StackName):
38+
self.add_path_param('StackName',StackName)

aliyun-python-sdk-ros/aliyunsdkros/request/v20150901/CreateStacksRequest.py

100755100644
File mode changed.

aliyun-python-sdk-ros/aliyunsdkros/request/v20150901/DeleteStackRequest.py

100755100644
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ def __init__(self):
2525
self.set_uri_pattern('/stacks/[StackName]/[StackId]')
2626
self.set_method('DELETE')
2727

28-
def get_StackName(self):
29-
return self.get_path_params().get('StackName')
30-
31-
def set_StackName(self,StackName):
32-
self.add_path_param('StackName',StackName)
33-
3428
def get_StackId(self):
3529
return self.get_path_params().get('StackId')
3630

3731
def set_StackId(self,StackId):
38-
self.add_path_param('StackId',StackId)
32+
self.add_path_param('StackId',StackId)
33+
34+
def get_StackName(self):
35+
return self.get_path_params().get('StackName')
36+
37+
def set_StackName(self,StackName):
38+
self.add_path_param('StackName',StackName)

0 commit comments

Comments
 (0)