Debian Codegraph @

ansible_collections/cisco/meraki/plugins/modules/networks_bluetooth_clients_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_bluetooth_clients_info
9 short_description: Information module for networks _bluetoothclients
10 description:
11 - Information module for Networks Bluetoothclients Info.
12 - Get networks _bluetoothclients by id.
13 - Return a Bluetooth client. Bluetooth clients can be identified by their ID or
14 their MAC.
15 version_added: '1.0.0'
16 extends_documentation_fragment:
17 - cisco.meraki.module_info
18 author: Francisco Munoz (@fmunoz)
19 options:
20 headers:
21 description: Additional headers.
22 type: dict
23 networkId:
24 description:
25 - Information module for Networks Bluetoothclients Info.
26 - NetworkId path parameter. Network ID.
27 type: str
28 bluetoothClientId:
29 description:
30 - Information module for Networks Bluetoothclients Info.
31 - BluetoothClientId path parameter. Bluetooth client ID.
32 type: str
33 includeConnectivityHistory:
34 description:
35 - Information module for Networks Bluetoothclients Info.
36 - IncludeConnectivityHistory query parameter. Include the connectivity history
37 for this client.
38 type: bool
39 connectivityHistoryTimespan:
40 description:
41 - Information module for Networks Bluetoothclients Info.
42 - >
43 ConnectivityHistoryTimespan query parameter. The timespan, in seconds, for
44 the connectivityHistory data. By default 1 day, 86400, will be used.
45 type: int
46 requirements:
47 - meraki >= 2.4.9
48 - python >= 3.5
49 seealso:
50 - name: Cisco Meraki documentation for networks getNetworkBluetoothClient
51 description: Complete reference of the getNetworkBluetoothClient API.
52 link: https://developer.cisco.com/meraki/api-v1/#!get-network-bluetooth-client
53 notes:
54 - SDK Method used are
55 networks.Networks.get_network_bluetooth_client,
56 - Paths used are
57 get /networks/{networkId}/bluetoothClients/{bluetoothClientId},
58 """
59
60 EXAMPLES = r"""
61 - name: Get networks _bluetoothclients by id
62 cisco.meraki.networks_bluetooth_clients_info:
63 meraki_api_key: "{{ meraki_api_key }}"
64 meraki_base_url: "{{ meraki_base_url }}"
65 meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
66 meraki_certificate_path: "{{ meraki_certificate_path }}"
67 meraki_requests_proxy: "{{ meraki_requests_proxy }}"
68 meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
69 meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
70 meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
71 meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
72 meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
73 meraki_maximum_retries: "{{ meraki_maximum_retries }}"
74 meraki_output_log: "{{ meraki_output_log }}"
75 meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
76 meraki_log_path: "{{ meraki_log_path }}"
77 meraki_print_console: "{{ meraki_print_console }}"
78 meraki_suppress_logging: "{{ meraki_suppress_logging }}"
79 meraki_simulate: "{{ meraki_simulate }}"
80 meraki_be_geo_id: "{{ meraki_be_geo_id }}"
81 meraki_caller: "{{ meraki_caller }}"
82 meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
83 meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
84 includeConnectivityHistory: true
85 connectivityHistoryTimespan: 0
86 networkId: string
87 bluetoothClientId: string
88 register: result
89 """
90 RETURN = r"""
91 meraki_response:
92 description: A dictionary or list with the response returned by the Cisco Meraki Python SDK
93 returned: always
94 type: dict
95 sample: >
96 {
97 "id": "string",
98 "mac": "string",
99 "networkId": "string",
100 "name": "string",
101 "deviceName": "string",
102 "manufacturer": "string",
103 "lastSeen": 0,
104 "seenByDeviceMac": "string",
105 "inSightAlert": true,
106 "outOfSightAlert": true,
107 "tags": [
108 "string"
109 ]
110 }
111 """