| 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_camera_quality_retention_profiles |
| 9 |
short_description: Resource module for networks _camera _qualityretentionprofiles |
| 10 |
description: |
| 11 |
- Manage operations create, update and delete of the resource networks _camera _qualityretentionprofiles. |
| 12 |
- Creates new quality retention profile for this network. |
| 13 |
- Delete an existing quality retention profile for this network. |
| 14 |
- Update an existing quality retention profile for this network. |
| 15 |
version_added: '1.0.0' |
| 16 |
extends_documentation_fragment: |
| 17 |
- cisco.meraki.module |
| 18 |
author: Francisco Munoz (@fmunoz) |
| 19 |
options: |
| 20 |
audioRecordingEnabled: |
| 21 |
description: Whether or not to record audio. Can be either true or false. Defaults |
| 22 |
to false. |
| 23 |
type: bool |
| 24 |
cloudArchiveEnabled: |
| 25 |
description: Create redundant video backup using Cloud Archive. Can be either |
| 26 |
true or false. Defaults to false. |
| 27 |
type: bool |
| 28 |
maxRetentionDays: |
| 29 |
description: The maximum number of days for which the data will be stored, or |
| 30 |
'null' to keep data until storage space runs out. If the former, it can be in |
| 31 |
the range of one to ninety days. |
| 32 |
type: int |
| 33 |
motionBasedRetentionEnabled: |
| 34 |
description: Deletes footage older than 3 days in which no motion was detected. |
| 35 |
Can be either true or false. Defaults to false. This setting does not apply |
| 36 |
to MV2 cameras. |
| 37 |
type: bool |
| 38 |
motionDetectorVersion: |
| 39 |
description: The version of the motion detector that will be used by the camera. |
| 40 |
Only applies to Gen 2 cameras. Defaults to v2. |
| 41 |
type: int |
| 42 |
name: |
| 43 |
description: The name of the new profile. Must be unique. This parameter is required. |
| 44 |
type: str |
| 45 |
networkId: |
| 46 |
description: NetworkId path parameter. Network ID. |
| 47 |
type: str |
| 48 |
qualityRetentionProfileId: |
| 49 |
description: QualityRetentionProfileId path parameter. Quality retention profile |
| 50 |
ID. |
| 51 |
type: str |
| 52 |
restrictedBandwidthModeEnabled: |
| 53 |
description: Disable features that require additional bandwidth such as Motion |
| 54 |
Recap. Can be either true or false. Defaults to false. This setting does not |
| 55 |
apply to MV2 cameras. |
| 56 |
type: bool |
| 57 |
scheduleId: |
| 58 |
description: Schedule for which this camera will record video, or 'null' to always |
| 59 |
record. |
| 60 |
type: str |
| 61 |
smartRetention: |
| 62 |
description: Smart Retention records footage in two qualities and intelligently |
| 63 |
retains higher quality when motion, people or vehicles are detected. |
| 64 |
suboptions: |
| 65 |
enabled: |
| 66 |
description: Boolean indicating if Smart Retention is enabled(true) or disabled(false). |
| 67 |
type: bool |
| 68 |
type: dict |
| 69 |
videoSettings: |
| 70 |
description: Video quality and resolution settings for all the camera models. |
| 71 |
suboptions: |
| 72 |
MV12/MV22/MV72: |
| 73 |
description: Quality and resolution for MV12/MV22/MV72 camera models. |
| 74 |
suboptions: |
| 75 |
quality: |
| 76 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 77 |
or 'High'. |
| 78 |
type: str |
| 79 |
resolution: |
| 80 |
description: Resolution of the camera. Can be one of '1280x720' or '1920x1080'. |
| 81 |
type: str |
| 82 |
type: dict |
| 83 |
MV12WE: |
| 84 |
description: Quality and resolution for MV12WE camera models. |
| 85 |
suboptions: |
| 86 |
quality: |
| 87 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 88 |
or 'High'. |
| 89 |
type: str |
| 90 |
resolution: |
| 91 |
description: Resolution of the camera. Can be one of '1280x720' or '1920x1080'. |
| 92 |
type: str |
| 93 |
type: dict |
| 94 |
MV13: |
| 95 |
description: Quality and resolution for MV13 camera models. |
| 96 |
suboptions: |
| 97 |
quality: |
| 98 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 99 |
or 'High'. |
| 100 |
type: str |
| 101 |
resolution: |
| 102 |
description: Resolution of the camera. Can be one of '1920x1080', '2688x1512' |
| 103 |
or '3840x2160'. |
| 104 |
type: str |
| 105 |
type: dict |
| 106 |
MV13M: |
| 107 |
description: Quality and resolution for MV13M camera models. |
| 108 |
suboptions: |
| 109 |
quality: |
| 110 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 111 |
or 'High'. |
| 112 |
type: str |
| 113 |
resolution: |
| 114 |
description: Resolution of the camera. Can be one of '1920x1080', '2688x1512' |
| 115 |
or '3840x2160'. |
| 116 |
type: str |
| 117 |
type: dict |
| 118 |
MV21/MV71: |
| 119 |
description: Quality and resolution for MV21/MV71 camera models. |
| 120 |
suboptions: |
| 121 |
quality: |
| 122 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 123 |
or 'High'. |
| 124 |
type: str |
| 125 |
resolution: |
| 126 |
description: Resolution of the camera. Can be one of '1280x720'. |
| 127 |
type: str |
| 128 |
type: dict |
| 129 |
MV22X/MV72X: |
| 130 |
description: Quality and resolution for MV22X/MV72X camera models. |
| 131 |
suboptions: |
| 132 |
quality: |
| 133 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 134 |
or 'High'. |
| 135 |
type: str |
| 136 |
resolution: |
| 137 |
description: Resolution of the camera. Can be one of '1280x720', '1920x1080' |
| 138 |
or '2688x1512'. |
| 139 |
type: str |
| 140 |
type: dict |
| 141 |
MV23: |
| 142 |
description: Quality and resolution for MV23 camera models. |
| 143 |
suboptions: |
| 144 |
quality: |
| 145 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 146 |
or 'High'. |
| 147 |
type: str |
| 148 |
resolution: |
| 149 |
description: Resolution of the camera. Can be one of '1920x1080', '2688x1512' |
| 150 |
or '3840x2160'. |
| 151 |
type: str |
| 152 |
type: dict |
| 153 |
MV23M: |
| 154 |
description: Quality and resolution for MV23M camera models. |
| 155 |
suboptions: |
| 156 |
quality: |
| 157 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 158 |
or 'High'. |
| 159 |
type: str |
| 160 |
resolution: |
| 161 |
description: Resolution of the camera. Can be one of '1920x1080', '2688x1512' |
| 162 |
or '3840x2160'. |
| 163 |
type: str |
| 164 |
type: dict |
| 165 |
MV23X: |
| 166 |
description: Quality and resolution for MV23X camera models. |
| 167 |
suboptions: |
| 168 |
quality: |
| 169 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 170 |
or 'High'. |
| 171 |
type: str |
| 172 |
resolution: |
| 173 |
description: Resolution of the camera. Can be one of '1920x1080', '2688x1512' |
| 174 |
or '3840x2160'. |
| 175 |
type: str |
| 176 |
type: dict |
| 177 |
MV32: |
| 178 |
description: Quality and resolution for MV32 camera models. |
| 179 |
suboptions: |
| 180 |
quality: |
| 181 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 182 |
or 'High'. |
| 183 |
type: str |
| 184 |
resolution: |
| 185 |
description: Resolution of the camera. Can be one of '1080x1080' or '2112x2112'. |
| 186 |
type: str |
| 187 |
type: dict |
| 188 |
MV33: |
| 189 |
description: Quality and resolution for MV33 camera models. |
| 190 |
suboptions: |
| 191 |
quality: |
| 192 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 193 |
or 'High'. |
| 194 |
type: str |
| 195 |
resolution: |
| 196 |
description: Resolution of the camera. Can be one of '1080x1080', '2112x2112' |
| 197 |
or '2880x2880'. |
| 198 |
type: str |
| 199 |
type: dict |
| 200 |
MV33M: |
| 201 |
description: Quality and resolution for MV33M camera models. |
| 202 |
suboptions: |
| 203 |
quality: |
| 204 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 205 |
or 'High'. |
| 206 |
type: str |
| 207 |
resolution: |
| 208 |
description: Resolution of the camera. Can be one of '1080x1080', '2112x2112' |
| 209 |
or '2880x2880'. |
| 210 |
type: str |
| 211 |
type: dict |
| 212 |
MV52: |
| 213 |
description: Quality and resolution for MV52 camera models. |
| 214 |
suboptions: |
| 215 |
quality: |
| 216 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 217 |
or 'High'. |
| 218 |
type: str |
| 219 |
resolution: |
| 220 |
description: Resolution of the camera. Can be one of '1280x720', '1920x1080', |
| 221 |
'2688x1512' or '3840x2160'. |
| 222 |
type: str |
| 223 |
type: dict |
| 224 |
MV53X: |
| 225 |
description: Quality and resolution for MV53X camera models. |
| 226 |
suboptions: |
| 227 |
quality: |
| 228 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 229 |
or 'High'. |
| 230 |
type: str |
| 231 |
resolution: |
| 232 |
description: Resolution of the camera. Can be one of '1920x1080', '2688x1512' |
| 233 |
or '3840x2160'. |
| 234 |
type: str |
| 235 |
type: dict |
| 236 |
MV63: |
| 237 |
description: Quality and resolution for MV63 camera models. |
| 238 |
suboptions: |
| 239 |
quality: |
| 240 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 241 |
or 'High'. |
| 242 |
type: str |
| 243 |
resolution: |
| 244 |
description: Resolution of the camera. Can be one of '1920x1080', '2688x1512' |
| 245 |
or '3840x2160'. |
| 246 |
type: str |
| 247 |
type: dict |
| 248 |
MV63M: |
| 249 |
description: Quality and resolution for MV63M camera models. |
| 250 |
suboptions: |
| 251 |
quality: |
| 252 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 253 |
or 'High'. |
| 254 |
type: str |
| 255 |
resolution: |
| 256 |
description: Resolution of the camera. Can be one of '1920x1080', '2688x1512' |
| 257 |
or '3840x2160'. |
| 258 |
type: str |
| 259 |
type: dict |
| 260 |
MV63X: |
| 261 |
description: Quality and resolution for MV63X camera models. |
| 262 |
suboptions: |
| 263 |
quality: |
| 264 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 265 |
or 'High'. |
| 266 |
type: str |
| 267 |
resolution: |
| 268 |
description: Resolution of the camera. Can be one of '1920x1080', '2688x1512' |
| 269 |
or '3840x2160'. |
| 270 |
type: str |
| 271 |
type: dict |
| 272 |
MV73: |
| 273 |
description: Quality and resolution for MV73 camera models. |
| 274 |
suboptions: |
| 275 |
quality: |
| 276 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 277 |
or 'High'. |
| 278 |
type: str |
| 279 |
resolution: |
| 280 |
description: Resolution of the camera. Can be one of '1920x1080', '2688x1512' |
| 281 |
or '3840x2160'. |
| 282 |
type: str |
| 283 |
type: dict |
| 284 |
MV73M: |
| 285 |
description: Quality and resolution for MV73M camera models. |
| 286 |
suboptions: |
| 287 |
quality: |
| 288 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 289 |
or 'High'. |
| 290 |
type: str |
| 291 |
resolution: |
| 292 |
description: Resolution of the camera. Can be one of '1920x1080', '2688x1512' |
| 293 |
or '3840x2160'. |
| 294 |
type: str |
| 295 |
type: dict |
| 296 |
MV73X: |
| 297 |
description: Quality and resolution for MV73X camera models. |
| 298 |
suboptions: |
| 299 |
quality: |
| 300 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 301 |
or 'High'. |
| 302 |
type: str |
| 303 |
resolution: |
| 304 |
description: Resolution of the camera. Can be one of '1920x1080', '2688x1512' |
| 305 |
or '3840x2160'. |
| 306 |
type: str |
| 307 |
type: dict |
| 308 |
MV84X: |
| 309 |
description: Quality and resolution for MV84X camera models. |
| 310 |
suboptions: |
| 311 |
quality: |
| 312 |
description: Quality of the camera. Can be one of 'Standard' or 'Enhanced'. |
| 313 |
type: str |
| 314 |
resolution: |
| 315 |
description: Resolution of the camera. Can be one of '1440x1080' or '2560x1920'. |
| 316 |
type: str |
| 317 |
type: dict |
| 318 |
MV93: |
| 319 |
description: Quality and resolution for MV93 camera models. |
| 320 |
suboptions: |
| 321 |
quality: |
| 322 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 323 |
or 'High'. |
| 324 |
type: str |
| 325 |
resolution: |
| 326 |
description: Resolution of the camera. Can be one of '1080x1080', '2112x2112' |
| 327 |
or '2880x2880'. |
| 328 |
type: str |
| 329 |
type: dict |
| 330 |
MV93M: |
| 331 |
description: Quality and resolution for MV93M camera models. |
| 332 |
suboptions: |
| 333 |
quality: |
| 334 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 335 |
or 'High'. |
| 336 |
type: str |
| 337 |
resolution: |
| 338 |
description: Resolution of the camera. Can be one of '1080x1080', '2112x2112' |
| 339 |
or '2880x2880'. |
| 340 |
type: str |
| 341 |
type: dict |
| 342 |
MV93X: |
| 343 |
description: Quality and resolution for MV93X camera models. |
| 344 |
suboptions: |
| 345 |
quality: |
| 346 |
description: Quality of the camera. Can be one of 'Standard', 'Enhanced' |
| 347 |
or 'High'. |
| 348 |
type: str |
| 349 |
resolution: |
| 350 |
description: Resolution of the camera. Can be one of '1080x1080', '2112x2112' |
| 351 |
or '2880x2880'. |
| 352 |
type: str |
| 353 |
type: dict |
| 354 |
type: dict |
| 355 |
requirements: |
| 356 |
- meraki >= 2.4.9 |
| 357 |
- python >= 3.5 |
| 358 |
seealso: |
| 359 |
- name: Cisco Meraki documentation for camera createNetworkCameraQualityRetentionProfile |
| 360 |
description: Complete reference of the createNetworkCameraQualityRetentionProfile |
| 361 |
API. |
| 362 |
link: https://developer.cisco.com/meraki/api-v1/#!create-network-camera-quality-retention-profile |
| 363 |
- name: Cisco Meraki documentation for camera deleteNetworkCameraQualityRetentionProfile |
| 364 |
description: Complete reference of the deleteNetworkCameraQualityRetentionProfile |
| 365 |
API. |
| 366 |
link: https://developer.cisco.com/meraki/api-v1/#!delete-network-camera-quality-retention-profile |
| 367 |
- name: Cisco Meraki documentation for camera updateNetworkCameraQualityRetentionProfile |
| 368 |
description: Complete reference of the updateNetworkCameraQualityRetentionProfile |
| 369 |
API. |
| 370 |
link: https://developer.cisco.com/meraki/api-v1/#!update-network-camera-quality-retention-profile |
| 371 |
notes: |
| 372 |
- SDK Method used are |
| 373 |
camera.Camera.create_network_camera_quality_retention_profile, |
| 374 |
camera.Camera.delete_network_camera_quality_retention_profile, |
| 375 |
camera.Camera.update_network_camera_quality_retention_profile, |
| 376 |
- Paths used are |
| 377 |
post /networks/{networkId}/camera/qualityRetentionProfiles, |
| 378 |
delete |
| 379 |
/networks/{networkId}/camera/qualityRetentionProfiles/{qualityRetentionProfileId}, |
| 380 |
put /networks/{networkId}/camera/qualityRetentionProfiles/{qualityRetentionProfileId}, |
| 381 |
""" |
| 382 |
|
| 383 |
EXAMPLES = r""" |
| 384 |
- name: Create |
| 385 |
cisco.meraki.networks_camera_quality_retention_profiles: |
| 386 |
meraki_api_key: "{{ meraki_api_key }}" |
| 387 |
meraki_base_url: "{{ meraki_base_url }}" |
| 388 |
meraki_single_request_timeout: "{{ meraki_single_request_timeout }}" |
| 389 |
meraki_certificate_path: "{{ meraki_certificate_path }}" |
| 390 |
meraki_requests_proxy: "{{ meraki_requests_proxy }}" |
| 391 |
meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}" |
| 392 |
meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}" |
| 393 |
meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}" |
| 394 |
meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}" |
| 395 |
meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}" |
| 396 |
meraki_maximum_retries: "{{ meraki_maximum_retries }}" |
| 397 |
meraki_output_log: "{{ meraki_output_log }}" |
| 398 |
meraki_log_file_prefix: "{{ meraki_log_file_prefix }}" |
| 399 |
meraki_log_path: "{{ meraki_log_path }}" |
| 400 |
meraki_print_console: "{{ meraki_print_console }}" |
| 401 |
meraki_suppress_logging: "{{ meraki_suppress_logging }}" |
| 402 |
meraki_simulate: "{{ meraki_simulate }}" |
| 403 |
meraki_be_geo_id: "{{ meraki_be_geo_id }}" |
| 404 |
meraki_caller: "{{ meraki_caller }}" |
| 405 |
meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}" |
| 406 |
meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}" |
| 407 |
state: present |
| 408 |
name: Sample quality retention profile |
| 409 |
networkId: string |
| 410 |
- name: Update by id |
| 411 |
cisco.meraki.networks_camera_quality_retention_profiles: |
| 412 |
meraki_api_key: "{{ meraki_api_key }}" |
| 413 |
meraki_base_url: "{{ meraki_base_url }}" |
| 414 |
meraki_single_request_timeout: "{{ meraki_single_request_timeout }}" |
| 415 |
meraki_certificate_path: "{{ meraki_certificate_path }}" |
| 416 |
meraki_requests_proxy: "{{ meraki_requests_proxy }}" |
| 417 |
meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}" |
| 418 |
meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}" |
| 419 |
meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}" |
| 420 |
meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}" |
| 421 |
meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}" |
| 422 |
meraki_maximum_retries: "{{ meraki_maximum_retries }}" |
| 423 |
meraki_output_log: "{{ meraki_output_log }}" |
| 424 |
meraki_log_file_prefix: "{{ meraki_log_file_prefix }}" |
| 425 |
meraki_log_path: "{{ meraki_log_path }}" |
| 426 |
meraki_print_console: "{{ meraki_print_console }}" |
| 427 |
meraki_suppress_logging: "{{ meraki_suppress_logging }}" |
| 428 |
meraki_simulate: "{{ meraki_simulate }}" |
| 429 |
meraki_be_geo_id: "{{ meraki_be_geo_id }}" |
| 430 |
meraki_caller: "{{ meraki_caller }}" |
| 431 |
meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}" |
| 432 |
meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}" |
| 433 |
state: present |
| 434 |
audioRecordingEnabled: true |
| 435 |
cloudArchiveEnabled: true |
| 436 |
maxRetentionDays: {} |
| 437 |
motionBasedRetentionEnabled: true |
| 438 |
motionDetectorVersion: 0 |
| 439 |
name: string |
| 440 |
networkId: string |
| 441 |
qualityRetentionProfileId: string |
| 442 |
restrictedBandwidthModeEnabled: true |
| 443 |
scheduleId: {} |
| 444 |
smartRetention: |
| 445 |
enabled: true |
| 446 |
videoSettings: |
| 447 |
MV12/MV22/MV72: |
| 448 |
quality: string |
| 449 |
resolution: string |
| 450 |
MV12WE: |
| 451 |
quality: string |
| 452 |
resolution: string |
| 453 |
MV13: |
| 454 |
quality: string |
| 455 |
resolution: string |
| 456 |
MV13M: |
| 457 |
quality: string |
| 458 |
resolution: string |
| 459 |
MV21/MV71: |
| 460 |
quality: string |
| 461 |
resolution: string |
| 462 |
MV22X/MV72X: |
| 463 |
quality: string |
| 464 |
resolution: string |
| 465 |
MV23: |
| 466 |
quality: string |
| 467 |
resolution: string |
| 468 |
MV23M: |
| 469 |
quality: string |
| 470 |
resolution: string |
| 471 |
MV23X: |
| 472 |
quality: string |
| 473 |
resolution: string |
| 474 |
MV32: |
| 475 |
quality: string |
| 476 |
resolution: string |
| 477 |
MV33: |
| 478 |
quality: string |
| 479 |
resolution: string |
| 480 |
MV33M: |
| 481 |
quality: string |
| 482 |
resolution: string |
| 483 |
MV52: |
| 484 |
quality: string |
| 485 |
resolution: string |
| 486 |
MV53X: |
| 487 |
quality: string |
| 488 |
resolution: string |
| 489 |
MV63: |
| 490 |
quality: string |
| 491 |
resolution: string |
| 492 |
MV63M: |
| 493 |
quality: string |
| 494 |
resolution: string |
| 495 |
MV63X: |
| 496 |
quality: string |
| 497 |
resolution: string |
| 498 |
MV73: |
| 499 |
quality: string |
| 500 |
resolution: string |
| 501 |
MV73M: |
| 502 |
quality: string |
| 503 |
resolution: string |
| 504 |
MV73X: |
| 505 |
quality: string |
| 506 |
resolution: string |
| 507 |
MV84X: |
| 508 |
quality: string |
| 509 |
resolution: string |
| 510 |
MV93: |
| 511 |
quality: string |
| 512 |
resolution: string |
| 513 |
MV93M: |
| 514 |
quality: string |
| 515 |
resolution: string |
| 516 |
MV93X: |
| 517 |
quality: string |
| 518 |
resolution: string |
| 519 |
- name: Delete by id |
| 520 |
cisco.meraki.networks_camera_quality_retention_profiles: |
| 521 |
meraki_api_key: "{{ meraki_api_key }}" |
| 522 |
meraki_base_url: "{{ meraki_base_url }}" |
| 523 |
meraki_single_request_timeout: "{{ meraki_single_request_timeout }}" |
| 524 |
meraki_certificate_path: "{{ meraki_certificate_path }}" |
| 525 |
meraki_requests_proxy: "{{ meraki_requests_proxy }}" |
| 526 |
meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}" |
| 527 |
meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}" |
| 528 |
meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}" |
| 529 |
meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}" |
| 530 |
meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}" |
| 531 |
meraki_maximum_retries: "{{ meraki_maximum_retries }}" |
| 532 |
meraki_output_log: "{{ meraki_output_log }}" |
| 533 |
meraki_log_file_prefix: "{{ meraki_log_file_prefix }}" |
| 534 |
meraki_log_path: "{{ meraki_log_path }}" |
| 535 |
meraki_print_console: "{{ meraki_print_console }}" |
| 536 |
meraki_suppress_logging: "{{ meraki_suppress_logging }}" |
| 537 |
meraki_simulate: "{{ meraki_simulate }}" |
| 538 |
meraki_be_geo_id: "{{ meraki_be_geo_id }}" |
| 539 |
meraki_caller: "{{ meraki_caller }}" |
| 540 |
meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}" |
| 541 |
meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}" |
| 542 |
state: absent |
| 543 |
networkId: string |
| 544 |
qualityRetentionProfileId: string |
| 545 |
""" |
| 546 |
RETURN = r""" |
| 547 |
meraki_response: |
| 548 |
description: A dictionary or list with the response returned by the Cisco Meraki Python SDK |
| 549 |
returned: always |
| 550 |
type: dict |
| 551 |
sample: > |
| 552 |
{ |
| 553 |
"id": "string", |
| 554 |
"networkId": "string", |
| 555 |
"name": "string", |
| 556 |
"restrictedBandwidthModeEnabled": true, |
| 557 |
"motionBasedRetentionEnabled": true, |
| 558 |
"audioRecordingEnabled": true, |
| 559 |
"cloudArchiveEnabled": true, |
| 560 |
"maxRetentionDays": 0, |
| 561 |
"scheduleId": {}, |
| 562 |
"motionDetectorVersion": 0, |
| 563 |
"smartRetention": { |
| 564 |
"enabled": true |
| 565 |
}, |
| 566 |
"videoSettings": {} |
| 567 |
} |
| 568 |
""" |