Debian Codegraph @

ansible_collections/cisco/meraki/plugins/modules/organizations_splash_themes.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_splash_themes
9 short_description: Resource module for organizations _splash _themes
10 description:
11 - Manage operations create and delete of the resource organizations _splash _themes.
12 - Create a Splash Theme.
13 - Delete a Splash Theme.
14 version_added: '1.0.0'
15 extends_documentation_fragment:
16 - cisco.meraki.module
17 author: Francisco Munoz (@fmunoz)
18 options:
19 baseTheme:
20 description: Base theme id.
21 type: str
22 id:
23 description: Id path parameter.
24 type: str
25 name:
26 description: Theme name.
27 type: str
28 organizationId:
29 description: OrganizationId path parameter. Organization ID.
30 type: str
31 requirements:
32 - meraki >= 2.4.9
33 - python >= 3.5
34 seealso:
35 - name: Cisco Meraki documentation for organizations createOrganizationSplashTheme
36 description: Complete reference of the createOrganizationSplashTheme API.
37 link: https://developer.cisco.com/meraki/api-v1/#!create-organization-splash-theme
38 - name: Cisco Meraki documentation for organizations deleteOrganizationSplashTheme
39 description: Complete reference of the deleteOrganizationSplashTheme API.
40 link: https://developer.cisco.com/meraki/api-v1/#!delete-organization-splash-theme
41 notes:
42 - SDK Method used are
43 organizations.Organizations.create_organization_splash_theme,
44 organizations.Organizations.delete_organization_splash_theme,
45 - Paths used are
46 post /organizations/{organizationId}/splash/themes,
47 delete /organizations/{organizationId}/splash/themes/{id},
48 """
49
50 EXAMPLES = r"""
51 - name: Create
52 cisco.meraki.organizations_splash_themes:
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 state: present
75 baseTheme: string
76 name: string
77 organizationId: string
78 - name: Delete by id
79 cisco.meraki.organizations_splash_themes:
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 state: absent
102 id: string
103 organizationId: string
104 """
105 RETURN = r"""
106 meraki_response:
107 description: A dictionary or list with the response returned by the Cisco Meraki Python SDK
108 returned: always
109 type: dict
110 sample: >
111 {
112 "id": "string",
113 "name": "string",
114 "themeAssets": [
115 {
116 "id": "string",
117 "name": "string"
118 }
119 ]
120 }
121 """