cisco / cisco.dnac / 2.0.7 / module / global_credential_snmpv2_read_community Manage GlobalCredentialSnmpv2ReadCommunity 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_snmpv2_read_community (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 SNMP read community.
Updates global SNMP read community.
- name: create_snmp_read_community cisco.dnac.global_credential_snmpv2_read_community: state: create # required payload: # required - readCommunity: SomeValue # string, required comments: SomeValue # string credentialType: SomeValue # string description: SomeValue # string id: SomeValue # string instanceTenantId: SomeValue # string instanceUuid: SomeValue # string
- name: update_snmp_read_community cisco.dnac.global_credential_snmpv2_read_community: state: update # required readCommunity: 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: - SNMPv2ReadCommunityDTO'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 snmpv2 read community's comments. type: str credentialType: description: - It is the global credential snmpv2 read community's credentialType. type: str description: description: - It is the global credential snmpv2 read community's description. type: str id: description: - It is the global credential snmpv2 read community's id. type: str instanceTenantId: description: - It is the global credential snmpv2 read community's instanceTenantId. type: str instanceUuid: description: - It is the global credential snmpv2 read community's instanceUuid. type: str readCommunity: description: - It is the global credential snmpv2 read community's readCommunity. required: true type: str type: list comments: description: - SNMPv2ReadCommunityDTO's comments. type: str description: description: - SNMPv2ReadCommunityDTO's description. type: str instanceUuid: description: - SNMPv2ReadCommunityDTO's instanceUuid. type: str readCommunity: description: - SNMPv2ReadCommunityDTO's readCommunity. - Required for state update. type: str credentialType: description: - SNMPv2ReadCommunityDTO's credentialType. - Available values are 'GLOBAL' and 'APP'. type: str instanceTenantId: description: - SNMPv2ReadCommunityDTO'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_snmp_read_community type: str