Class: Ansible::Ruby::Modules::Fortios_ipv4_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Fortios_ipv4_policy
- Defined in:
- lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb
Overview
This module provides management of firewall IPv4 policies on FortiOS devices.
Instance Method Summary collapse
-
#application_list ⇒ Object?
Specifies Application Control name.
-
#av_profile ⇒ Object?
Specifies Antivirus profile name.
-
#comment ⇒ String?
Free text to describe policy.
-
#dst_addr ⇒ String?
Specifies destination address (or group) object name(s).
-
#dst_addr_negate ⇒ Symbol?
Negate destination address param.
-
#dst_intf ⇒ String?
Specifies destination interface name(s).
-
#fixedport ⇒ Symbol?
Use fixed port for nat.
-
#id ⇒ Integer
Policy ID.
-
#ips_sensor ⇒ Object?
Specifies IPS Sensor profile name.
-
#logtraffic ⇒ :disable, ...
Logs sessions that matched policy.
-
#logtraffic_start ⇒ Symbol?
Logs beginning of session as well.
-
#nat ⇒ Symbol?
Enable or disable Nat.
-
#policy_action ⇒ :accept, ...
Specifies accept or deny action policy.
-
#poolname ⇒ Object?
Specifies NAT pool name.
-
#schedule ⇒ String?
Defines policy schedule.
-
#service ⇒ String?
Specifies policy service(s), could be a list (ex: [‘MAIL’,‘DNS’]).
-
#service_negate ⇒ Symbol?
Negate policy service(s) defined in service value.
-
#src_addr ⇒ Array<String>, ...
Specifies source address (or group) object name(s).
-
#src_addr_negate ⇒ Symbol?
Negate source address param.
-
#src_intf ⇒ String?
Specifies source interface name(s).
-
#state ⇒ :present, ...
Specifies if policy I(id) need to be added or deleted.
-
#webfilter_profile ⇒ Object?
Specifies Webfilter profile name.
Methods inherited from Base
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
#application_list ⇒ Object?
Returns Specifies Application Control name.
80 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 80 attribute :application_list |
#av_profile ⇒ Object?
Returns Specifies Antivirus profile name.
71 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 71 attribute :av_profile |
#comment ⇒ String?
Returns free text to describe policy.
91 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 91 attribute :comment |
#dst_addr ⇒ String?
Returns Specifies destination address (or group) object name(s). Required when I(state=present).
36 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 36 attribute :dst_addr |
#dst_addr_negate ⇒ Symbol?
Returns Negate destination address param.
40 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 40 attribute :dst_addr_negate |
#dst_intf ⇒ String?
Returns Specifies destination interface name(s).
24 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 24 attribute :dst_intf |
#fixedport ⇒ Symbol?
Returns Use fixed port for nat.
64 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 64 attribute :fixedport |
#id ⇒ Integer
Returns Policy ID. Warning: policy ID number is different than Policy sequence number. The policy ID is the number assigned at policy creation. The sequence number represents the order in which the Fortigate will evaluate the rule for policy enforcement, and also the order in which rules are listed in the GUI and CLI. These two numbers do not necessarily correlate: this module is based off policy ID. TIP: policy ID can be viewed in the GUI by adding ‘ID’ to the display columns.
12 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 12 attribute :id |
#ips_sensor ⇒ Object?
Returns Specifies IPS Sensor profile name.
77 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 77 attribute :ips_sensor |
#logtraffic ⇒ :disable, ...
Returns Logs sessions that matched policy.
83 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 83 attribute :logtraffic |
#logtraffic_start ⇒ Symbol?
Returns Logs beginning of session as well.
87 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 87 attribute :logtraffic_start |
#nat ⇒ Symbol?
Returns Enable or disable Nat.
60 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 60 attribute :nat |
#policy_action ⇒ :accept, ...
Returns Specifies accept or deny action policy. Required when I(state=present).
44 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 44 attribute :policy_action |
#poolname ⇒ Object?
Returns Specifies NAT pool name.
68 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 68 attribute :poolname |
#schedule ⇒ String?
Returns defines policy schedule.
56 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 56 attribute :schedule |
#service ⇒ String?
Returns Specifies policy service(s), could be a list (ex: [‘MAIL’,‘DNS’]). Required when I(state=present).
48 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 48 attribute :service |
#service_negate ⇒ Symbol?
Returns Negate policy service(s) defined in service value.
52 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 52 attribute :service_negate |
#src_addr ⇒ Array<String>, ...
Returns Specifies source address (or group) object name(s). Required when I(state=present).
28 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 28 attribute :src_addr |
#src_addr_negate ⇒ Symbol?
Returns Negate source address param.
32 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 32 attribute :src_addr_negate |
#src_intf ⇒ String?
Returns Specifies source interface name(s).
20 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 20 attribute :src_intf |
#state ⇒ :present, ...
Returns Specifies if policy I(id) need to be added or deleted.
16 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 16 attribute :state |
#webfilter_profile ⇒ Object?
Returns Specifies Webfilter profile name.
74 |
# File 'lib/ansible/ruby/modules/generated/network/fortios/fortios_ipv4_policy.rb', line 74 attribute :webfilter_profile |