cisco.dnac.import_image_url (2.0.7) — module

Manage ImportImageUrl objects of SoftwareImageManagementSwim

| "added in version" 1.0.0 of cisco.dnac"

Authors: Rafael Campos (@racampos)

This plugin has a corresponding action plugin.

Install collection

Install with ansible-galaxy collection install cisco.dnac:==2.0.7


Add to requirements.yml

  collections:
    - name: cisco.dnac
      version: 2.0.7

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

dnac_response:
  description: A dictionary with the response returned by the DNA Center Python SDK
  returned: always
  sample:
    response: 29
    version: '1.0'
  type: dict
missing_params:
  description: Provided arguments do not comply with the schema of the DNA Center
    Python SDK function
  returned: when the function request schema is not satisfied
  sample: null
  type: list
sdk_function:
  description: The DNA Center SDK function used to execute the task
  returned: always
  sample: software_image_management_swim.import_software_image_via_url
  type: str

See also