datadog_monitor: Add process alert support (#60325)

pull/61111/head
Andrej Svenke 5 years ago committed by ansibot
parent bfaa29303b
commit bdc87a5651

@ -49,7 +49,7 @@ options:
type:
description:
- The type of the monitor.
choices: ['metric alert', 'service check', 'event alert']
choices: ['metric alert', 'service check', 'event alert', 'process alert']
type: str
query:
description:
@ -194,7 +194,7 @@ def main():
api_key=dict(required=True, no_log=True),
app_key=dict(required=True, no_log=True),
state=dict(required=True, choices=['present', 'absent', 'mute', 'unmute']),
type=dict(required=False, choices=['metric alert', 'service check', 'event alert']),
type=dict(required=False, choices=['metric alert', 'service check', 'event alert', 'process alert']),
name=dict(required=True),
query=dict(required=False),
message=dict(required=False, default=None),

Loading…
Cancel
Save