cisco / cisco.dnac / 2.0.7 / module / global_credential_netconf Manage GlobalCredentialNetconf objects of Discovery | "added in version" 1.0.0 of cisco.dnac" Authors: Rafael Campos (@racampos) This plugin has a corresponding action plugin.cisco.dnac.global_credential_netconf (2.0.7) — module
Install with ansible-galaxy collection install cisco.dnac:==2.0.7
collections: - name: cisco.dnac version: 2.0.7
Adds global netconf credentials.
Updates global netconf credentials.
- name: create_netconf_credentials cisco.dnac.global_credential_netconf: state: create # required payload: # required - netconfPort: SomeValue # string, required comments: SomeValue # string credentialType: SomeValue # string description: SomeValue # string id: SomeValue # string instanceTenantId: SomeValue # string instanceUuid: SomeValue # string
- name: update_netconf_credentials cisco.dnac.global_credential_netconf: state: update # required netconfPort: SomeValue # string, required comments: SomeValue # string credentialType: # valid values are 'GLOBAL', # 'APP'. SomeValue # string description: SomeValue # string id: SomeValue # string instanceTenantId: SomeValue # string instanceUuid: SomeValue # string
id: description: - NetconfCredentialDTO's id. type: str payload: description: - An object to send in the Request body. - Required for state create. elements: dict suboptions: comments: description: - It is the global credential netconf's comments. type: str credentialType: description: - It is the global credential netconf's credentialType. type: str description: description: - It is the global credential netconf's description. type: str id: description: - It is the global credential netconf's id. type: str instanceTenantId: description: - It is the global credential netconf's instanceTenantId. type: str instanceUuid: description: - It is the global credential netconf's instanceUuid. type: str netconfPort: description: - It is the global credential netconf's netconfPort. required: true type: str type: list comments: description: - NetconfCredentialDTO's comments. type: str description: description: - NetconfCredentialDTO's description. type: str netconfPort: description: - NetconfCredentialDTO's netconfPort. - Required for state update. type: str instanceUuid: description: - NetconfCredentialDTO's instanceUuid. type: str credentialType: description: - NetconfCredentialDTO's credentialType. - Available values are 'GLOBAL' and 'APP'. type: str instanceTenantId: description: - NetconfCredentialDTO's instanceTenantId. type: str
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: discovery.create_netconf_credentials type: str