mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Add versionadded directives for #26312
This commit is contained in:
parent
a870b79748
commit
9f88f11ccd
@ -139,6 +139,8 @@ def check_vpc(vpc_id=None, vpc_name=None, region=None, key=None, keyid=None,
|
||||
both vpc_id and vpc_name are None. Optionally raise a
|
||||
CommandExecutionError if the VPC does not exist.
|
||||
|
||||
.. versionadded:: Boron
|
||||
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
@ -126,6 +126,8 @@ def present(
|
||||
vpc_name
|
||||
The name of the VPC to create the security group in, if any.
|
||||
|
||||
.. versionadded:: Boron
|
||||
|
||||
rules
|
||||
A list of ingress rule dicts.
|
||||
|
||||
@ -144,6 +146,8 @@ def present(
|
||||
profile
|
||||
A dict with region, key and keyid, or a pillar key (string)
|
||||
that contains a dict with region, key and keyid.
|
||||
|
||||
.. versionadded:: Boron
|
||||
'''
|
||||
ret = {'name': name, 'result': True, 'comment': '', 'changes': {}}
|
||||
_ret = _security_group_present(name, description, vpc_id, region, key,
|
||||
@ -487,6 +491,8 @@ def absent(
|
||||
vpc_name
|
||||
The name of the VPC to create the security group in, if any.
|
||||
|
||||
.. versionadded:: Boron
|
||||
|
||||
region
|
||||
Region to connect to.
|
||||
|
||||
@ -499,6 +505,8 @@ def absent(
|
||||
profile
|
||||
A dict with region, key and keyid, or a pillar key (string)
|
||||
that contains a dict with region, key and keyid.
|
||||
|
||||
.. versionadded:: Boron
|
||||
'''
|
||||
ret = {'name': name, 'result': None, 'comment': '', 'changes': {}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user