Debian Codegraph @

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

raw symbols SCIP
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_pii_pii_keys_info
9 short_description: Information module for networks _pii _piikeys
10 description:
11 - Information module for Networks Pii Piikeys Info.
12 - Get all networks _pii _piikeys.
13 - >
14 List the keys required to access Personally Identifiable Information PII for a
15 given identifier. Exactly one identifier will be accepted. If the organization
16 contains org-wide Systems Manager users matching the key provided then there will
17 be an entry with the key "0" containing the applicable keys.
18 version_added: '1.0.0'
19 extends_documentation_fragment:
20 - cisco.meraki.module_info
21 author: Francisco Munoz (@fmunoz)
22 options:
23 headers:
24 description: Additional headers.
25 type: dict
26 networkId:
27 description:
28 - Information module for Networks Pii Piikeys Info.
29 - NetworkId path parameter. Network ID.
30 type: str
31 username:
32 description:
33 - Information module for Networks Pii Piikeys Info.
34 - Username query parameter. The username of a Systems Manager user.
35 type: str
36 email:
37 description:
38 - Information module for Networks Pii Piikeys Info.
39 - Email query parameter. The email of a network user account or a Systems Manager
40 device.
41 type: str
42 mac:
43 description:
44 - Information module for Networks Pii Piikeys Info.
45 - Mac query parameter. The MAC of a network client device or a Systems Manager
46 device.
47 type: str
48 serial:
49 description:
50 - Information module for Networks Pii Piikeys Info.
51 - Serial query parameter. The serial of a Systems Manager device.
52 type: str
53 imei:
54 description:
55 - Information module for Networks Pii Piikeys Info.
56 - Imei query parameter. The IMEI of a Systems Manager device.
57 type: str
58 bluetoothMac:
59 description:
60 - Information module for Networks Pii Piikeys Info.
61 - BluetoothMac query parameter. The MAC of a Bluetooth client.
62 type: str
63 requirements:
64 - meraki >= 2.4.9
65 - python >= 3.5
66 seealso:
67 - name: Cisco Meraki documentation for networks getNetworkPiiPiiKeys
68 description: Complete reference of the getNetworkPiiPiiKeys API.
69 link: https://developer.cisco.com/meraki/api-v1/#!get-network-pii-pii-keys
70 notes:
71 - SDK Method used are
72 networks.Networks.get_network_pii_pii_keys,
73 - Paths used are
74 get /networks/{networkId}/pii/piiKeys,
75 """
76
77 EXAMPLES = r"""
78 - name: Get all networks _pii _piikeys
79 cisco.meraki.networks_pii_pii_keys_info:
80 meraki_api_key: "{{ meraki_api_key }}"
81 meraki_base_url: "{{ meraki_base_url }}"
82 meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
83 meraki_certificate_path: "{{ meraki_certificate_path }}"
84 meraki_requests_proxy: "{{ meraki_requests_proxy }}"
85 meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
86 meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
87 meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
88 meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
89 meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
90 meraki_maximum_retries: "{{ meraki_maximum_retries }}"
91 meraki_output_log: "{{ meraki_output_log }}"
92 meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
93 meraki_log_path: "{{ meraki_log_path }}"
94 meraki_print_console: "{{ meraki_print_console }}"
95 meraki_suppress_logging: "{{ meraki_suppress_logging }}"
96 meraki_simulate: "{{ meraki_simulate }}"
97 meraki_be_geo_id: "{{ meraki_be_geo_id }}"
98 meraki_caller: "{{ meraki_caller }}"
99 meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
100 meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
101 username: string
102 email: string
103 mac: string
104 serial: string
105 imei: string
106 bluetoothMac: string
107 networkId: string
108 register: result
109 """
110 RETURN = r"""
111 meraki_response:
112 description: A dictionary or list with the response returned by the Cisco Meraki Python SDK
113 returned: always
114 type: dict
115 sample:
116 - {}
117 """