mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
datadog_monitor: adds missing 'log alert' type to supported types (#277)
* adds missing 'log alert' type to supported types * added changelog fragment * Update changelogs/fragments/277-datadog_monitor-adds-missing-log-alert-type.yml Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
This commit is contained in:
parent
4af49abd00
commit
3599b8afdc
2 changed files with 4 additions and 2 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- datadog_monitor - added missing ``log alert`` type to ``type`` choices (https://github.com/ansible-collections/community.general/issues/251).
|
|
@ -53,7 +53,7 @@ options:
|
||||||
type:
|
type:
|
||||||
description:
|
description:
|
||||||
- The type of the monitor.
|
- The type of the monitor.
|
||||||
choices: ['metric alert', 'service check', 'event alert', 'process alert']
|
choices: ['metric alert', 'service check', 'event alert', 'process alert', 'log alert']
|
||||||
type: str
|
type: str
|
||||||
query:
|
query:
|
||||||
description:
|
description:
|
||||||
|
@ -204,7 +204,7 @@ def main():
|
||||||
api_host=dict(required=False),
|
api_host=dict(required=False),
|
||||||
app_key=dict(required=True, no_log=True),
|
app_key=dict(required=True, no_log=True),
|
||||||
state=dict(required=True, choices=['present', 'absent', 'mute', 'unmute']),
|
state=dict(required=True, choices=['present', 'absent', 'mute', 'unmute']),
|
||||||
type=dict(required=False, choices=['metric alert', 'service check', 'event alert', 'process alert']),
|
type=dict(required=False, choices=['metric alert', 'service check', 'event alert', 'process alert', 'log alert']),
|
||||||
name=dict(required=True),
|
name=dict(required=True),
|
||||||
query=dict(required=False),
|
query=dict(required=False),
|
||||||
notification_message=dict(required=False, default=None, aliases=['message'], deprecated_aliases=[dict(name='message', version='2.14')]),
|
notification_message=dict(required=False, default=None, aliases=['message'], deprecated_aliases=[dict(name='message', version='2.14')]),
|
||||||
|
|
Loading…
Reference in a new issue