Debian Codegraph @

ansible_collections/cisco/meraki/plugins/modules/devices_camera_video_link_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: devices_camera_video_link_info
9 short_description: Information module for devices _camera _videolink
10 description:
11 - Information module for Devices Camera Videolink Info.
12 - Get all devices _camera _videolink.
13 - Returns video link to the specified camera. If a timestamp is supplied, it links
14 to that timestamp.
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 serial:
24 description:
25 - Information module for Devices Camera Videolink Info.
26 - Serial path parameter.
27 type: str
28 timestamp:
29 description:
30 - Information module for Devices Camera Videolink Info.
31 - >
32 Timestamp query parameter. Optional The video link will start at this time.
33 The timestamp should be a string in ISO8601 format. If no timestamp is specified,
34 we will assume current time.
35 type: str
36 requirements:
37 - meraki >= 2.4.9
38 - python >= 3.5
39 seealso:
40 - name: Cisco Meraki documentation for camera getDeviceCameraVideoLink
41 description: Complete reference of the getDeviceCameraVideoLink API.
42 link: https://developer.cisco.com/meraki/api-v1/#!get-device-camera-video-link
43 notes:
44 - SDK Method used are
45 camera.Camera.get_device_camera_video_link,
46 - Paths used are
47 get /devices/{serial}/camera/videoLink,
48 """
49
50 EXAMPLES = r"""
51 - name: Get all devices _camera _videolink
52 cisco.meraki.devices_camera_video_link_info:
53 meraki_api_key: "{{ meraki_api_key }}"
54 meraki_base_url: "{{ meraki_base_url }}"
55 meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
56 meraki_certificate_path: "{{ meraki_certificate_path }}"
57 meraki_requests_proxy: "{{ meraki_requests_proxy }}"
58 meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
59 meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
60 meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
61 meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
62 meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
63 meraki_maximum_retries: "{{ meraki_maximum_retries }}"
64 meraki_output_log: "{{ meraki_output_log }}"
65 meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
66 meraki_log_path: "{{ meraki_log_path }}"
67 meraki_print_console: "{{ meraki_print_console }}"
68 meraki_suppress_logging: "{{ meraki_suppress_logging }}"
69 meraki_simulate: "{{ meraki_simulate }}"
70 meraki_be_geo_id: "{{ meraki_be_geo_id }}"
71 meraki_caller: "{{ meraki_caller }}"
72 meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
73 meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
74 timestamp: string
75 serial: string
76 register: result
77 """
78 RETURN = r"""
79 meraki_response:
80 description: A dictionary or list with the response returned by the Cisco Meraki Python SDK
81 returned: always
82 type: dict
83 sample:
84 - {}
85 """