Debian Codegraph @

ansible_collections/cisco/meraki/plugins/modules/organizations_wireless_controller_connections_info.py

raw
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3
4 # Copyright (c) 2021, Cisco Systems
5 # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
6
7 DOCUMENTATION = r"""
8 module: organizations_wireless_controller_connections_info
9 short_description: Information module for organizations _wireless _controller _connections
10 description:
11 - Information module for Organizations Wireless Controller Connections Info.
12 - Get all organizations _wireless _controller _connections.
13 - List all access points associated with wireless LAN controllers in an organization.
14 version_added: '1.0.0'
15 extends_documentation_fragment:
16 - cisco.meraki.module_info
17 - cisco.meraki.module_info_pagination
18 author: Francisco Munoz (@fmunoz)
19 options:
20 headers:
21 description: Additional headers.
22 type: dict
23 organizationId:
24 description:
25 - Information module for Organizations Wireless Controller Connections Info.
26 - OrganizationId path parameter. Organization ID.
27 type: str
28 networkIds:
29 description:
30 - Information module for Organizations Wireless Controller Connections Info.
31 - >
32 NetworkIds query parameter. Optional parameter to filter access points by
33 network ID. This filter uses multiple exact matches.
34 elements: str
35 type: list
36 controllerSerials:
37 description:
38 - Information module for Organizations Wireless Controller Connections Info.
39 - >
40 ControllerSerials query parameter. Optional parameter to filter access points
41 by its controller cloud ID. This filter uses multiple exact matches.
42 elements: str
43 type: list
44 perPage:
45 description:
46 - Information module for Organizations Wireless Controller Connections Info.
47 - PerPage query parameter. The number of entries per page returned. Acceptable
48 range is 3 - 1000. Default is 1000.
49 type: int
50 startingAfter:
51 description:
52 - Information module for Organizations Wireless Controller Connections Info.
53 - >
54 StartingAfter query parameter. A token used by the server to indicate the
55 start of the page. Often this is a timestamp or an ID but it is not limited
56 to those. This parameter should not be defined by client applications. The
57 link for the first, last, prev, or next page in the HTTP Link header should
58 define it.
59 type: str
60 endingBefore:
61 description:
62 - Information module for Organizations Wireless Controller Connections Info.
63 - >
64 EndingBefore query parameter. A token used by the server to indicate the end
65 of the page. Often this is a timestamp or an ID but it is not limited to those.
66 This parameter should not be defined by client applications. The link for
67 the first, last, prev, or next page in the HTTP Link header should define
68 it.
69 type: str
70 requirements:
71 - meraki >= 2.4.9
72 - python >= 3.5
73 seealso:
74 - name: Cisco Meraki documentation for wirelessController getOrganizationWirelessControllerConnections
75 description: Complete reference of the getOrganizationWirelessControllerConnections
76 API.
77 link: https://developer.cisco.com/meraki/api-v1/#!get-organization-wireless-controller-connections
78 notes:
79 - SDK Method used are
80 wireless_controller.WirelessController.get_organization_wireless_controller_connections,
81 - Paths used are
82 get /organizations/{organizationId}/wirelessController/connections,
83 """
84
85 EXAMPLES = r"""
86 - name: Get all organizations _wireless _controller _connections
87 cisco.meraki.organizations_wireless_controller_connections_info:
88 meraki_api_key: "{{ meraki_api_key }}"
89 meraki_base_url: "{{ meraki_base_url }}"
90 meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
91 meraki_certificate_path: "{{ meraki_certificate_path }}"
92 meraki_requests_proxy: "{{ meraki_requests_proxy }}"
93 meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
94 meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
95 meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
96 meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
97 meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
98 meraki_maximum_retries: "{{ meraki_maximum_retries }}"
99 meraki_output_log: "{{ meraki_output_log }}"
100 meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
101 meraki_log_path: "{{ meraki_log_path }}"
102 meraki_print_console: "{{ meraki_print_console }}"
103 meraki_suppress_logging: "{{ meraki_suppress_logging }}"
104 meraki_simulate: "{{ meraki_simulate }}"
105 meraki_be_geo_id: "{{ meraki_be_geo_id }}"
106 meraki_caller: "{{ meraki_caller }}"
107 meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
108 meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
109 networkIds: []
110 controllerSerials: []
111 perPage: 0
112 startingAfter: string
113 endingBefore: string
114 organizationId: string
115 total_pages: -1
116 direction: next
117 register: result
118 """
119 RETURN = r"""
120 meraki_response:
121 description: A dictionary or list with the response returned by the Cisco Meraki Python SDK
122 returned: always
123 type: dict
124 sample: >
125 {
126 "items": [
127 {
128 "serial": "string",
129 "controller": {
130 "serial": "string"
131 },
132 "network": {
133 "id": "string",
134 "url": "string",
135 "name": "string"
136 }
137 }
138 ],
139 "meta": {
140 "counts": {
141 "items": {
142 "total": 0,
143 "remaining": 0
144 }
145 }
146 }
147 }
148 """