cisco.ise.network_access_dictionary_attribute – Resource module for Network Access Dictionary Attribute

Note

This plugin is part of the cisco.ise collection (version 0.0.9).

To install it use: ansible-galaxy collection install cisco.ise.

To use it in a playbook, specify: cisco.ise.network_access_dictionary_attribute.

New in version 1.0.0: of cisco.ise

Synopsis

  • Manage operations create, update and delete of the resource Network Access Dictionary Attribute.

Note

This module has a corresponding action plugin.

Requirements

The below requirements are needed on the host that executes this module.

  • ciscoisesdk

Parameters

Parameter Choices/Defaults Comments
allowedValues
list / elements=string
All of the allowed values for the dictionary attribute.
isDefault
boolean
    Choices:
  • no
  • yes
True if this key value is the default between the allowed values of the dictionary attribute.
key
string
Network Access Dictionary Attribute's key.
value
string
Network Access Dictionary Attribute's value.
dataType
string
The data type for the dictionary attribute.
description
string
The description of the Dictionary attribute.
dictionaryName
string
The name of the dictionary which the dictionary attribute belongs to.
directionType
string
The direction for the useage of the dictionary attribute.
id
string
Identifier for the dictionary attribute.
internalName
string
The internal name of the dictionary attribute.
name
string
The dictionary attribute's name.

See Also

See also

cisco.ise.plugins.module_utils.definitions.network_access_dictionary_attribute

The official documentation on the cisco.ise.plugins.module_utils.definitions.network_access_dictionary_attribute module.

Network Access Dictionary Attribute reference

Complete reference of the Network Access Dictionary Attribute object model.

Examples

- name: Create
  cisco.ise.network_access_dictionary_attribute:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: present
    allowedValues:
    - isDefault: true
      key: string
      value: string
    dataType: string
    description: string
    dictionaryName: string
    directionType: string
    id: string
    internalName: string
    name: string

- name: Update by name
  cisco.ise.network_access_dictionary_attribute:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: present
    allowedValues:
    - isDefault: true
      key: string
      value: string
    dataType: string
    description: string
    dictionaryName: string
    directionType: string
    id: string
    internalName: string
    name: string

- name: Delete by name
  cisco.ise.network_access_dictionary_attribute:
    ise_hostname: "{{ise_hostname}}"
    ise_username: "{{ise_username}}"
    ise_password: "{{ise_password}}"
    ise_verify: "{{ise_verify}}"
    state: absent
    dictionaryName: string
    name: string

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
ise_response
dictionary
always
A dictionary or list with the response returned by the Cisco ISE Python SDK

Sample:
{ "id": "string", "directionType": "string", "name": "string", "description": "string", "internalName": "string", "dataType": "string", "dictionaryName": "string", "allowedValues": [ { "key": "string", "value": "string", "isDefault": true } ] }


Authors

  • Rafael Campos (@racampos)