cisco / cisco.dnac / 6.13.3 / module / swim_import_via_url Resource module for Swim Import Via Url | "added in version" 3.1.0 of cisco.dnac" Authors: Rafael Campos (@racampos) This plugin has a corresponding action plugin.cisco.dnac.swim_import_via_url (6.13.3) — module
Install with ansible-galaxy collection install cisco.dnac:==6.13.3
collections: - name: cisco.dnac version: 6.13.3
Manage operation create of the resource Swim Import Via Url.
Fetches a software image from remote file system using URL for HTTP/FTP and uploads to DNA Center. Supported image files extensions are bin, img, tar, smu, pie, aes, iso, ova, tar_gz and qcow2.
- name: Create cisco.dnac.swim_import_via_url: dnac_host: "{{dnac_host}}" dnac_username: "{{dnac_username}}" dnac_password: "{{dnac_password}}" dnac_verify: "{{dnac_verify}}" dnac_port: "{{dnac_port}}" dnac_version: "{{dnac_version}}" dnac_debug: "{{dnac_debug}}" payload: - applicationType: string imageFamily: string sourceURL: string thirdParty: true vendor: string scheduleAt: string scheduleDesc: string scheduleOrigin: string
payload: description: Swim Import Via Url's payload. elements: dict suboptions: applicationType: description: Swim Import Via Url's applicationType. type: str imageFamily: description: Swim Import Via Url's imageFamily. type: str sourceURL: description: Swim Import Via Url's sourceURL. type: str thirdParty: description: ThirdParty flag. type: bool vendor: description: Swim Import Via Url's vendor. type: str type: list dnac_host: description: - The Cisco DNA Center hostname. required: true type: str dnac_port: default: 443 description: - The Cisco DNA Center port. type: int dnac_debug: default: false description: - Flag for Cisco DNA Center SDK to enable debugging. type: bool scheduleAt: description: ScheduleAt query parameter. Epoch Time (The number of milli-seconds since January 1 1970 UTC) at which the distribution should be scheduled (Optional). type: str dnac_verify: default: true description: - Flag to enable or disable SSL certificate verification. type: bool dnac_version: default: 2.3.5.3 description: - Informs the SDK which version of Cisco DNA Center to use. type: str scheduleDesc: description: ScheduleDesc query parameter. Custom Description (Optional). type: str dnac_password: description: - The Cisco DNA Center password to authenticate. type: str dnac_username: aliases: - user default: admin description: - The Cisco DNA Center username to authenticate. type: str scheduleOrigin: description: ScheduleOrigin query parameter. Originator of this call (Optional). type: str validate_response_schema: default: true description: - Flag for Cisco DNA Center SDK to enable the validation of request bodies against a JSON schema. type: bool
dnac_response: description: A dictionary or list with the response returned by the Cisco DNAC Python SDK returned: always sample: "{\n \"response\": {\n \"taskId\": \"string\",\n \"url\": \"string\"\ \n },\n \"version\": \"string\"\n}\n" type: dict