Class: Ansible::Ruby::Modules::Fortios_address
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Fortios_address
- 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
-
#comment ⇒ String?
Free text to describe address.
-
#country ⇒ String?
2 letter country code (like FR).
-
#end_ip ⇒ Object?
Last ip in range (used only with type=iprange).
-
#interface ⇒ String?
Interface name the address apply to.
-
#name ⇒ String
Name of the address to add or delete.
-
#start_ip ⇒ Object?
First ip in range (used only with type=iprange).
-
#state ⇒ :present, :absent
Specifies if address need to be added or deleted.
-
#type ⇒ :iprange, ...
Type of the address.
-
#value ⇒ String?
Address value, based on type.
Methods inherited from Base
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
#comment ⇒ String?
Returns free text to describe address.
42 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_address.rb', line 42 attribute :comment |
#country ⇒ String?
Returns 2 letter country code (like FR).
34 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_address.rb', line 34 attribute :country |
#end_ip ⇒ Object?
Returns 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 |
#interface ⇒ String?
Returns interface name the address apply to.
38 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_address.rb', line 38 attribute :interface |
#name ⇒ String
Returns 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_ip ⇒ Object?
Returns 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.
12 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_address.rb', line 12 attribute :state |
#type ⇒ :iprange, ...
Returns Type of the address.
20 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_address.rb', line 20 attribute :type |
#value ⇒ String?
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).
24 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_address.rb', line 24 attribute :value |