network_implicit_dns_rules - Implicit DNS Rule Resource
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
.. versionadded:: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
Implicit DNS Rule Resource.
Use API "/resource-api/v2/network/implicit-dns-rules/{primaryKey}".
Requirements
------------
The below requirements are needed on the host that executes this module.
- ansible>=2.17.0
Parameters
----------
.. raw:: html
- state The state of the module. "present" means update the resource. This resource can't be deleted, and does not support "absent" state.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: strchoices: ['implicit_all', 'other', 'vpn']
- dns_server type: strchoices: ['cloudflare', 'custom', 'endpoint', 'fortiguard', 'google', 'quad9']
- dns_server1 type: str
- dns_server2 type: str
- protocols type: listelements: raw
- for_private type: bool
Examples
-------------
.. code-block:: yaml
- name: Network Implicit DNS Rule
hosts: fortisase
gather_facts: false
tasks:
- name: Update Network Implicit DNS Rule
fortinet.fortisase.network_implicit_dns_rules:
params:
primary_key: "implicit_all"
dns_server: "fortiguard"
Return Values
-------------
.. raw:: html
- http_code type: intreturned: always
- response type: rawreturned: always
Authors
-------
- Xinwei Du (@dux-fortinet)