cisco.dnac.integration_event (2.0.7) — module

Manage IntegrationEvent objects of Itsm

| "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

Used to retrieve the list of integration events that failed to create tickets in ITSM.

Allows retry of multiple failed ITSM event instances. The retry request payload can be given as a list of strings ["instance1","instance2","instance3",..] A minimum of one instance Id is mandatory. The list of failed event instance Ids can be retrieved using the 'Get Failed ITSM Events' API in the 'instanceId' attribute.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get_failed_itsm_events
  cisco.dnac.integration_event:
    state: query  # required
    instance_id: SomeValue  # string
  register: nm_get_failed_itsm_events
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: retry_integration_events
  cisco.dnac.integration_event:
    state: create  # required
    payload:  # required
    - SomeValue  # string

Inputs

    
payload:
    description:
    - An object to send in the Request body.
    - Required for state create.
    type: list

instance_id:
    description:
    - Instance Id of the failed event as in the Runtime Dashboard.
    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: itsm.get_failed_itsm_events
  type: str

See also