zscaler.zpacloud.zpa_app_connector_controller module – Manages App Connector Controllers in the ZPA Cloud.
Note
This module is part of the zscaler.zpacloud collection (version 1.4.2).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install zscaler.zpacloud
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: zscaler.zpacloud.zpa_app_connector_controller
.
New in zscaler.zpacloud 1.0.0
Synopsis
This module Update/delete an App Connector Controller in the ZPA Cloud.
Requirements
The below requirements are needed on the host that executes this module.
Zscaler SDK Python can be obtained from PyPI https://pypi.org/project/zscaler-sdk-python/
Parameters
Parameter |
Comments |
---|---|
The ZPA API client ID generated from the ZPA console. |
|
The ZPA API client secret generated from the ZPA console. |
|
The ZPA cloud provisioned for your organization. Choices:
|
|
The ZPA tenant ID found in the Administration Company menu in the ZPA console. |
|
The description of the App Connector. |
|
Whether this App Connector is enabled or not. Choices:
|
|
The unique identifier of the App Connector. |
|
The unique identifiers of the bulk delete resources. |
|
Name of the App Connector. |
|
A dict object containing authentication details. |
|
The ZPA API client ID generated from the ZPA console. |
|
The ZPA API client secret generated from the ZPA console. |
|
The ZPA cloud provisioned for your organization. Choices:
|
|
The ZPA tenant ID found in the Administration Company menu in the ZPA console. |
|
The state. Choices:
|
Notes
Note
Check mode is supported.
Examples
- name: Gather information about all App Connector Controllers
zscaler.zpacloud.zpa_app_connector_controller_info:
register: result
- name: Extract App Connector IDs
set_fact:
app_connector_ids: "{{ result.connectors | map(attribute='id') | list }}"
- name: Bulk delete App Connector Controllers
zscaler.zpacloud.zpa_app_connector_controller:
ids: "{{ app_connector_ids }}"
- name: Update Service Edge Controller Description
zscaler.zpacloud.zpa_app_connector_controller:
name: 'AppConnectorController01'
description: 'Update App Connector Controller 01'
register: result