dem_spa_applications - DEM SPA Application Resource

Added in version 1.0.0.

Synopsis

DEM SPA Application Resource.

Use API “/resource-api/v2/dem/spa-applications”.

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 [Required]type: str
    • server type: str
    • latency_threshold type: int
    • jitter_threshold type: int
    • packetloss_threshold type: int
    • interval type: int
    • fail_time type: int
    • recovery_time type: int

Examples

- name: Dem SPA Applications
  hosts: fortisase
  gather_facts: false
  vars:
    primary_key: "example_name"
  tasks:
    - name: Create/Update Dem SPA Applications
      fortinet.fortisase.dem_spa_applications:
        state: present
        params:
          primary_key: "{{ primary_key }}"
          server: "string"
          latency_threshold: 10000000
          jitter_threshold: 10000000
          packetloss_threshold: 100
          interval: 20
          fail_time: 1
          recovery_time: 1
    - name: Delete Dem SPA Applications
      fortinet.fortisase.dem_spa_applications:
        state: absent
        params:
          primary_key: "{{ primary_key }}"

Return Values

  • http_code type: intreturned: always
  • response type: rawreturned: always

Authors

  • Xinwei Du (@dux-fortinet)