mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Convert to reduced list of known types (#50010)
This commit is contained in:
committed by
Jordan Borean
parent
fcd1486b51
commit
05c6ff79f9
@@ -88,7 +88,7 @@ annotation:
|
||||
_cid:
|
||||
description: annotation identifier
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: /annotation/100000
|
||||
_created:
|
||||
description: creation timestamp
|
||||
@@ -103,22 +103,22 @@ annotation:
|
||||
_last_modified_by:
|
||||
description: last modified by
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: /user/1000
|
||||
category:
|
||||
description: category of the created annotation
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: alerts
|
||||
title:
|
||||
description: title of the created annotation
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: WARNING
|
||||
description:
|
||||
description: description of the created annotation
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: Host is down.
|
||||
start:
|
||||
description: timestamp, since annotation applies
|
||||
@@ -128,7 +128,7 @@ annotation:
|
||||
stop:
|
||||
description: timestamp, since annotation ends
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: Host is down.
|
||||
rel_metrics:
|
||||
description: Array of metrics related to this annotation, each metrics is a string.
|
||||
|
||||
@@ -131,7 +131,7 @@ RETURN = '''
|
||||
uid:
|
||||
description: uid or slug of the created / deleted / exported dashboard.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: 000000063
|
||||
'''
|
||||
|
||||
|
||||
@@ -305,7 +305,7 @@ RETURN = '''
|
||||
name:
|
||||
description: name of the datasource created.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: test-ds
|
||||
id:
|
||||
description: Id of the datasource
|
||||
|
||||
@@ -61,7 +61,7 @@ RETURN = '''
|
||||
---
|
||||
version:
|
||||
description: version of the installed / removed plugin.
|
||||
type: string
|
||||
type: str
|
||||
returned: allways
|
||||
'''
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ EXAMPLES = '''
|
||||
RETURN = '''
|
||||
name:
|
||||
description: The name used to create, modify or delete the host
|
||||
type: string
|
||||
type: str
|
||||
returned: always
|
||||
data:
|
||||
description: The data structure used for create, modify or delete of the host
|
||||
|
||||
@@ -13,7 +13,7 @@ RETURN = '''
|
||||
success:
|
||||
description: flag indicating that execution was successful
|
||||
returned: success
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: True
|
||||
...
|
||||
'''
|
||||
|
||||
@@ -139,7 +139,7 @@ config:
|
||||
file:
|
||||
description: Path to the client configuration file
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "/etc/sensu/conf.d/client.json"
|
||||
'''
|
||||
|
||||
|
||||
@@ -140,12 +140,12 @@ config:
|
||||
file:
|
||||
description: Path to the handler configuration file
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "/etc/sensu/conf.d/handlers/irc.json"
|
||||
name:
|
||||
description: Name of the handler
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: "irc"
|
||||
'''
|
||||
|
||||
|
||||
@@ -385,7 +385,7 @@ RETURN = '''
|
||||
msg:
|
||||
description: The result of the operation
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: 'Action Deleted: Register webservers, ID: 0001'
|
||||
'''
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ RETURN = '''
|
||||
template_json:
|
||||
description: The JSON dump of the template
|
||||
returned: when state is dump
|
||||
type: string
|
||||
type: str
|
||||
sample: {
|
||||
"zabbix_export":{
|
||||
"date":"2017-11-29T16:37:24Z",
|
||||
|
||||
Reference in New Issue
Block a user