Debian Codegraph @

ansible_collections/cisco/meraki/plugins/modules/networks_wireless_failed_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: networks_wireless_failed_connections_info
9 short_description: Information module for networks _wireless _failedconnections
10 description:
11 - Information module for Networks Wireless Failedconnections Info.
12 - Get all networks _wireless _failedconnections.
13 - List of all failed client connection events on this network in a given time range.
14 version_added: '1.0.0'
15 extends_documentation_fragment:
16 - cisco.meraki.module_info
17 author: Francisco Munoz (@fmunoz)
18 options:
19 headers:
20 description: Additional headers.
21 type: dict
22 networkId:
23 description:
24 - Information module for Networks Wireless Failedconnections Info.
25 - NetworkId path parameter. Network ID.
26 type: str
27 t0:
28 description:
29 - Information module for Networks Wireless Failedconnections Info.
30 - T0 query parameter. The beginning of the timespan for the data. The maximum
31 lookback period is 180 days from today.
32 type: str
33 t1:
34 description:
35 - Information module for Networks Wireless Failedconnections Info.
36 - T1 query parameter. The end of the timespan for the data. T1 can be a maximum
37 of 7 days after t0.
38 type: str
39 timespan:
40 description:
41 - Information module for Networks Wireless Failedconnections Info.
42 - >
43 Timespan query parameter. The timespan for which the information will be fetched.
44 If specifying timespan, do not specify parameters t0 and t1. The value must
45 be in seconds and be less than or equal to 7 days.
46 type: float
47 band:
48 description:
49 - Information module for Networks Wireless Failedconnections Info.
50 - >
51 Band query parameter. Filter results by band (either '2.4', '5' or '6'). Note
52 that data prior to February 2020 will not have band information.
53 type: str
54 ssid:
55 description:
56 - Information module for Networks Wireless Failedconnections Info.
57 - Ssid query parameter. Filter results by SSID.
58 type: int
59 apTag:
60 description:
61 - Information module for Networks Wireless Failedconnections Info.
62 - ApTag query parameter. Filter results by AP Tag.
63 type: str
64 serial:
65 description:
66 - Information module for Networks Wireless Failedconnections Info.
67 - Serial query parameter. Filter by AP.
68 type: str
69 clientId:
70 description:
71 - Information module for Networks Wireless Failedconnections Info.
72 - ClientId query parameter. Filter by client MAC.
73 type: str
74 requirements:
75 - meraki >= 2.4.9
76 - python >= 3.5
77 seealso:
78 - name: Cisco Meraki documentation for wireless getNetworkWirelessFailedConnections
79 description: Complete reference of the getNetworkWirelessFailedConnections API.
80 link: https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-failed-connections
81 notes:
82 - SDK Method used are
83 wireless.Wireless.get_network_wireless_failed_connections,
84 - Paths used are
85 get /networks/{networkId}/wireless/failedConnections,
86 """
87
88 EXAMPLES = r"""
89 - name: Get all networks _wireless _failedconnections
90 cisco.meraki.networks_wireless_failed_connections_info:
91 meraki_api_key: "{{ meraki_api_key }}"
92 meraki_base_url: "{{ meraki_base_url }}"
93 meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
94 meraki_certificate_path: "{{ meraki_certificate_path }}"
95 meraki_requests_proxy: "{{ meraki_requests_proxy }}"
96 meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
97 meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
98 meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
99 meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
100 meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
101 meraki_maximum_retries: "{{ meraki_maximum_retries }}"
102 meraki_output_log: "{{ meraki_output_log }}"
103 meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
104 meraki_log_path: "{{ meraki_log_path }}"
105 meraki_print_console: "{{ meraki_print_console }}"
106 meraki_suppress_logging: "{{ meraki_suppress_logging }}"
107 meraki_simulate: "{{ meraki_simulate }}"
108 meraki_be_geo_id: "{{ meraki_be_geo_id }}"
109 meraki_caller: "{{ meraki_caller }}"
110 meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
111 meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
112 t0: string
113 t1: string
114 timespan: 0
115 band: string
116 ssid: 0
117 apTag: string
118 serial: string
119 clientId: string
120 networkId: string
121 register: result
122 """
123 RETURN = r"""
124 meraki_response:
125 description: A dictionary or list with the response returned by the Cisco Meraki Python SDK
126 returned: always
127 type: list
128 elements: dict
129 sample: >
130 [
131 {
132 "ssidNumber": 0,
133 "vlan": 0,
134 "clientMac": "string",
135 "serial": "string",
136 "radio": 0,
137 "failureStep": "string",
138 "type": "string",
139 "ts": "string"
140 }
141 ]
142 """