racampos.dnac.import_image_url (0.0.1) — module

Manage ImportImageUrl 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.

Install collection

Install with ansible-galaxy collection install racampos.dnac:==0.0.1


Add to requirements.yml

  collections:
    - name: racampos.dnac
      version: 0.0.1

Description

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.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: import_software_image_via_url
  cisco.dnac.import_image_url:
    state: create  # required
    payload:  # required
    - applicationType: SomeValue  # string
      imageFamily: SomeValue  # string
      sourceURL: SomeValue  # string
      thirdParty: True  # boolean
      vendor: SomeValue  # string
    schedule_at: SomeValue  # string
    schedule_desc: SomeValue  # string
    schedule_origin: SomeValue  # string

Inputs

    
payload:
    description:
    - An object to send in the Request body.
    elements: dict
    required: true
    suboptions:
      applicationType:
        description:
        - It is the import image url's applicationType.
        type: str
      imageFamily:
        description:
        - It is the import image url's imageFamily.
        type: str
      sourceURL:
        description:
        - It is the import image url's sourceURL.
        type: str
      thirdParty:
        description:
        - It is the import image url's thirdParty.
        type: bool
      vendor:
        description:
        - It is the import image url's vendor.
        type: str
    type: list

schedule_at:
    description:
    - Epoch Time (The number of milli-seconds since January 1 1970 UTC) at which the distribution
      should be scheduled (Optional) .
    type: str

schedule_desc:
    description:
    - Custom Description (Optional).
    type: str

schedule_origin:
    description:
    - Originator of this call (Optional).
    type: str

Outputs

import_software_image_via_url:
  contains: null
  description: 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.
  response:
    contains:
      taskId:
        description: It is the import image url's taskId.
        returned: success
        type: dict
      url:
        description: It is the import image url's url.
        returned: success
        sample: <url>
        type: str
    description: ImageImportFromUrlDTO's response.
    returned: success
    type: dict
  returned: success
  type: dict
  version:
    description: ImageImportFromUrlDTO's version.
    returned: success
    sample: '1.0'
    type: str

See also