mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -07:00
[PR #10494/736ce198 backport][stable-11] arg_spec adjustments: modules [a-f]* (#10501)
arg_spec adjustments: modules [a-f]* (#10494)
* arg_spec adjustments: modules [a-f]*
* add changelog frag
* Update changelogs/fragments/10494-rfdn-1.yml
---------
(cherry picked from commit 736ce1983d
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
9d8fac08bb
commit
a5ae69c701
27 changed files with 134 additions and 110 deletions
|
@ -175,18 +175,18 @@ def main():
|
|||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
api_key=dict(required=True, no_log=True),
|
||||
api_host=dict(required=False, default="https://api.datadoghq.com"),
|
||||
api_host=dict(default="https://api.datadoghq.com"),
|
||||
app_key=dict(required=True, no_log=True),
|
||||
state=dict(required=False, choices=["present", "absent"], default="present"),
|
||||
monitor_tags=dict(required=False, type="list", elements="str"),
|
||||
scope=dict(required=False, type="list", elements="str"),
|
||||
monitor_id=dict(required=False, type="int"),
|
||||
downtime_message=dict(required=False, no_log=True),
|
||||
start=dict(required=False, type="int"),
|
||||
end=dict(required=False, type="int"),
|
||||
timezone=dict(required=False, type="str"),
|
||||
rrule=dict(required=False, type="str"),
|
||||
id=dict(required=False, type="int"),
|
||||
state=dict(choices=["present", "absent"], default="present"),
|
||||
monitor_tags=dict(type="list", elements="str"),
|
||||
scope=dict(type="list", elements="str"),
|
||||
monitor_id=dict(type="int"),
|
||||
downtime_message=dict(no_log=True),
|
||||
start=dict(type="int"),
|
||||
end=dict(type="int"),
|
||||
timezone=dict(type="str"),
|
||||
rrule=dict(type="str"),
|
||||
id=dict(type="int"),
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue