cisco.dnac.import_image (2.0.7) — module

Manage ImportImage 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

Returns software image list based on a filter criteria. For example "filterbyName = cat3k%".


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get_software_image_details
  cisco.dnac.import_image:
    state: query  # required
    application_type: SomeValue  # string
    created_time: 1  #  integer
    family: SomeValue  # string
    image_integrity_status: SomeValue  # string
    image_name: SomeValue  # string
    image_series: SomeValue  # string
    image_size_greater_than: 1  #  integer
    image_size_lesser_than: 1  #  integer
    image_uuid: SomeValue  # string
    is_cco_latest: True  # boolean
    is_cco_recommended: True  # boolean
    is_tagged_golden: True  # boolean
    limit: 1  #  integer
    name: SomeValue  # string
    offset: 1  #  integer
    sort_by: SomeValue  # string
    sort_order: SomeValue  # string
    version: SomeValue  # string
  register: nm_get_software_image_details

Inputs

    
name:
    description:
    - Name query parameter.
    type: str

limit:
    description:
    - Limit query parameter.
    type: int

family:
    description:
    - Family query parameter.
    type: str

offset:
    description:
    - Offset query parameter.
    type: int

sort_by:
    description:
    - Sort results by this field.
    type: str

version:
    description:
    - Software Image Version.
    type: str

image_name:
    description:
    - Image Name.
    type: str

image_uuid:
    description:
    - ImageUuid query parameter.
    type: str

sort_order:
    description:
    - Sort order - 'asc' or 'des'. Default is asc.
    type: str

created_time:
    description:
    - Time in milliseconds (epoch format).
    type: int

image_series:
    description:
    - Image Series.
    type: str

is_cco_latest:
    description:
    - Is latest from cisco.com.
    type: bool

application_type:
    description:
    - ApplicationType query parameter.
    type: str

is_tagged_golden:
    description:
    - Is Tagged Golden.
    type: bool

is_cco_recommended:
    description:
    - Is recommended from cisco.com.
    type: bool

image_integrity_status:
    description:
    - ImageIntegrityStatus - FAILURE, UNKNOWN, VERIFIED.
    type: str

image_size_lesser_than:
    description:
    - Size in bytes.
    type: int

image_size_greater_than:
    description:
    - Size in bytes.
    type: int

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.get_software_image_details
  type: str

See also