cisco.dnac.events – Manage Events objects of EventManagement¶
Note
This plugin is part of the cisco.dnac collection (version 2.0.7).
To install it use: ansible-galaxy collection install cisco.dnac.
To use it in a playbook, specify: cisco.dnac.events.
New in version 1.0.0: of cisco.dnac
Synopsis¶
Gets the list of registered Events with provided eventIds or tags as mandatory.
Get the count of registered Events with provided eventIds or tags as mandatory.
Note
This module has a corresponding action plugin.
Parameters¶
See Also¶
See also
- cisco.dnac.plugins.module_utils.definitions.events
 The official documentation on the cisco.dnac.plugins.module_utils.definitions.events module.
- Events reference
 Complete reference of the Events object model.
- Events reference
 SDK reference.
Examples¶
- name: get_events
  cisco.dnac.events:
    state: query  # required
    tags: SomeValue  # string, required
    event_id: SomeValue  # string
    limit: 1  #  number
    offset: 1  #  number
    order: SomeValue  # string
    sort_by: SomeValue  # string
  register: nm_get_events
- name: count_of_events
  cisco.dnac.events:
    state: query  # required
    tags: SomeValue  # string, required
    count: True  # boolean, required
    event_id: SomeValue  # string
  register: nm_count_of_events
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Rafael Campos (@racampos)