Debian Codegraph @

ansible_collections/cisco/meraki/plugins/doc_fragments/meraki.py

raw symbols SCIP
1 # -*- coding: utf-8 -*-
2
3 # Copyright: (c) 2018, Kevin Breit (@kbreit) <[email protected]>
4 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
5
6 from __future__ import absolute_import, division, print_function
7 __metaclass__ = type
8
9
10 class ModuleDocFragment(object):
11 # Standard files for documentation fragment
12 DOCUMENTATION = r'''
13 notes:
14 - More information about the Meraki API can be found at U(https://dashboard.meraki.com/api_docs).
15 - Some of the options are likely only used for developers within Meraki.
16 - As of Ansible 2.9, Meraki modules output keys as snake case. To use camel case, set the C(ANSIBLE_MERAKI_FORMAT) environment variable to C(camelcase).
17 - Ansible's Meraki modules will stop supporting camel case output in Ansible 2.13. Please update your playbooks.
18 - Check Mode downloads the current configuration from the dashboard, then compares changes against this download. Check Mode will report changed if
19 there are differences in the configurations, but does not submit changes to the API for validation of change.
20 options:
21 auth_key:
22 description:
23 - Authentication key provided by the dashboard. Required if environmental variable C(MERAKI_KEY) is not set.
24 type: str
25 required: true
26 host:
27 description:
28 - Hostname for Meraki dashboard.
29 - Can be used to access regional Meraki environments, such as China.
30 type: str
31 default: api.meraki.com
32 use_proxy:
33 description:
34 - If C(no), it will not use a proxy, even if one is defined in an environment variable on the target hosts.
35 type: bool
36 default: false
37 use_https:
38 description:
39 - If C(no), it will use HTTP. Otherwise it will use HTTPS.
40 - Only useful for internal Meraki developers.
41 type: bool
42 default: true
43 output_format:
44 description:
45 - Instructs module whether response keys should be snake case (ex. C(net_id)) or camel case (ex. C(netId)).
46 type: str
47 choices: [snakecase, camelcase]
48 default: snakecase
49 output_level:
50 description:
51 - Set amount of debug output during module execution.
52 type: str
53 choices: [ debug, normal ]
54 default: normal
55 timeout:
56 description:
57 - Time to timeout for HTTP requests.
58 type: int
59 default: 30
60 validate_certs:
61 description:
62 - Whether to validate HTTP certificates.
63 type: bool
64 default: true
65 org_name:
66 description:
67 - Name of organization.
68 type: str
69 aliases: [ organization ]
70 org_id:
71 description:
72 - ID of organization.
73 type: str
74 rate_limit_retry_time:
75 description:
76 - Number of seconds to retry if rate limiter is triggered.
77 type: int
78 default: 165
79 internal_error_retry_time:
80 description:
81 - Number of seconds to retry if server returns an internal server error.
82 type: int
83 default: 60
84 '''