dem_custom_saas_apps - DEM Custom SaaS Applications Resource
Added in version 1.0.0.
Synopsis
DEM Custom SaaS Applications Resource.
Use API “/resource-api/v2/dem/custom-saas-apps”.
Requirements
The below requirements are needed on the host that executes this module.
ansible>=2.17.0
Parameters
- state The state of the module. "present" means create or update the resource, "absent" means delete the resource.type: strchoices: ['present', 'absent']default: present
- force_behavior Specify this option to force the method to use to interact with the resource.type: strchoices: ['none', 'read', 'create', 'update', 'delete']default: none
- bypass_validation Bypass validation of the module.type: booldefault: False
- params The parameters of the module.[Required]type: dict
- primary_key The primary key object of the DEM custom SaaS application. Can not be updated once created.[Required]type: str
- alias type: raw
- fqdn The FQDN of the custom SaaS application.type: str
Examples
- name: Dem Custom SaaS Apps
hosts: fortisase
gather_facts: false
vars:
primary_key: "example.com"
fqdn: "example.com"
alias: "example.com"
tasks:
- name: Create/Update Dem Custom SaaS Apps
fortinet.fortisase.dem_custom_saas_apps:
state: present
params:
primary_key: "{{ primary_key }}"
fqdn: "{{ fqdn }}"
alias: "{{ alias }}"
- name: Delete Dem Custom SaaS Apps
fortinet.fortisase.dem_custom_saas_apps:
state: absent
params:
primary_key: "{{ primary_key }}"
Return Values
- http_code type: intreturned: always
- response type: rawreturned: always