mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
feat: add scaleway security_group_rule management (#45694)
* feat: add scaleway security_group_rule management
This commit is contained in:
parent
83e584577a
commit
c5d5d08b6b
5 changed files with 500 additions and 0 deletions
|
@ -15,6 +15,14 @@ def scaleway_argument_spec():
|
|||
)
|
||||
|
||||
|
||||
def payload_from_object(scw_object):
|
||||
return dict(
|
||||
(k, v)
|
||||
for k, v in scw_object.items()
|
||||
if k != 'id' and v is not None
|
||||
)
|
||||
|
||||
|
||||
class ScalewayException(Exception):
|
||||
|
||||
def __init__(self, message):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue