| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
DOCUMENTATION = r""" |
| 8 |
module: organizations_cellular_gateway_esims_swap |
| 9 |
short_description: Resource module for organizations _cellular _gateway _esims _swap |
| 10 |
description: |
| 11 |
- Manage operations create and update of the resource organizations _cellular _gateway |
| 12 |
_esims _swap. |
| 13 |
- Swap which profile an eSIM uses. |
| 14 |
- Get the status of a profile swap. |
| 15 |
version_added: '1.0.0' |
| 16 |
extends_documentation_fragment: |
| 17 |
- cisco.meraki.module |
| 18 |
author: Francisco Munoz (@fmunoz) |
| 19 |
options: |
| 20 |
id: |
| 21 |
description: Id path parameter. ESIM EID. |
| 22 |
type: str |
| 23 |
organizationId: |
| 24 |
description: OrganizationId path parameter. Organization ID. |
| 25 |
type: str |
| 26 |
swaps: |
| 27 |
description: Each object represents a swap for one eSIM. |
| 28 |
elements: dict |
| 29 |
suboptions: |
| 30 |
eid: |
| 31 |
description: ESIM EID. |
| 32 |
type: str |
| 33 |
target: |
| 34 |
description: Target Profile attributes. |
| 35 |
suboptions: |
| 36 |
accountId: |
| 37 |
description: ID of the target account; can be the account currently tied |
| 38 |
to the eSIM. |
| 39 |
type: str |
| 40 |
communicationPlan: |
| 41 |
description: Name of the target communication plan. |
| 42 |
type: str |
| 43 |
ratePlan: |
| 44 |
description: Name of the target rate plan. |
| 45 |
type: str |
| 46 |
type: dict |
| 47 |
type: list |
| 48 |
requirements: |
| 49 |
- meraki >= 2.4.9 |
| 50 |
- python >= 3.5 |
| 51 |
seealso: |
| 52 |
- name: Cisco Meraki documentation for cellularGateway createOrganizationCellularGatewayEsimsSwap |
| 53 |
description: Complete reference of the createOrganizationCellularGatewayEsimsSwap |
| 54 |
API. |
| 55 |
link: https://developer.cisco.com/meraki/api-v1/#!create-organization-cellular-gateway-esims-swap |
| 56 |
- name: Cisco Meraki documentation for cellularGateway updateOrganizationCellularGatewayEsimsSwap |
| 57 |
description: Complete reference of the updateOrganizationCellularGatewayEsimsSwap |
| 58 |
API. |
| 59 |
link: https://developer.cisco.com/meraki/api-v1/#!update-organization-cellular-gateway-esims-swap |
| 60 |
notes: |
| 61 |
- SDK Method used are |
| 62 |
cellular_gateway.CellularGateway.create_organization_cellular_gateway_esims_swap, |
| 63 |
cellular_gateway.CellularGateway.update_organization_cellular_gateway_esims_swap, |
| 64 |
- Paths used are |
| 65 |
post /organizations/{organizationId}/cellularGateway/esims/swap, |
| 66 |
put /organizations/{organizationId}/cellularGateway/esims/swap/{id}, |
| 67 |
""" |
| 68 |
|
| 69 |
EXAMPLES = r""" |
| 70 |
- name: Create |
| 71 |
cisco.meraki.organizations_cellular_gateway_esims_swap: |
| 72 |
meraki_api_key: "{{ meraki_api_key }}" |
| 73 |
meraki_base_url: "{{ meraki_base_url }}" |
| 74 |
meraki_single_request_timeout: "{{ meraki_single_request_timeout }}" |
| 75 |
meraki_certificate_path: "{{ meraki_certificate_path }}" |
| 76 |
meraki_requests_proxy: "{{ meraki_requests_proxy }}" |
| 77 |
meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}" |
| 78 |
meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}" |
| 79 |
meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}" |
| 80 |
meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}" |
| 81 |
meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}" |
| 82 |
meraki_maximum_retries: "{{ meraki_maximum_retries }}" |
| 83 |
meraki_output_log: "{{ meraki_output_log }}" |
| 84 |
meraki_log_file_prefix: "{{ meraki_log_file_prefix }}" |
| 85 |
meraki_log_path: "{{ meraki_log_path }}" |
| 86 |
meraki_print_console: "{{ meraki_print_console }}" |
| 87 |
meraki_suppress_logging: "{{ meraki_suppress_logging }}" |
| 88 |
meraki_simulate: "{{ meraki_simulate }}" |
| 89 |
meraki_be_geo_id: "{{ meraki_be_geo_id }}" |
| 90 |
meraki_caller: "{{ meraki_caller }}" |
| 91 |
meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}" |
| 92 |
meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}" |
| 93 |
state: present |
| 94 |
organizationId: string |
| 95 |
swaps: |
| 96 |
- eid: '1234567890' |
| 97 |
target: |
| 98 |
accountId: '456' |
| 99 |
communicationPlan: A comm plan |
| 100 |
ratePlan: A rate plan |
| 101 |
- name: Update by id |
| 102 |
cisco.meraki.organizations_cellular_gateway_esims_swap: |
| 103 |
meraki_api_key: "{{ meraki_api_key }}" |
| 104 |
meraki_base_url: "{{ meraki_base_url }}" |
| 105 |
meraki_single_request_timeout: "{{ meraki_single_request_timeout }}" |
| 106 |
meraki_certificate_path: "{{ meraki_certificate_path }}" |
| 107 |
meraki_requests_proxy: "{{ meraki_requests_proxy }}" |
| 108 |
meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}" |
| 109 |
meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}" |
| 110 |
meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}" |
| 111 |
meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}" |
| 112 |
meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}" |
| 113 |
meraki_maximum_retries: "{{ meraki_maximum_retries }}" |
| 114 |
meraki_output_log: "{{ meraki_output_log }}" |
| 115 |
meraki_log_file_prefix: "{{ meraki_log_file_prefix }}" |
| 116 |
meraki_log_path: "{{ meraki_log_path }}" |
| 117 |
meraki_print_console: "{{ meraki_print_console }}" |
| 118 |
meraki_suppress_logging: "{{ meraki_suppress_logging }}" |
| 119 |
meraki_simulate: "{{ meraki_simulate }}" |
| 120 |
meraki_be_geo_id: "{{ meraki_be_geo_id }}" |
| 121 |
meraki_caller: "{{ meraki_caller }}" |
| 122 |
meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}" |
| 123 |
meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}" |
| 124 |
state: present |
| 125 |
id: string |
| 126 |
organizationId: string |
| 127 |
""" |
| 128 |
RETURN = r""" |
| 129 |
meraki_response: |
| 130 |
description: A dictionary or list with the response returned by the Cisco Meraki Python SDK |
| 131 |
returned: always |
| 132 |
type: dict |
| 133 |
sample: > |
| 134 |
{ |
| 135 |
"eid": "string", |
| 136 |
"iccid": "string", |
| 137 |
"status": "string" |
| 138 |
} |
| 139 |
""" |