Debian Codegraph @

ansible_collections/fortinet/fortimanager/plugins/doc_fragments/general.py

raw symbols SCIP
1 class ModuleDocFragment(object):
2 DOCUMENTATION = r'''
3 author:
4 - Xinwei Du (@dux-fortinet)
5 - Xing Li (@lix-fortinet)
6 - Jie Xue (@JieX19)
7 - Link Zheng (@chillancezen)
8 - Frank Shen (@fshen01)
9 - Hongbin Lu (@fgtdev-hblu)
10 description:
11 - This module is able to configure a FortiManager device.
12 - Examples include all parameters and values which need to be adjusted to data sources before usage.
13 notes:
14 - Starting in version 2.4.0, all input arguments are named using the underscore naming convention (snake_case).
15 Please change the arguments such as "var-name" to "var_name".
16 Old argument names are still available yet you will receive deprecation warnings.
17 You can ignore this warning by setting deprecation_warnings=False in ansible.cfg.
18 - Running in workspace locking mode is supported in this FortiManager module, the top
19 level parameters workspace_locking_adom and workspace_locking_timeout help do the work.
20 - Normally, running one module can fail when a non-zero rc is returned. you can also override
21 the conditions to fail or succeed with parameters rc_failed and rc_succeeded
22 options:
23 access_token:
24 description: The token to access FortiManager without using username and password.
25 type: str
26 bypass_validation:
27 description: Only set to True when module schema diffs with FortiManager API structure, module continues to execute without validating parameters.
28 type: bool
29 default: false
30 enable_log:
31 description: Enable/Disable logging for task.
32 type: bool
33 default: false
34 forticloud_access_token:
35 description: Authenticate Ansible client with forticloud API access token.
36 type: str
37 rc_succeeded:
38 description: The rc codes list with which the conditions to succeed will be overriden.
39 type: list
40 elements: int
41 rc_failed:
42 description: The rc codes list with which the conditions to fail will be overriden.
43 type: list
44 elements: int
45 workspace_locking_adom:
46 description: The adom to lock for FortiManager running in workspace mode, the value can be global and others including root.
47 type: str
48 workspace_locking_timeout:
49 description: The maximum time in seconds to wait for other user to release the workspace lock.
50 type: int
51 default: 300
52 '''
53
54 FULL_CRUD = r'''
55 notes:
56 - To create or update an object, use state present directive.
57 - To delete an object, use state absent directive.
58 options:
59 proposed_method:
60 description: The overridden method for the underlying Json RPC request.
61 type: str
62 choices:
63 - update
64 - set
65 - add
66 state:
67 description: The directive to create, update or delete an object.
68 type: str
69 required: true
70 choices:
71 - present
72 - absent
73 '''
74
75 PARTIAL_CRUD = r'''
76 options:
77 proposed_method:
78 description: The overridden method for the underlying Json RPC request.
79 type: str
80 choices:
81 - update
82 - set
83 - add
84 '''