cisco.ise.id_store_sequence 模块 – Id 存储序列的资源模块
注意
此模块是 cisco.ise 集合(版本 2.9.6)的一部分。
如果您正在使用 ansible
包,您可能已经安装了此集合。它不包含在 ansible-core
中。要检查是否已安装,请运行 ansible-galaxy collection list
。
要安装它,请使用:ansible-galaxy collection install cisco.ise
。您需要进一步的要求才能使用此模块,有关详细信息,请参阅 要求。
要在剧本中使用它,请指定:cisco.ise.id_store_sequence
。
cisco.ise 1.0.0 中的新增功能
概要
管理资源 Id 存储序列的创建、更新和删除操作。
此 API 创建一个身份序列。
此 API 删除一个身份序列。
此 API 允许客户端更新身份序列。
注意
此模块有一个对应的 操作插件。
要求
在执行此模块的主机上需要以下要求。
ciscoisesdk >= 2.2.3
python >= 3.5
参数
参数 |
注释 |
---|---|
BreakOnStoreFail 标志。 选择
|
|
Id 存储序列的 certificateAuthenticationProfile。 |
|
Id 存储序列的描述。 |
|
Id 存储序列的 id。 |
|
Id 存储序列的 idSeqItem。 |
|
Id 存储序列的 idstore。 |
|
Id 存储序列的顺序。 |
|
Identity Services Engine SDK 用于启用调试的标志。 选择
|
|
Identity Services Engine 主机名。 |
|
Identity Services Engine 用于身份验证的密码。 |
|
RESTful HTTP 请求的超时时间(以秒为单位)。 默认值: |
|
Identity Services Engine 用于身份验证的用户名。 |
|
一个标志,通知 SDK 是否将 CSRF 令牌发送到 ISE 的 ERS API。 如果为 True,则 SDK 假定您已启用 ISE CSRF 检查。 如果为 True,则假定您需要 SDK 为您自动管理 CSRF 令牌。 选择
|
|
用于启用或禁用 SSL 证书验证的标志。 选择
|
|
通知 SDK 使用哪个版本的 Identity Services Engine。 默认值: |
|
Identity Services Engine SDK 用于启用自动速率限制处理的标志。 选择
|
|
Id 存储序列的名称。 |
|
Id 存储序列的父级。 |
备注
注意
使用的 SDK 方法是 identity_sequence.IdentitySequence.create_identity_sequence, identity_sequence.IdentitySequence.delete_identity_sequence_by_id, identity_sequence.IdentitySequence.update_identity_sequence_by_id,
使用的路径是 post /ers/config/idstoresequence, delete /ers/config/idstoresequence/{id}, put /ers/config/idstoresequence/{id},
不支持
check_mode
该插件在控制节点上运行,不使用任何 ansible 连接插件,而是使用 Cisco ISE SDK 中的嵌入式连接管理器
以 ise_ 开头的参数由 Cisco ISE Python SDK 用于建立连接
另请参阅
另请参阅
- 有关 IdentitySequence 的 Cisco ISE 文档
IdentitySequence API 的完整参考。
示例
- name: Update by id
cisco.ise.id_store_sequence:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
breakOnStoreFail: true
certificateAuthenticationProfile: string
description: string
id: string
idSeqItem:
- idstore: string
order: 0
name: string
parent: string
- name: Delete by id
cisco.ise.id_store_sequence:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: absent
id: string
- name: Create
cisco.ise.id_store_sequence:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
breakOnStoreFail: true
certificateAuthenticationProfile: string
description: string
idSeqItem:
- idstore: string
order: 0
name: string
parent: string
返回值
常见的返回值已在此处记录,以下是此模块特有的字段
键 |
描述 |
---|---|
一个字典或列表,包含 Cisco ISE Python SDK 返回的响应 返回: 总是 示例: |
|
一个字典或列表,包含 Cisco ISE Python SDK 返回的响应 返回: 总是 示例: |