Debian Codegraph @

ansible_collections/community/general/plugins/doc_fragments/_influxdb.py

raw
1 # Copyright (c) 2017, Ansible Project
2 # Copyright (c) 2017, Abhijeet Kasurde ([email protected])
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 # Note that this doc fragment is **PRIVATE** to the collection. It can have breaking changes at any time.
7 # Do not use this from other collections or standalone plugins/modules!
8
9 from __future__ import annotations
10
11
12 class ModuleDocFragment:
13 # Parameters for influxdb modules
14 DOCUMENTATION = r"""
15 options:
16 hostname:
17 description:
18 - The hostname or IP address on which InfluxDB server is listening.
19 type: str
20 default: localhost
21 username:
22 description:
23 - Username that is used to authenticate against InfluxDB server.
24 type: str
25 default: root
26 aliases: [login_username]
27 password:
28 description:
29 - Password that is used to authenticate against InfluxDB server.
30 type: str
31 default: root
32 aliases: [login_password]
33 port:
34 description:
35 - The port on which InfluxDB server is listening.
36 type: int
37 default: 8086
38 path:
39 description:
40 - The path on which InfluxDB server is accessible.
41 - Only available when using python-influxdb >= 5.1.0.
42 type: str
43 default: ''
44 version_added: '0.2.0'
45 validate_certs:
46 description:
47 - If set to V(false), the SSL certificates are not validated.
48 - This should only set to V(false) used on personally controlled sites using self-signed certificates.
49 type: bool
50 default: true
51 ssl:
52 description:
53 - Use https instead of http to connect to InfluxDB server.
54 type: bool
55 default: false
56 timeout:
57 description:
58 - Number of seconds Requests waits for client to establish a connection.
59 type: int
60 retries:
61 description:
62 - Number of retries client performs before aborting.
63 - V(0) indicates try until success.
64 - Only available when using C(python-influxdb) >= 4.1.0.
65 type: int
66 default: 3
67 use_udp:
68 description:
69 - Use UDP to connect to InfluxDB server.
70 type: bool
71 default: false
72 udp_port:
73 description:
74 - UDP port to connect to InfluxDB server.
75 type: int
76 default: 4444
77 proxies:
78 description:
79 - HTTP(S) proxy to use for Requests to connect to InfluxDB server.
80 type: dict
81 default: {}
82 """