organizations_config_templates_switch_profiles_ports
Execute a reviewed Meraki Dashboard API action on the controller
Collection: cisco.meraki
Full Name: cisco.meraki.organizations_config_templates_switch_profiles_ports
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Execute a reviewed Meraki Dashboard API action on the controller
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| meraki_api_key | str | yes | ||
| meraki_base_url | str | https://api.meraki.com/api/v1 | ||
| meraki_single_request_timeout | int | 60 | ||
| meraki_certificate_path | str | |||
| meraki_requests_proxy | str | |||
| meraki_wait_on_rate_limit | bool | true | ||
| meraki_nginx_429_retry_wait_time | int | 60 | ||
| meraki_action_batch_retry_wait_time | int | 60 | ||
| meraki_retry_4xx_error | bool | false | ||
| meraki_retry_4xx_error_wait_time | int | 60 | ||
| meraki_maximum_retries | int | 2 | ||
| meraki_output_log | bool | true | ||
| meraki_log_path | str | |||
| meraki_log_file_prefix | str | meraki_api_ | ||
| meraki_print_console | bool | true | ||
| meraki_suppress_logging | bool | true | ||
| meraki_simulate | bool | false | ||
| meraki_be_geo_id | str | |||
| meraki_use_iterator_for_get_pages | bool | false | ||
| meraki_inherit_logging_config | bool | false | ||
| state | str | present | ||
| name | str | |||
| tags | list | |||
| enabled | bool | |||
| poeEnabled | bool | |||
| type | str | |||
| vlan | int | |||
| voiceVlan | int | |||
| allowedVlans | str | |||
| isolationEnabled | bool | |||
| rstpEnabled | bool | |||
| stpGuard | str | |||
| stpPortFastTrunk | bool | |||
| linkNegotiation | str | |||
| portScheduleId | str | |||
| udld | str | |||
| accessPolicyType | str | |||
| accessPolicyNumber | int | |||
| macAllowList | list | |||
| macWhitelistLimit | int | |||
| stickyMacAllowList | list | |||
| stickyMacAllowListLimit | int | |||
| stormControlEnabled | bool | |||
| flexibleStackingEnabled | bool | |||
| daiTrusted | bool | |||
| profile | dict | |||
| dot3az | dict | |||
| highSpeed | dict | |||
| organizationId | str | |||
| configTemplateId | str | |||
| profileId | str | |||
| portId | str |
Example
yaml
- name: Run Meraki controller action
cisco.meraki.organizations_config_templates_switch_profiles_ports:
meraki_api_key: '{{ meraki_key }}'
meraki_suppress_logging: true
name: 'example'
tags: []
enabled: false
poeEnabled: false
type: 'example'
vlan: 1
voiceVlan: 1
allowedVlans: 'example'
isolationEnabled: false
rstpEnabled: false
stpGuard: 'example'
stpPortFastTrunk: false
linkNegotiation: 'example'
portScheduleId: 'example'
udld: 'example'
accessPolicyType: 'example'
accessPolicyNumber: 1
macAllowList: []
macWhitelistLimit: 1
stickyMacAllowList: []
stickyMacAllowListLimit: 1
stormControlEnabled: false
flexibleStackingEnabled: false
daiTrusted: false
profile: {}
dot3az: {}
highSpeed: {}
organizationId: 'example'
configTemplateId: 'example'
profileId: 'example'
portId: 'example'