Debian Codegraph @

ansible_collections/cisco/meraki/plugins/modules/organizations_devices_statuses_overview_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_devices_statuses_overview_info
9 short_description: Information module for organizations _devices _statuses _overview
10 description:
11 - Information module for Organizations Devices Statuses Overview Info.
12 - Get all organizations _devices _statuses _overview.
13 - Return an overview of current device statuses.
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 Devices Statuses Overview Info.
25 - OrganizationId path parameter. Organization ID.
26 type: str
27 productTypes:
28 description:
29 - Information module for Organizations Devices Statuses Overview Info.
30 - >
31 ProductTypes query parameter. An optional parameter to filter device statuses
32 by product type. Valid types are wireless, appliance, switch, systemsManager,
33 camera, cellularGateway, sensor, wirelessController, campusGateway, and secureConnect.
34 elements: str
35 type: list
36 networkIds:
37 description:
38 - Information module for Organizations Devices Statuses Overview Info.
39 - NetworkIds query parameter. An optional parameter to filter device statuses
40 by network.
41 elements: str
42 type: list
43 requirements:
44 - meraki >= 2.4.9
45 - python >= 3.5
46 seealso:
47 - name: Cisco Meraki documentation for organizations getOrganizationDevicesStatusesOverview
48 description: Complete reference of the getOrganizationDevicesStatusesOverview
49 API.
50 link: https://developer.cisco.com/meraki/api-v1/#!get-organization-devices-statuses-overview
51 notes:
52 - SDK Method used are
53 organizations.Organizations.get_organization_devices_statuses_overview,
54 - Paths used are
55 get /organizations/{organizationId}/devices/statuses/overview,
56 """
57
58 EXAMPLES = r"""
59 - name: Get all organizations _devices _statuses _overview
60 cisco.meraki.organizations_devices_statuses_overview_info:
61 meraki_api_key: "{{ meraki_api_key }}"
62 meraki_base_url: "{{ meraki_base_url }}"
63 meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
64 meraki_certificate_path: "{{ meraki_certificate_path }}"
65 meraki_requests_proxy: "{{ meraki_requests_proxy }}"
66 meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
67 meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
68 meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
69 meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
70 meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
71 meraki_maximum_retries: "{{ meraki_maximum_retries }}"
72 meraki_output_log: "{{ meraki_output_log }}"
73 meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
74 meraki_log_path: "{{ meraki_log_path }}"
75 meraki_print_console: "{{ meraki_print_console }}"
76 meraki_suppress_logging: "{{ meraki_suppress_logging }}"
77 meraki_simulate: "{{ meraki_simulate }}"
78 meraki_be_geo_id: "{{ meraki_be_geo_id }}"
79 meraki_caller: "{{ meraki_caller }}"
80 meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
81 meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
82 productTypes: []
83 networkIds: []
84 organizationId: string
85 register: result
86 """
87 RETURN = r"""
88 meraki_response:
89 description: A dictionary or list with the response returned by the Cisco Meraki Python SDK
90 returned: always
91 type: dict
92 sample: >
93 {
94 "byStatus": {
95 "online": 0,
96 "alerting": 0,
97 "offline": 0,
98 "dormant": 0
99 }
100 }
101 """