cisco.ise.network_access_dictionary_attribute_info 模块 – 网络访问字典属性信息模块
注意
此模块是 cisco.ise 集合(版本 2.9.6)的一部分。
如果您正在使用 ansible
包,则可能已经安装了此集合。它不包含在 ansible-core
中。要检查是否已安装,请运行 ansible-galaxy collection list
。
要安装它,请使用:ansible-galaxy collection install cisco.ise
。您需要进一步的要求才能使用此模块,请参阅 要求 了解详细信息。
要在 playbook 中使用它,请指定:cisco.ise.network_access_dictionary_attribute_info
。
cisco.ise 1.0.0 中的新功能
概要
获取所有网络访问字典属性。
按名称获取网络访问字典属性。
获取字典属性。
返回现有字典的字典属性列表。
注意
此模块具有相应的 操作插件。
要求
执行此模块的主机需要以下要求。
ciscoisesdk >= 2.2.3
python >= 3.5
参数
参数 |
注释 |
---|---|
DictionaryName 路径参数。字典属性所属的字典的名称。 |
|
用于 Identity Services Engine SDK 以启用调试的标志。 选项
|
|
Identity Services Engine 主机名。 |
|
用于身份验证的 Identity Services Engine 密码。 |
|
RESTful HTTP 请求的超时时间(以秒为单位)。 默认值: |
|
用于身份验证的 Identity Services Engine 用户名。 |
|
通知 SDK 是否向 ISE 的 ERS API 发送 CSRF 令牌的标志。 如果为 True,则 SDK 假定您的 ISE CSRF 检查已启用。 如果为 True,则假定您需要 SDK 为您自动管理 CSRF 令牌。 选项
|
|
用于启用或禁用 SSL 证书验证的标志。 选项
|
|
通知 SDK 要使用的 Identity Services Engine 版本。 默认值: |
|
用于 Identity Services Engine SDK 以启用自动速率限制处理的标志。 选项
|
|
Name 路径参数。字典属性名称。 |
说明
注意
使用的 SDK 方法是 network_access_dictionary_attribute.NetworkAccessDictionaryAttribute.get_network_access_dictionary_attribute_by_name,network_access_dictionary_attribute.NetworkAccessDictionaryAttribute.get_network_access_dictionary_attributes_by_dictionary_name,
使用的路径是 get /network-access/dictionaries/{dictionaryName}/attribute,get /network-access/dictionaries/{dictionaryName}/attribute/{name},
支持
check_mode
该插件在控制节点上运行,不使用任何 Ansible 连接插件,而是使用 Cisco ISE SDK 中的嵌入式连接管理器
以 ise_ 开头的参数由 Cisco ISE Python SDK 用于建立连接
另请参阅
另请参阅
- 有关网络访问 - 字典属性的 Cisco ISE 文档
网络访问 - 字典属性 API 的完整参考。
示例
- name: Get all Network Access Dictionary Attribute
cisco.ise.network_access_dictionary_attribute_info:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
dictionaryName: string
register: result
- name: Get Network Access Dictionary Attribute by name
cisco.ise.network_access_dictionary_attribute_info:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
name: string
dictionaryName: string
register: result
返回值
通用返回值记录在 此处,以下是此模块独有的字段
键 |
描述 |
---|---|
一个字典或列表,其中包含 Cisco ISE Python SDK 返回的响应 返回: 始终 示例: |