racampos.dnac.global_credential_snmpv3 (0.0.1) — module

Manage GlobalCredentialSnmpv3 objects of Discovery

| "added in version" 1.0 of racampos.dnac"

Authors: first last (@GitHubID)

preview | supported by community

This plugin has a corresponding action plugin.

Install collection

Install with ansible-galaxy collection install racampos.dnac:==0.0.1


Add to requirements.yml

  collections:
    - name: racampos.dnac
      version: 0.0.1

Description

Adds global SNMPv3 credentials.

Updates global SNMPv3 credential.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: create_snmpv3_credentials
  cisco.dnac.global_credential_snmpv3:
    state: create  # required
    payload:  # required
    - snmpMode: SomeValue  # string, required
      username: SomeValue  # string, required
      authPassword: SomeValue  # string
      authType: SomeValue  # string
      comments: SomeValue  # string
      credentialType: SomeValue  # string
      description: SomeValue  # string
      id: SomeValue  # string
      instanceTenantId: SomeValue  # string
      instanceUuid: SomeValue  # string
      privacyPassword: SomeValue  # string
      privacyType: SomeValue  # string
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  
- name: update_snmpv3_credentials
  cisco.dnac.global_credential_snmpv3:
    state: update  # required
    snmpMode: SomeValue  # string, required, valid values: 'AUTHPRIV', 'AUTHNOPRIV', 'NOAUTHNOPRIV'.
    username: SomeValue  # string, required
    authPassword: SomeValue  # string
    authType: SomeValue  # string, valid values: 'SHA', 'MD5'.
    comments: SomeValue  # string
    credentialType: SomeValue  # string, valid values: 'GLOBAL', 'APP'.
    description: SomeValue  # string
    id: SomeValue  # string
    instanceTenantId: SomeValue  # string
    instanceUuid: SomeValue  # string
    privacyPassword: SomeValue  # string
    privacyType: SomeValue  # string, valid values: 'DES', 'AES128'.

Inputs

    
id:
    description:
    - SNMPv3CredentialDTO's id.
    type: str

payload:
    description:
    - An object to send in the Request body.
    - Required for state create.
    elements: dict
    suboptions:
      authPassword:
        description:
        - It is the global credential snmpv3's authPassword.
        type: str
      authType:
        description:
        - It is the global credential snmpv3's authType.
        type: str
      comments:
        description:
        - It is the global credential snmpv3's comments.
        type: str
      credentialType:
        description:
        - It is the global credential snmpv3's credentialType.
        type: str
      description:
        description:
        - It is the global credential snmpv3's description.
        type: str
      id:
        description:
        - It is the global credential snmpv3's id.
        type: str
      instanceTenantId:
        description:
        - It is the global credential snmpv3's instanceTenantId.
        type: str
      instanceUuid:
        description:
        - It is the global credential snmpv3's instanceUuid.
        type: str
      privacyPassword:
        description:
        - It is the global credential snmpv3's privacyPassword.
        type: str
      privacyType:
        description:
        - It is the global credential snmpv3's privacyType.
        type: str
      snmpMode:
        description:
        - It is the global credential snmpv3's snmpMode.
        required: true
        type: str
      username:
        description:
        - It is the global credential snmpv3's username.
        required: true
        type: str
    type: list

authType:
    description:
    - SNMPv3CredentialDTO's authType.
    - Available values are 'SHA' and 'MD5'.
    type: str

comments:
    description:
    - SNMPv3CredentialDTO's comments.
    type: str

snmpMode:
    description:
    - SNMPv3CredentialDTO's snmpMode.
    - Available values are 'AUTHPRIV', 'AUTHNOPRIV' and 'NOAUTHNOPRIV'.
    - Required for state update.
    type: str

username:
    description:
    - SNMPv3CredentialDTO's username.
    - Required for state update.
    type: str

description:
    description:
    - SNMPv3CredentialDTO's description.
    type: str

privacyType:
    description:
    - SNMPv3CredentialDTO's privacyType.
    - Available values are 'DES' and 'AES128'.
    type: str

authPassword:
    description:
    - SNMPv3CredentialDTO's authPassword.
    type: str

instanceUuid:
    description:
    - SNMPv3CredentialDTO's instanceUuid.
    type: str

credentialType:
    description:
    - SNMPv3CredentialDTO's credentialType.
    - Available values are 'GLOBAL' and 'APP'.
    type: str

privacyPassword:
    description:
    - SNMPv3CredentialDTO's privacyPassword.
    type: str

instanceTenantId:
    description:
    - SNMPv3CredentialDTO's instanceTenantId.
    type: str

Outputs

create_snmpv3_credentials:
  contains: null
  description: Adds global SNMPv3 credentials.
  response:
    contains:
      taskId:
        description: It is the global credential snmpv3's taskId.
        returned: success
        type: dict
      url:
        description: It is the global credential snmpv3's url.
        returned: success
        sample: <url>
        type: str
    description: SNMPv3CredentialDTO's response.
    returned: success
    type: dict
  returned: success
  type: dict
  version:
    description: SNMPv3CredentialDTO's version.
    returned: success
    sample: '1.0'
    type: str
update_snmpv3_credentials:
  contains: null
  description: Updates global SNMPv3 credential.
  response:
    contains:
      taskId:
        description: It is the global credential snmpv3's taskId.
        returned: changed
        type: dict
      url:
        description: It is the global credential snmpv3's url.
        returned: changed
        sample: <url>
        type: str
    description: SNMPv3CredentialDTO's response.
    returned: changed
    type: dict
  returned: changed
  type: dict
  version:
    description: SNMPv3CredentialDTO's version.
    returned: changed
    sample: '1.0'
    type: str

See also