| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
DOCUMENTATION = r""" |
| 8 |
module: organizations_networks_moves_info |
| 9 |
short_description: Information module for organizations _networks _moves |
| 10 |
description: |
| 11 |
- Get all organizations _networks _moves. |
| 12 |
- Return a list of network move operations in the organization. |
| 13 |
version_added: '1.0.0' |
| 14 |
extends_documentation_fragment: |
| 15 |
- cisco.meraki.module_info |
| 16 |
- cisco.meraki.module_info_pagination |
| 17 |
author: Francisco Munoz (@fmunoz) |
| 18 |
options: |
| 19 |
headers: |
| 20 |
description: Additional headers. |
| 21 |
type: dict |
| 22 |
organizationId: |
| 23 |
description: |
| 24 |
- OrganizationId path parameter. Organization ID. |
| 25 |
type: str |
| 26 |
perPage: |
| 27 |
description: |
| 28 |
- PerPage query parameter. The number of entries per page returned. Acceptable range is 10 - 100. Default is 50. |
| 29 |
type: int |
| 30 |
startingAfter: |
| 31 |
description: |
| 32 |
- > |
| 33 |
StartingAfter query parameter. A token used by the server to indicate the start of the page. Often this |
| 34 |
is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client |
| 35 |
applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. |
| 36 |
type: str |
| 37 |
endingBefore: |
| 38 |
description: |
| 39 |
- > |
| 40 |
EndingBefore query parameter. A token used by the server to indicate the end of the page. Often this is |
| 41 |
a timestamp or an ID but it is not limited to those. This parameter should not be defined by client |
| 42 |
applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. |
| 43 |
type: str |
| 44 |
moveIds: |
| 45 |
description: |
| 46 |
- > |
| 47 |
MoveIds query parameter. Array of network move operation IDs to include. If not specified, all network |
| 48 |
moves will be returned. |
| 49 |
elements: str |
| 50 |
type: list |
| 51 |
requirements: |
| 52 |
- meraki >= 2.4.9 |
| 53 |
- python >= 3.5 |
| 54 |
seealso: |
| 55 |
- name: Cisco Meraki documentation for organizations getNetworkMoves |
| 56 |
description: Complete reference of the getNetworkMoves API. |
| 57 |
link: https://developer.cisco.com/meraki/api-v1/#!get-network-moves |
| 58 |
notes: |
| 59 |
- SDK Method used are |
| 60 |
organizations.Organizations.get_network_moves, |
| 61 |
|
| 62 |
- Paths used are |
| 63 |
get /organizations/{organizationId}/networks/moves, |
| 64 |
""" |
| 65 |
|
| 66 |
EXAMPLES = r""" |
| 67 |
- name: Get all organizations _networks _moves |
| 68 |
cisco.meraki.organizations_networks_moves_info: |
| 69 |
meraki_api_key: "{{ meraki_api_key }}" |
| 70 |
meraki_base_url: "{{ meraki_base_url }}" |
| 71 |
meraki_single_request_timeout: "{{ meraki_single_request_timeout }}" |
| 72 |
meraki_certificate_path: "{{ meraki_certificate_path }}" |
| 73 |
meraki_requests_proxy: "{{ meraki_requests_proxy }}" |
| 74 |
meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}" |
| 75 |
meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}" |
| 76 |
meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}" |
| 77 |
meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}" |
| 78 |
meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}" |
| 79 |
meraki_maximum_retries: "{{ meraki_maximum_retries }}" |
| 80 |
meraki_output_log: "{{ meraki_output_log }}" |
| 81 |
meraki_log_file_prefix: "{{ meraki_log_file_prefix }}" |
| 82 |
meraki_log_path: "{{ meraki_log_path }}" |
| 83 |
meraki_print_console: "{{ meraki_print_console }}" |
| 84 |
meraki_suppress_logging: "{{ meraki_suppress_logging }}" |
| 85 |
meraki_simulate: "{{ meraki_simulate }}" |
| 86 |
meraki_be_geo_id: "{{ meraki_be_geo_id }}" |
| 87 |
meraki_caller: "{{ meraki_caller }}" |
| 88 |
meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}" |
| 89 |
meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}" |
| 90 |
perPage: 0 |
| 91 |
startingAfter: string |
| 92 |
endingBefore: string |
| 93 |
moveIds: [] |
| 94 |
organizationId: string |
| 95 |
total_pages: -1 |
| 96 |
direction: next |
| 97 |
register: result |
| 98 |
""" |
| 99 |
RETURN = r""" |
| 100 |
meraki_response: |
| 101 |
description: A dictionary or list with the response returned by the Cisco Meraki Python SDK |
| 102 |
returned: always |
| 103 |
type: dict |
| 104 |
sample: > |
| 105 |
{ |
| 106 |
"items": [ |
| 107 |
{ |
| 108 |
"moveId": "string", |
| 109 |
"initiator": { |
| 110 |
"admin": { |
| 111 |
"id": "string" |
| 112 |
} |
| 113 |
}, |
| 114 |
"organizations": { |
| 115 |
"source": { |
| 116 |
"id": "string" |
| 117 |
}, |
| 118 |
"target": { |
| 119 |
"id": "string" |
| 120 |
} |
| 121 |
}, |
| 122 |
"network": { |
| 123 |
"id": "string" |
| 124 |
}, |
| 125 |
"createdAt": "string", |
| 126 |
"lastUpdatedAt": "string", |
| 127 |
"result": { |
| 128 |
"status": "string", |
| 129 |
"reason": "string" |
| 130 |
} |
| 131 |
} |
| 132 |
], |
| 133 |
"meta": { |
| 134 |
"counts": { |
| 135 |
"items": { |
| 136 |
"total": 0, |
| 137 |
"remaining": 0 |
| 138 |
} |
| 139 |
} |
| 140 |
} |
| 141 |
} |
| 142 |
""" |