We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb6269b commit e6f86e2Copy full SHA for e6f86e2
stackdio/client/stack.py
@@ -131,21 +131,6 @@ def list_access_rules(self, stack_id):
131
"""
132
pass
133
134
- @deprecated
135
- def get_access_rule_id(self, stack_id, title):
136
- """Find an access rule id"""
137
-
138
- rules = self.list_access_rules(stack_id)
139
140
- try:
141
- for group in rules:
142
- if group.get('blueprint_host_definition').get('title') == title:
143
- return group.get('id')
144
- except TypeError:
145
- pass
146
147
- raise StackException('Access Rule %s not found' % title)
148
149
@get('security_groups/{group_id}/rules/', paginate=True)
150
def list_rules_for_group(self, group_id):
151
0 commit comments