Skip to content

Commit

Permalink
docs: module docs sanity findings
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemental committed May 27, 2024
1 parent c9eebc8 commit fa5ce76
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions plugins/modules/grafana_contact_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@
- desc_text
type: bool
default: true
state:
description:
- Status of the contact point
type: str
default: present
choices:
- present
- absent
type:
description:
- desc_text
Expand Down Expand Up @@ -389,10 +397,12 @@
description:
- desc_text
type: list
elements: str
slack_mention_users:
description:
- desc_text
type: list
elements: str
slack_recipient:
description:
- desc_text
Expand Down Expand Up @@ -583,6 +593,7 @@
description:
- desc_text
type: list
elements: str
wecom_url:
description:
- desc_text
Expand Down Expand Up @@ -618,6 +629,7 @@
contact_point:
description: Contact point created or updated by the module.
returned: changed
type: dict
"""

import json
Expand Down Expand Up @@ -1123,8 +1135,8 @@ def main():
slack_icon_emoji=dict(type="str"),
slack_icon_url=dict(type="str"),
slack_mention_channel=dict(type="str", choices=["here", "channel"]),
slack_mention_groups=dict(type="list"),
slack_mention_users=dict(type="list"),
slack_mention_groups=dict(type="list", elements="str"),
slack_mention_users=dict(type="list", elements="str"),
slack_recipient=dict(type="str"),
slack_text=dict(type="str"),
slack_title=dict(type="str"),
Expand Down Expand Up @@ -1177,7 +1189,7 @@ def main():
wecom_msg_type=dict(type="str"),
wecom_secret=dict(type="str", no_log=True),
wecom_title=dict(type="str"),
wecom_to_user=dict(type="list"),
wecom_to_user=dict(type="list", elements="str"),
wecom_url=dict(type="str", no_log=True),
)

Expand Down

0 comments on commit fa5ce76

Please sign in to comment.