Debian Codegraph @

ansible_collections/fortinet/fortios/plugins/doc_fragments/fortios.py

raw symbols SCIP
1 # -*- coding: utf-8 -*-
2
3 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
4
5 from __future__ import (absolute_import, division, print_function)
6 __metaclass__ = type
7
8
9 class ModuleDocFragment(object):
10
11 # Standard files documentation fragment
12 DOCUMENTATION = r'''
13 options:
14 file_mode:
15 description:
16 - Don't connect to any device, only use I(config_file) as input and Output.
17 type: bool
18 default: no
19 version_added: "2.4"
20 config_file:
21 description:
22 - Path to configuration file. Required when I(file_mode) is True.
23 type: path
24 version_added: "2.4"
25 host:
26 description:
27 - Specifies the DNS hostname or IP address for connecting to the remote fortios device. Required when I(file_mode) is False.
28 type: str
29 username:
30 description:
31 - Configures the username used to authenticate to the remote device. Required when I(file_mode) is True.
32 type: str
33 password:
34 description:
35 - Specifies the password used to authenticate to the remote device. Required when I(file_mode) is True.
36 type: str
37 timeout:
38 description:
39 - Timeout in seconds for connecting to the remote device.
40 type: int
41 default: 60
42 vdom:
43 description:
44 - Specifies on which vdom to apply configuration
45 type: str
46 backup:
47 description:
48 - This argument will cause the module to create a backup of
49 the current C(running-config) from the remote device before any
50 changes are made. The backup file is written to the i(backup)
51 folder.
52 type: bool
53 default: no
54 backup_path:
55 description:
56 - Specifies where to store backup files. Required if I(backup=yes).
57 type: path
58 backup_filename:
59 description:
60 - Specifies the backup filename. If omitted filename will be
61 formatted like HOST_config.YYYY-MM-DD@HH:MM:SS
62 type: str
63 '''