.. Document meta :orphan: .. Anchors .. _ansible_collections.cisco.dnac.compliance_device_info_module: .. Anchors: short name for ansible.builtin .. Anchors: aliases .. Title cisco.dnac.compliance_device_info -- Information module for Compliance Device +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This plugin is part of the `cisco.dnac collection `_ (version 3.1.3). To install it use: :code:`ansible-galaxy collection install cisco.dnac`. To use it in a playbook, specify: :code:`cisco.dnac.compliance_device_info`. .. version_added .. versionadded:: 1.0.0 of cisco.dnac .. contents:: :local: :depth: 1 .. Deprecated Synopsis -------- .. Description - Get all Compliance Device. - Get Compliance Device by id. .. note:: This module has a corresponding :ref:`action plugin `. .. Aliases .. Requirements Requirements ------------ The below requirements are needed on the host that executes this module. - dnacentersdk .. Options Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
complianceStatus
string
ComplianceStatus query parameter. Compliance status can be have value among 'COMPLIANT','NON_COMPLIANT','IN_PROGRESS', 'ERROR'.
deviceUuid
string
DeviceUuid query parameter. Comma separated deviceUuids.
headers
dictionary
Additional headers.
limit
integer
Limit query parameter. Number of records to be retrieved.
offset
integer
Offset query parameter. Offset/starting row.

.. Notes .. Seealso See Also -------- .. seealso:: `Compliance Device reference `_ Complete reference of the Compliance Device object model. .. Examples Examples -------- .. code-block:: yaml+jinja - name: Get all Compliance Device cisco.dnac.compliance_device_info: dnac_host: "{{dnac_host}}" dnac_username: "{{dnac_username}}" dnac_password: "{{dnac_password}}" dnac_verify: "{{dnac_verify}}" dnac_port: "{{dnac_port}}" dnac_version: "{{dnac_version}}" dnac_debug: "{{dnac_debug}}" headers: custom: value complianceStatus: string deviceUuid: string offset: 0 limit: 0 register: result - name: Get Compliance Device by id cisco.dnac.compliance_device_info: dnac_host: "{{dnac_host}}" dnac_username: "{{dnac_username}}" dnac_password: "{{dnac_password}}" dnac_verify: "{{dnac_verify}}" dnac_port: "{{dnac_port}}" dnac_version: "{{dnac_version}}" dnac_debug: "{{dnac_debug}}" headers: custom: value deviceUuid: string register: result .. Facts .. Return values Return Values ------------- Common return values are documented :ref:`here `, the following are the fields unique to this module: .. raw:: html
Key Returned Description
dnac_response
dictionary
always
A dictionary or list with the response returned by the Cisco DNAC Python SDK

Sample:
{ "version": "string", "response": { "deviceUuid": "string", "complianceStatus": "string", "message": "string", "scheduleTime": 0, "lastUpdateTime": 0 } }


.. Status (Presently only deprecated) .. Authors Authors ~~~~~~~ - Rafael Campos (@racampos) .. Parsing errors