security_video_filter_youtube_key - Video Filter Youtube API Key Resource

Added in version 1.0.0.

Synopsis

Video Filter Youtube API Key Resource.

Use API “/resource-api/v2/security/video-filter-youtube-key”.

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 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: str
    • api_key type: str

Examples

- name: Security Video Filter YouTube Key
  hosts: fortisase
  gather_facts: false
  vars:
    primary_key: "$sase-global"
  tasks:
    - name: Update Security Video Filter YouTube Key
      fortinet.fortisase.security_video_filter_youtube_key:
        state: present
        params:
          primary_key: "{{ primary_key }}"
          api_key: "YOUR_API_KEY"

Return Values

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

Authors

  • Xinwei Du (@dux-fortinet)