Debian Codegraph @

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

raw
1 # Copyright (c) 2018, Johannes Brunswicker <[email protected]>
2 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
3 # SPDX-License-Identifier: GPL-3.0-or-later
4
5 # Note that this doc fragment is **PRIVATE** to the collection. It can have breaking changes at any time.
6 # Do not use this from other collections or standalone plugins/modules!
7
8 from __future__ import annotations
9
10
11 class ModuleDocFragment:
12 DOCUMENTATION = r"""
13 options:
14 headers:
15 description:
16 - A dictionary of additional headers to be sent to POST and PUT requests.
17 - Is needed for some modules.
18 type: dict
19 required: false
20 default: {}
21 utm_host:
22 description:
23 - The REST Endpoint of the Sophos UTM.
24 type: str
25 required: true
26 utm_port:
27 description:
28 - The port of the REST interface.
29 type: int
30 default: 4444
31 utm_token:
32 description:
33 - The token used to identify at the REST-API.
34 - See U(https://www.sophos.com/en-us/medialibrary/PDFs/documentation/UTMonAWS/Sophos-UTM-RESTful-API.pdf?la=en), Chapter
35 2.4.2.
36 type: str
37 required: true
38 utm_protocol:
39 description:
40 - The protocol of the REST Endpoint.
41 choices: [http, https]
42 type: str
43 default: https
44 validate_certs:
45 description:
46 - Whether the REST interface's SSL certificate should be verified or not.
47 type: bool
48 default: true
49 state:
50 description:
51 - The desired state of the object.
52 - V(present) creates or updates an object.
53 - V(absent) deletes an object if present.
54 type: str
55 choices: [absent, present]
56 default: present
57 """