Class: Ansible::Ruby::Modules::Fortios_webfilter

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/fortios/fortios_webfilter.rb

Overview

This module is able to configure a FortiGate or FortiOS by allowing the user to configure webfilter feature. For now it is able to handle url and content filtering capabilities. The module uses FortiGate REST API internally to configure the device.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#hostString

Returns FortiOS or FortiGate ip adress.

Returns:

  • (String)

    FortiOS or FortiGate ip adress.



12
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_webfilter.rb', line 12

attribute :host

#passwordString?

Returns FortiOS or FortiGate password.

Returns:

  • (String, nil)

    FortiOS or FortiGate password.



20
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_webfilter.rb', line 20

attribute :password

#usernameString

Returns FortiOS or FortiGate username.

Returns:

  • (String)

    FortiOS or FortiGate username.



16
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_webfilter.rb', line 16

attribute :username

#vdomString?

Returns Virtual domain, among those defined previously. A vdom is a virtual instance of the FortiGate that can be configured and used as a different unit.

Returns:

  • (String, nil)

    Virtual domain, among those defined previously. A vdom is a virtual instance of the FortiGate that can be configured and used as a different unit.



24
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_webfilter.rb', line 24

attribute :vdom

#webfilter_contentObject?

Returns Container for a group of content-filtering entries that the FortiGate must act upon.

Returns:

  • (Object, nil)

    Container for a group of content-filtering entries that the FortiGate must act upon



31
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_webfilter.rb', line 31

attribute :webfilter_content

#webfilter_urlObject?

Returns Container for a group of url entries that the FortiGate must act upon.

Returns:

  • (Object, nil)

    Container for a group of url entries that the FortiGate must act upon



28
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_webfilter.rb', line 28

attribute :webfilter_url