racampos / racampos.dnac / 0.0.1 / module / import_image_file Manage ImportImageFile objects of SoftwareImageManagementSwim | "added in version" 1.0 of racampos.dnac" Authors: first last (@GitHubID) preview | supported by community This plugin has a corresponding action plugin.racampos.dnac.import_image_file (0.0.1) — module
Install with ansible-galaxy collection install racampos.dnac:==0.0.1
collections: - name: racampos.dnac version: 0.0.1
Fetches a software image from local file system and uploads to DNA Center. Supported software image files extensions are bin, img, tar, smu, pie, aes, iso, ova, tar_gz and qcow2.
- name: import_local_software_image cisco.dnac.import_image_file: state: create # required filename: SomeValue # string, required filepath: SomeValue # string, required is_third_party: True # boolean third_party_application_type: SomeValue # string third_party_image_family: SomeValue # string third_party_vendor: SomeValue # string
filename: description: - The filename (with its extension, for example, test.zip). required: true type: str filepath: description: - The full path of a file. The file is opened with rb flag. required: true type: str is_third_party: description: - Third party Image check. type: bool third_party_vendor: description: - Third Party Vendor. type: str third_party_image_family: description: - Third Party image family. type: str third_party_application_type: description: - Third Party Application Type. type: str
import_local_software_image: contains: null description: Fetches a software image from local file system and uploads to DNA Center. Supported software image files extensions are bin, img, tar, smu, pie, aes, iso, ova, tar_gz and qcow2. response: contains: taskId: description: It is the import image file's taskId. returned: success type: dict url: description: It is the import image file's url. returned: success sample: <url> type: str description: Response, property of the response body. returned: success type: dict returned: success type: dict version: description: Version, property of the response body. returned: success sample: '1.0' type: str