Class: Ansible::Ruby::Modules::Fortios_address

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

Overview

This module provide management of firewall addresses on FortiOS devices.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#commentString?

Returns free text to describe address.

Returns:

  • (String, nil)

    free text to describe address.



42
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_address.rb', line 42

attribute :comment

#countryString?

Returns 2 letter country code (like FR).

Returns:

  • (String, nil)

    2 letter country code (like FR).



34
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_address.rb', line 34

attribute :country

#end_ipObject?

Returns Last ip in range (used only with type=iprange).

Returns:

  • (Object, nil)

    Last ip in range (used only with type=iprange).



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

attribute :end_ip

#interfaceString?

Returns interface name the address apply to.

Returns:

  • (String, nil)

    interface name the address apply to.



38
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_address.rb', line 38

attribute :interface

#nameString

Returns Name of the address to add or delete.

Returns:

  • (String)

    Name of the address to add or delete.



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

attribute :name

#start_ipObject?

Returns First ip in range (used only with type=iprange).

Returns:

  • (Object, nil)

    First ip in range (used only with type=iprange).



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

attribute :start_ip

#state:present, :absent

Returns Specifies if address need to be added or deleted.

Returns:

  • (:present, :absent)

    Specifies if address need to be added or deleted.



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

attribute :state

#type:iprange, ...

Returns Type of the address.

Returns:

  • (:iprange, :fqdn, :ipmask, :geography, nil)

    Type of the address.



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

attribute :type

#valueString?

Returns Address value, based on type. If type=fqdn, somthing like www.google.com. If type=ipmask, you can use simple ip (192.168.0.1), ip+mask (192.168.0.1 255.255.255.0) or CIDR (192.168.0.1/32).

Returns:

  • (String, nil)

    Address value, based on type. If type=fqdn, somthing like www.google.com. If type=ipmask, you can use simple ip (192.168.0.1), ip+mask (192.168.0.1 255.255.255.0) or CIDR (192.168.0.1/32).



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

attribute :value