willguibr / willguibr.zpacloud_ansible / 2.9.0 / module / zpa_app_connector_groups Create/ an app connector group | "added in version" 1.0.0 of willguibr.zpacloud_ansible" Authors: William Guilherme (@willguibr)willguibr.zpacloud_ansible.zpa_app_connector_groups (2.9.0) — module
Install with ansible-galaxy collection install willguibr.zpacloud_ansible:==2.9.0
collections: - name: willguibr.zpacloud_ansible version: 2.9.0
This module will create, retrieve, update or delete a specific app connector group
- name: App Connector Groups hosts: localhost tasks: - name: Create/update/delete an app connector group willguibr.zpacloud_ansible.zpa_app_connector_groups: state: "absent" #id: "216196257331292046" name: "Example" description: "Example2" enabled: true city_country: "California, US" country_code: "US" latitude: "37.3382082" longitude: "-121.8863286" location: "San Jose, CA, USA" upgrade_day: "SUNDAY" upgrade_time_in_secs: "66600" override_version_profile: true version_profile_id: "0" dns_query_type: "IPV4" register: appconnectorg - name: created appconnector group debug: msg: "{{ appconnectorg }}"
id: description: ID of the App Connector Group. type: str name: description: Name of the App Connector Group. required: true type: str state: choices: - present - absent default: present description: Whether the app connector group should be present or absent. type: str enabled: default: true description: Whether this App Connector Group is enabled or not. required: false type: bool latitude: description: Latitude of the App Connector Group. Integer or decimal. With values in the range of -90 to 90. type: str location: description: Location of the App Connector Group. type: str longitude: description: Longitude of the App Connector Group. Integer or decimal. With values in the range of -180 to 180. type: str description: description: Description of the App Connector Group. type: str upgrade_day: default: SUNDAY description: App Connectors in this group will attempt to update to a newer version of the software during this specified day. List of valid days (i.e., Sunday, Monday). type: str city_country: description: City Country of the App Connector Group. type: str country_code: description: Country code of the App Connector Group. type: str dns_query_type: choices: - IPV4_IPV6 - IPV4 - IPV6 default: IPV4_IPV6 description: Whether to enable IPv4 or IPv6, or both, for DNS resolution of all applications in the App Connector Group. type: str version_profile_id: choices: - '0' - '1' - '2' default: 0 description: ID of the version profile. To learn more, see Version Profile Use Cases. This value is required, if the value for overrideVersionProfile is set to true. type: str upgrade_time_in_secs: default: 66600 description: App Connectors in this group will attempt to update to a newer version of the software during this specified time. Integer in seconds (i.e., -66600). The integer should be greater than or equal to 0 and less than 86400, in 15 minute intervals. type: str version_profile_name: description: Name of the version profile. type: str lss_app_connector_group: description: LSS app connector group. required: false type: bool override_version_profile: default: false description: 'Whether the default version profile of the App Connector Group is applied or overridden. Supported values: true, false.' required: false type: bool
data: description: App Connector Group returned: success sample: - CA: null US": null USA": null city_country = "California: null country_code = "US": null description = "Example": null dns_query_type = "IPV4": null enabled = true: null id = "82827282828": null latitude = "37.3382082": null location = "San Jose: null longitude = "-121.8863286": null name = "Example": null override_version_profile= true: null upgrade_day = "SUNDAY": null upgrade_time_in_secs = "66600": null version_profile_id = 0: null type: dict