Debian Codegraph @

ansible_collections/cisco/meraki/plugins/modules/networks_wireless_bluetooth_settings.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_bluetooth_settings
9 short_description: Resource module for networks _wireless _bluetooth _settings
10 description:
11 - Manage operation update of the resource networks _wireless _bluetooth _settings.
12 - Update the Bluetooth settings for a network. See the docs page for Bluetooth.
13 version_added: '1.0.0'
14 extends_documentation_fragment:
15 - cisco.meraki.module
16 author: Francisco Munoz (@fmunoz)
17 options:
18 advertisingEnabled:
19 description: Whether APs will advertise beacons.
20 type: bool
21 major:
22 description: The major number to be used in the beacon identifier. Only valid
23 in 'Non-unique' mode.
24 type: int
25 majorMinorAssignmentMode:
26 description: The way major and minor number should be assigned to nodes in the
27 network. ('Unique', 'Non-unique').
28 type: str
29 minor:
30 description: The minor number to be used in the beacon identifier. Only valid
31 in 'Non-unique' mode.
32 type: int
33 networkId:
34 description: NetworkId path parameter. Network ID.
35 type: str
36 scanningEnabled:
37 description: Whether APs will scan for Bluetooth enabled clients.
38 type: bool
39 uuid:
40 description: The UUID to be used in the beacon identifier.
41 type: str
42 requirements:
43 - meraki >= 2.4.9
44 - python >= 3.5
45 seealso:
46 - name: Cisco Meraki documentation for wireless updateNetworkWirelessBluetoothSettings
47 description: Complete reference of the updateNetworkWirelessBluetoothSettings
48 API.
49 link: https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-bluetooth-settings
50 notes:
51 - SDK Method used are
52 wireless.Wireless.update_network_wireless_bluetooth_settings,
53 - Paths used are
54 put /networks/{networkId}/wireless/bluetooth/settings,
55 """
56
57 EXAMPLES = r"""
58 - name: Update all
59 cisco.meraki.networks_wireless_bluetooth_settings:
60 meraki_api_key: "{{ meraki_api_key }}"
61 meraki_base_url: "{{ meraki_base_url }}"
62 meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
63 meraki_certificate_path: "{{ meraki_certificate_path }}"
64 meraki_requests_proxy: "{{ meraki_requests_proxy }}"
65 meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
66 meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
67 meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
68 meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
69 meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
70 meraki_maximum_retries: "{{ meraki_maximum_retries }}"
71 meraki_output_log: "{{ meraki_output_log }}"
72 meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
73 meraki_log_path: "{{ meraki_log_path }}"
74 meraki_print_console: "{{ meraki_print_console }}"
75 meraki_suppress_logging: "{{ meraki_suppress_logging }}"
76 meraki_simulate: "{{ meraki_simulate }}"
77 meraki_be_geo_id: "{{ meraki_be_geo_id }}"
78 meraki_caller: "{{ meraki_caller }}"
79 meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
80 meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
81 state: present
82 advertisingEnabled: true
83 major: 1
84 majorMinorAssignmentMode: Non-unique
85 minor: 1
86 networkId: string
87 scanningEnabled: true
88 uuid: 00000000-0000-0000-000-000000000000
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 "scanningEnabled": true,
98 "advertisingEnabled": true,
99 "uuid": "string",
100 "majorMinorAssignmentMode": "string",
101 "major": 0,
102 "minor": 0,
103 "eslEnabled": true
104 }
105 """