Debian Codegraph @

ansible_collections/cisco/meraki/plugins/modules/organizations_admins_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_admins_info
9 short_description: Information module for organizations _admins
10 description:
11 - Information module for Organizations Admins Info.
12 - Get all organizations _admins.
13 - List the dashboard administrators in this organization.
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 organizationId:
23 description:
24 - Information module for Organizations Admins Info.
25 - OrganizationId path parameter. Organization ID.
26 type: str
27 networkIds:
28 description:
29 - Information module for Organizations Admins Info.
30 - NetworkIds query parameter. Optional parameter to filter the result set by
31 the included set of network IDs.
32 elements: str
33 type: list
34 requirements:
35 - meraki >= 2.4.9
36 - python >= 3.5
37 seealso:
38 - name: Cisco Meraki documentation for organizations getOrganizationAdmins
39 description: Complete reference of the getOrganizationAdmins API.
40 link: https://developer.cisco.com/meraki/api-v1/#!get-organization-admins
41 notes:
42 - SDK Method used are
43 organizations.Organizations.get_organization_admins,
44 - Paths used are
45 get /organizations/{organizationId}/admins,
46 """
47
48 EXAMPLES = r"""
49 - name: Get all organizations _admins
50 cisco.meraki.organizations_admins_info:
51 meraki_api_key: "{{ meraki_api_key }}"
52 meraki_base_url: "{{ meraki_base_url }}"
53 meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
54 meraki_certificate_path: "{{ meraki_certificate_path }}"
55 meraki_requests_proxy: "{{ meraki_requests_proxy }}"
56 meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
57 meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
58 meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
59 meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
60 meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
61 meraki_maximum_retries: "{{ meraki_maximum_retries }}"
62 meraki_output_log: "{{ meraki_output_log }}"
63 meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
64 meraki_log_path: "{{ meraki_log_path }}"
65 meraki_print_console: "{{ meraki_print_console }}"
66 meraki_suppress_logging: "{{ meraki_suppress_logging }}"
67 meraki_simulate: "{{ meraki_simulate }}"
68 meraki_be_geo_id: "{{ meraki_be_geo_id }}"
69 meraki_caller: "{{ meraki_caller }}"
70 meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
71 meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
72 networkIds: []
73 organizationId: string
74 register: result
75 """
76 RETURN = r"""
77 meraki_response:
78 description: A dictionary or list with the response returned by the Cisco Meraki Python SDK
79 returned: always
80 type: list
81 elements: dict
82 sample: >
83 [
84 {
85 "id": "string",
86 "name": "string",
87 "email": "string",
88 "orgAccess": "string",
89 "accountStatus": "string",
90 "twoFactorAuthEnabled": true,
91 "hasApiKey": true,
92 "lastActive": "string",
93 "tags": [
94 {
95 "tag": "string",
96 "access": "string"
97 }
98 ],
99 "networks": [
100 {
101 "id": "string",
102 "access": "string"
103 }
104 ],
105 "authenticationMethod": "string"
106 }
107 ]
108 """